Skip to content

Commit

Permalink
hiding div to allow playing/showing the video (#3188)
Browse files Browse the repository at this point in the history
* hidding the div to allow playing/showing the video

* fixing a typo
  • Loading branch information
baloola authored and Tobia Di Pisa committed Sep 27, 2018
1 parent 6042cbd commit a7c9e66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/client/components/maps/modals/MetadataModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MetadataModal extends React.Component {
toolbar: [
[{ 'size': ['small', false, 'large', 'huge'] }, 'bold', 'italic', 'underline', 'blockquote'],
[{ 'list': 'bullet' }, { 'align': [] }],
[{ 'color': [] }, { 'background': [] }, 'clean'], ['image', 'link']
[{ 'color': [] }, { 'background': [] }, 'clean'], ['image', 'link', 'video']
]
},
options: {},
Expand Down
1 change: 1 addition & 0 deletions web/client/components/misc/quillmodules/ResizeModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@ module.exports = Quill => {
iframe.setAttribute('height', height);
let overlay = document.createElement('DIV');
overlay.setAttribute('class', 'ms-quill-iframe');
overlay.style.display = 'none';
overlay.style.overflow = 'hidden';
overlay.style.position = 'absolute';
overlay.style.left = '0';
Expand Down
2 changes: 1 addition & 1 deletion web/client/components/resources/modals/DetailSheet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = ({
toolbar: [
[{ 'size': ['small', false, 'large', 'huge'] }, 'bold', 'italic', 'underline', 'blockquote'],
[{ 'list': 'bullet' }, { 'align': [] }],
[{ 'color': [] }, { 'background': [] }, 'clean'], ['image', 'link']
[{ 'color': [] }, { 'background': [] }, 'clean'], ['image', 'link', 'video']
]
},
detailsText,
Expand Down

0 comments on commit a7c9e66

Please sign in to comment.