ckeditor-dev
Advanced tools
Changelog
CKEditor 4.9.1
Fixed Issues:
New Features:
config.fileTools_requestHeaders
configuration option.CKEDITOR.config.startupFocus
as start
or end
to specify where the editor focus should be after the initialization.data-cke-magic-line="1"
attribute.Fixed Issues:
contextDefinition.cssSelector
matcher.change
event.config.forcePasteAsPlainText
option.border
shorthand property was incorrectly expanded ignoring the border-color
style.API Changes:
pluginDefinition.init()
method of the requiring plugin.Other Changes:
scayt_minWordLength
configuration option now defaults to 3 instead of 4.localStorage
is disabled.Unable to get property type of undefined or null reference
error in the browser console when SCAYT is disabled/enabled.You already have the dictionary
error.'
on the replacement make the WSC dialog inaccessible.Uncaught TypeError
error in the browser console.Important Notes:
config.imageUploadUrl
property.New Features:
#
) if needed. It ensures a valid Hex color value is used when setting the table cell border or background color with the Color Dialog window.CKEDITOR.tools.keystrokeToArray()
method. It converts a keystroke into its string representation, returning every key name as a separate array element.CKEDITOR.tools.object.merge()
method. It allows to merge two objects, returning the new object with all properties from both objects deeply cloned.CKEDITOR.tools.array.every()
method. It invokes a given test function on every array element and returns true
if all elements pass the test.Fixed Issues:
CKEDITOR.focusManager.focus()
API documentation. Thanks to benjy!config.colorButton_colors
option are not correctly highlighted in the Color Button Text Color or Background Color panel.upcast
methods are called for every element.uploadWidgetDefinition
.config.skin
is loaded using a custom path.API Changes:
upcast
methods are now called in the widget definition's context.show
option in the balloonPanel.attach()
method, allowing to attach a hidden Balloon Panel instance.skipNotifications
option to the CKEDITOR.fileTools.uploadWidgetDefinition
, allowing to switch off default notifications displayed by upload widgets.Other Changes:
Changelog
CKEditor 4.7.3
New Features:
CKEDITOR.filter.disallowedContent
property.Fixed Issues:
change
event not fired when typing the first character after pasting into the editor. Thanks to Daniel Miller!border
shorthand property with zero width (border: 0px solid #000;
) causes the table to have the border attribute set to 1.CKEDITOR.config.enterMode
is set to CKEDITOR.ENTER_BR
.Other Changes:
CKEDITOR.dom.selection.isCollapsed()
method which is a simpler way to check if the selection is collapsed.CKEDITOR.dialogCommand
.Changelog
CKEditor 4.7.2
New Features:
Fixed Issues:
Uncaught TypeError: element.is is not a function
error.cke_table-faked-selection-table
class is visible in the Stylesheet Classes field of the Table Properties dialog.range.cloneContents()
method selects the whole element when the selection starts at the beginning of that element.range.extractContents()
method returns an incorrect result when multiple nodes are selected.elementPath.contains()
method incorrectly excludes the last element instead of root when the fromTop
parameter is set to true
.Other Changes:
CKEDITOR.dom.nodeList.toArray()
method which returns an array representation of a node list.Changelog
CKEditor 4.7.1
New Features:
Fixed Issues:
editor.getCommandKeystroke()
method does not obtain the correct keystroke.CKEDITOR.filter
incorrectly transforms the margin
CSS property.Important Notes:
embed_provider
configuration option for the Media Embed and Semantic Media Embed plugins is no longer preset by default.YUI 2.7.0
library which has some known vulnerabilities (it's a security precaution, there was no security issue in CKEditor due to the way it was used).New Features:
CKEDITOR.template
removed. CKEditor can now be used without the unsafe-eval
Content Security Policy. Thanks to Caridy Patiño!background
property containing also other styles for table cells in the Table Tools plugin.config.enableContextMenu
configuration option for enabling and disabling the context menu.command
parameter in CKEDITOR.editor.getCommandKeystroke()
now also accepts a command name as an argument.CKEDITOR.dom.range.shrink()
method now allows for skipping bogus <br>
elements.Fixed Issues:
<span>
elements with height
style stacked when pasting from Word.<div>
elements with a <div>
.CKEDITOR.getCss()
API documentation. Thanks to knusperpixel!src
/srcdoc
attributes of the <iframe>
element in a CKEditor setup with ACF turned off and without the Iframe Dialog plugin. The issue was originally reported as a security issue by Sriramk21 from Pegasystems and was later downgraded by the security team into a normal issue due to the requirement of having ACF turned off. Disabling Advanced Content Filter is against security best practices, so the problem described above has not been considered a security issue as such.Other Changes:
cdn.mathjax.org
to cdnjs, due to closing of cdn.mathjax.org
scheduled for April 30, 2017.Changelog
CKEditor 4.6.2
New Features:
config.colorButton_colorsPerRow
configuration option for setting the number of rows in the color selector.Fixed Issues:
config.pasteFromWord_heuristicsEdgeList
configuration option.element.setSize()
sets incorrect editor dimensions if the border width is represented as a fraction of pixels.<div>
-based editor.Changelog
CKEditor 4.6.1
New Features:
callback
parameter in the CKEDITOR.ajax.post()
method became optional.Fixed Issues:
background
property if it only contains a color value. This fixes missing background colors when using Paste from Word.New Features:
config.pasteFromWordRemoveFontStyles
option now defaults to false
. This option will be deprecated in the future. Use Advanced Content Filter to replicate the effect of setting it to true
.config.pasteFromWordNumberedHeadingToList
and config.pasteFromWordRemoveStyles
options were dropped and no longer have any effect on pasted content.uploaded.width/height
if set.download
attribute in link (<a>
) elements. Selecting the "Force Download" checkbox in the Link dialog will cause the linked file to be downloaded automatically. Thanks to sbusse!additionalRequestParameters
property for file uploads to make it possible to send additional information about the uploaded file to the server.config.image2_altRequired
option for the Enhanced Image plugin to allow making alternative text a mandatory field. Thanks to Andrey Fedoseev!Fixed Issues:
mso-list: ignore
style is not handled properly when pasting from Word.<li>
element after pasting from Word.<span>
elements in Paste from Word content cleanup breaking content formatting.config.enterMode
set to CKEDITOR.ENTER_BR
.color:windowtext
style.config.pasteFromWordRemoveFontStyles
is ignored under certain conditions.Other Changes:
<div>
element.