Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #59 from ckeditor/t/53
Browse files Browse the repository at this point in the history
Fix: Floated content and media widgets should not overlap. Closes #53.
  • Loading branch information
dkonopka committed Oct 26, 2018
2 parents 81e681c + 2eb0362 commit d3aa6e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mediaembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import MediaEmbedUI from './mediaembedui';
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import Widget from '@ckeditor/ckeditor5-widget/src/widget';

import '../theme/mediaembed.css';

/**
* The media embed plugin.
*
Expand Down
10 changes: 10 additions & 0 deletions theme/mediaembed.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

.ck-content .media {
/* Don't allow floated content overlap the media.
https://github.com/ckeditor/ckeditor5-media-embed/issues/53 */
clear: both;
}

0 comments on commit d3aa6e8

Please sign in to comment.