New Features:
- #2598: Added the Page Break feature support for the Paste from Word plugin.
- #1490: Improved the Paste from Word plugin to retain table cell borders.
- #2870: Improved support for preserving the indentation of list items for nested lists pasted with the Paste from Wordplugin.
-
#2048: New
CKEDITOR.config.image2_maxSize
configuration option for the Enhanced Image plugin that allows setting a maximum size that an image can be resized to with the resizer. - #2639: The Color Dialog plugin now shows the current selection's color when opened.
- #2084: The Table Tools plugin now allows to change the cell height unit type to either pixels or percent.
- #3164: The Table Tools plugin now accepts floating point values as the table cell width and height.
Fixed Issues:
- #2672: Fixed: When resizing an Enhanced Image to a minimum size with the resizer, the image dialog does not show actual values.
-
#1478: Fixed: Custom colors added to Color Button with the
config.colorButton_colors
configuration option in the form of a label or code do not work correctly. - #1469: Fixed: Trying to get data from a nested editable inside a freshly pasted widget throws an error.
- #2235: Fixed: An Image in a table cell has an empty URL field when edited from the context menu opened by right-click when the Table Selection plugin is in use.
- #3098: Fixed: Unit pickers for table cell width and height in the Table Tools plugin have a different width.
-
#2923: Fixed: The CSS
windowtext
color is not correctly recognized by theCKEDITOR.tools.style.parse
methods. -
#3120: [IE8] Fixed: The
CKEDITOR.tools.extend()
method does not work with theDontEnum
object property attribute. -
#2813: Fixed: Editor HTML insertion methods (
editor.insertHtml()
,editor.insertHtmlIntoRange()
,editor.insertElement()
andeditor.insertElementIntoRange()
) pollute the editable with empty<span>
elements. -
#2751: Fixed: An editor with
config.enterMode
set toENTER_DIV
alters pasted content.
API Changes:
-
#1496: The Balloon Toolbar plugin exposes the
CKEDITOR.ui.balloonToolbar.reposition()
andCKEDITOR.ui.balloonToolbarView.reposition()
methods. -
#2021: Added new
CKEDITOR.dom.documentFragment.find()
andCKEDITOR.dom.documentFragment.findOne()
methods. -
#2700: Added the
CKEDITOR.tools.array.find()
method. -
#3123: Added the
CKEDITOR.tools.object.keys()
method. -
#3123: Added the
CKEDITOR.tools.object.entries()
method. -
#3123: Added the
CKEDITOR.tools.object.values()
method. -
#2821: The
CKEDITOR.template#source
property can now be a function, so it can return the changed template values during the runtime. Thanks to Jacek Pulit! -
#2598: Added the
CKEDITOR.plugins.pagebreak.createElement()
method allowing to create a Page Break pluginCKEDITOR.dom.element
instance. - #2748: Enhanced error messages thrown when creating an editor on a non-existent element or when trying to instantiate the second editor on the same element. Thanks to Byran Zaugg!
-
#2698: Added the
CKEDITOR.htmlParser.element.findOne()
method. -
#2935: Introduced the
CKEDITOR.config.pasteFromWord_keepZeroMargins
configuration option that allows for keeping anymargin-*: 0
style that would be otherwise removed when pasting content with the Paste from Wordplugin. -
#2962: Added the
CKEDITOR.tools.promise
class. -
#2924: Added the
CKEDITOR.tools.style.border
object wrapping CSS border style helpers under a single type. -
#2495: The Table Selection plugin can now be disabled for the given table with the
data-cke-tableselection-ignored
attribute. -
#2692: Plugins can now expose information about the supported environment by implementing the
pluginDefinition.isSupportedEnvironment()
method.
Other Changes:
-
#2741: Replaced deprecated
arguments.callee
calls with named function expressions to allow the editor to work in strict mode. -
#2924: Marked
CKEDITOR.tools.style.parse.border()
as deprecated in favor of theCKEDITOR.tools.style.border.fromCssRule()
method. -
#3132: Marked
CKEDITOR.tools.objectKeys()
as deprecated in favor of theCKEDITOR.tools.object.keys()
method.