Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Try to pass esLint ckeditor#2
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroluxV2 committed Jan 21, 2020
1 parent 3428374 commit b497b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mediaembedediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ export default class MediaEmbedEditing extends Plugin {
html: match => {
return (
'<div style="position: relative; padding-bottom: 100%; height: 0;">' +
`<iframe src="https://www.facebook.com/plugins/video.php?show_text=false&href=` +
encodeURI(match[ 0 ]) +
'<iframe src="https://www.facebook.com/plugins/video.php?show_text=false&href=' +
encodeURI( match[ 0 ] ) +
'" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" ' +
'frameborder="0" width="480" height="270" allowfullscreen allow="autoplay">' +
'</iframe>' +
Expand Down

0 comments on commit b497b13

Please sign in to comment.