diff --git a/CHANGES.md b/CHANGES.md index 06e223e482a..dddb5b97f5e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,8 @@ Fixed Issues: * [#1883](https://github.com/ckeditor/ckeditor4/issues/1883): Fixed: [`editor.resize`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-resize) method doesn't work with CSS units. * [#3926](https://github.com/ckeditor/ckeditor4/issues/3926): Fixed: Dragging and dropping [Widget](https://ckeditor.com/cke4/addon/widget) sometimes produces an error. * [#4008](https://github.com/ckeditor/ckeditor4/issues/4008): Fixed: [Remove Format](https://ckeditor.com/cke4/addon/removeformat) doesn't work with collapsed selection. +* [#909](https://github.com/ckeditor/ckeditor4/issues/909): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work when editor is placed in absolutely positioned container. Thanks to [Roland Petto](https://github.com/arpi68)! +* [#1959](https://github.com/ckeditor/ckeditor4/issues/1959): Fixed: [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin does not work in [maximized](https://ckeditor.com/cke4/addon/maximize) editor when [Div Editing Area](https://ckeditor.com/cke4/addon/divarea) feature enabled. Thanks to [Roland Petto](https://github.com/arpi68)! ## CKEditor 4.14 diff --git a/plugins/tableresize/plugin.js b/plugins/tableresize/plugin.js index 78f3693508f..1e549c1c2d4 100644 --- a/plugins/tableresize/plugin.js +++ b/plugins/tableresize/plugin.js @@ -286,7 +286,7 @@ resizer = CKEDITOR.dom.element.createFromHtml( '
', document ); + 'padding:0;background-color:#004;background-image:none;border:0px none;z-index:10000">', document ); // Clean DOM when editor is destroyed. editor.on( 'destroy', function() { diff --git a/tests/plugins/tableresize/manual/maximizeddivarea.html b/tests/plugins/tableresize/manual/maximizeddivarea.html new file mode 100644 index 00000000000..214473fae32 --- /dev/null +++ b/tests/plugins/tableresize/manual/maximizeddivarea.html @@ -0,0 +1,61 @@ +

Classic editor

+ +
+

Classic editor

+ + + + + + + + + + + + + + + + + + + + +
HeaderHeaderHeader
Headernot headernot headernot header
Headernot header
+
+ +

Divarea editor

+ +
+

Divarea editor

+ + + + + + + + + + + + + + + + + + + + +
HeaderHeaderHeader
Headernot headernot headernot header
Headernot header
+
+ + diff --git a/tests/plugins/tableresize/manual/maximizeddivarea.md b/tests/plugins/tableresize/manual/maximizeddivarea.md new file mode 100644 index 00000000000..818b58b4d20 --- /dev/null +++ b/tests/plugins/tableresize/manual/maximizeddivarea.md @@ -0,0 +1,17 @@ +@bender-ui: collapsed +@bender-tags: bug, 909, 1959, 4.14.1 +@bender-ckeditor-plugins: toolbar, wysiwygarea, sourcearea, divarea, tableresize, maximize + +*Repeat below steps in all editors.* + +1. Maximize editor by pressing maximize button. + +1. Try to resize table inside editor. + +### Expected + +It is possible to resize the table or any of its columns (using CKEditor 4 resizer). + +### Unexpected + +Not possible to resize the table (resize cursor is not visible). diff --git a/tests/plugins/tableresize/manual/maximizedinlinedivarea.html b/tests/plugins/tableresize/manual/maximizedinlinedivarea.html new file mode 100644 index 00000000000..39f0d647c3f --- /dev/null +++ b/tests/plugins/tableresize/manual/maximizedinlinedivarea.html @@ -0,0 +1,41 @@ + + +

Inline editor

+ +
+
+

Inline editor

+ + + + + + + + + + + + + + + + + + + + +
HeaderHeaderHeader
Headernot headernot headernot header
Headernot header
+
+
+ + diff --git a/tests/plugins/tableresize/manual/maximizedinlinedivarea.md b/tests/plugins/tableresize/manual/maximizedinlinedivarea.md new file mode 100644 index 00000000000..8143d8f734e --- /dev/null +++ b/tests/plugins/tableresize/manual/maximizedinlinedivarea.md @@ -0,0 +1,13 @@ +@bender-ui: collapsed +@bender-tags: bug, 909, 1959, 4.14.1 +@bender-ckeditor-plugins: toolbar, wysiwygarea, sourcearea, divarea, floatingspace, tableresize, maximize + +1. Try to resize table inside editor. + +### Expected + +It is possible to resize the table or any of its columns (using CKEditor 4 resizer). + +### Unexpected + +Not possible to resize the table (resize cursor is not visible).