Skip to content
Permalink
Browse files

Merge branch 't/13756'

  • Loading branch information...
mlewand committed Mar 14, 2016
2 parents 02f0ffb + 64b9f6e commit 7cd36b943f7c4f7ac5f5ea48241cbdb6eabe11d6
@@ -5,6 +5,7 @@ CKEditor 4 Changelog

Other Changes:

* [#13756](http://dev.ckeditor.com/ticket/13756): Fixed: Context menus are cut-off in Microsoft Edge.
* [#12707](http://dev.ckeditor.com/ticket/12707): Fixed: The order of table elements does not meet the HTML specification.

## CKEditor 4.5.7
@@ -270,8 +270,8 @@ CKEDITOR.plugins.add( 'floatpanel', {
target.removeStyle( 'width' );

if ( block.autoSize ) {
var panelDoc = block.element.getDocument();
var width = ( CKEDITOR.env.webkit ? block.element : panelDoc.getBody() ).$.scrollWidth;
var panelDoc = block.element.getDocument(),
width = ( ( CKEDITOR.env.webkit || CKEDITOR.env.edge ) ? block.element : panelDoc.getBody() ).$.scrollWidth;

// Account for extra height needed due to IE quirks box model bug:
// http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
@@ -0,0 +1,12 @@

<textarea cols="80" id="editor1" name="editor1" rows="10">
<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li>
</ul>
</textarea>

<script>
CKEDITOR.replace( 'editor1' );
</script>
@@ -0,0 +1,14 @@
@bender-tags: tc, 4.5.8, 13756
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea,toolbar,elementspath,list,liststyle,basicstyles,contextmenu

1. Open context menu inside any of list items (e.g. with a right mouse click).

### Expected

The panel layout is correct.

### Unexpected

Panel is cropped.

0 comments on commit 7cd36b9

Please sign in to comment.
You can’t perform that action at this time.