Changelog
CKEditor 4.19.1
Fixed Issues:
backspace
key removes the editor editable area and crashes the editor.checkbox.setValue
and radio.setValue
methods are not chainable as stated in the documentation. Thanks to Jordan Bradford!CKEDITOR.tools#convertToPx()
gives invalid results if the helper calculator element was deleted from the DOM.dialog.validate#functions
incorrectly composes functions that return an optional error message, like e.g. dialog.validate.number
due to unnecessary return type coercion.Enter
key.API changes:
config.editorplaceholder_delay
configuration option allowing to delay placeholder before it is toggled when changing editor content.CKEDITOR.tools#debounce()
function allowing to postpone a passed function execution until the given milliseconds have elapsed since the last time it was invoked.Changelog
CKEditor 4.19.0
New features:
CKEDITOR.replace
, CKEDITOR.inline
, CKEDITOR.appendTo
).config.shiftLineBreaks
allowing to preserve inline elements formatting when the shift
+enter
keystroke is used.config.applicationTitle
configuration option allowing to customize or disable the editor's application region label. This option, combined with config.title
, gives much better control over the editor's labels read by screen readers.Fixed Issues:
tab
key behavior is inconsistent after adding a new row.use strict
directives in a core editor module.jpg
, gif
, png
, not respecting supported types by the Upload Widget plugin.API changes:
CKEDITOR.replace
, CKEDITOR.inline
, CKEDITOR.appendTo
functions are now returning a handle function allowing to cancel the Delayed Editor Creation feature.config.applicationTitle
alongside CKEDITOR.editor#applicationTitle
to allow customizing editor's application region label.Changelog
CKEditor 4.18.0
Security Updates:
Fixed an XSS vulnerability in the core module reported by GitHub Security Lab team member Kevin Backhouse.
Issue summary: The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing a JavaScript code. See CVE-2022-24728 for more details.
Fixed a Regular expression Denial of Service (ReDoS) vulnerability in dialog plugin discovered by the CKEditor 4 team during our regular security audit.
Issue summary: The vulnerability allowed to abuse a dialog input validator regular expression, which could cause a significant performance drop resulting in a browser tab freeze. See CVE-2022-24729 for more details.
You can read more details in the relevant security advisory and contact us if you have more questions.
An upgrade is highly recommended!
Highlights:
Web Spell Checker ended support for WebSpellChecker Dialog on December 31st, 2021. This means the plugin is not supported any longer. Therefore, we decided to deprecate and remove the WebSpellChecker Dialog plugin from CKEditor 4 presets.
We strongly encourage everyone to choose one of the other available spellchecking solutions - Spell Check As You Type (SCAYT) or WProofreader.
Fixed issues:
CKEDITOR.tools.convertToPx()
.select
elements with multiple
attribute had incorrect styling. Thanks to John R. D'Orazio!Other changes:
CKEDITOR.rnd
property to discourage using it in a security-sensitive context.config.emoji_emojiListUrl
configuration option.Changelog
CKEditor 4.17.2
Fixed issues:
MutationObserver
used in IFrame Editing Area plugin causes memory leaks.API changes:
config.useComputedState
default value to true
. Thanks to Shabab Karim!CKEDITOR.appendTimestamp()
function was added.CKEDITOR.dom.document#appendStyleSheet()
and CKEDITOR.tools.buildStyleHtml()
now use the newly added CKEDITOR.appendTimestamp()
function to correctly handle caching of CSS files.Other changes:
Changelog
CKEditor 4.17.1
Highlights:
Due to a regression in CKEeditor 4.17.0 version that was only revealed after the release and affected a limited area of operation, CSS assets loaded via relative links started to point into invalid location when loaded from external resources.
We have therefore decided to immediately release CKEditor 4.17.1 that fixed this problem. If you have already upgraded to v4.17.0, make sure to upgrade to v4.17.1 to avoid this regression.
Fixed issues:
Changelog
CKEditor 4.16.2
Security Updates:
Fixed XSS vulnerability in the Clipboard plugin reported by Anton Subbotin.
Issue summary: The vulnerability allowed to abuse paste functionality using malformed HTML, which could result in injecting arbitrary HTML into the editor. See CVE-2021-32809 for more details.
Fixed XSS vulnerability in the Widget plugin reported by Anton Subbotin.
Issue summary: The vulnerability allowed to abuse undo functionality using malformed Widget HTML, which could result in executing JavaScript code. See CVE-2021-32808 for more details.
Fixed XSS vulnerability in the Fake Objects plugin reported by Mika Kulmala.
Issue summary: The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. See CVE-2021-37695 for more details.
You can read more details in the relevant security advisory and contact us if you have more questions.
An upgrade is highly recommended!
Fixed Issues:
character appears in the editor instead of a space.TypeError
is thrown when switching to Source View and back while Autocomplete plugin is enabled.Changelog
CKEditor 4.16.1
Fixed Issues:
div
Enter mode.false
is treated as an event cancellation.CKEDITOR.htmlParser
does not treat --!>
as a comment end tag correctly.Changelog
CKEditor 4.15.1
Security Updates:
Fixed XSS vulnerability in the Color History feature reported by Mark Wade.
Issue summary: It was possible to execute an XSS-type attack inside CKEditor 4 by persuading a victim to paste a specially crafted HTML code into the Color Button dialog.
An upgrade is highly recommended!
Fixed Issues:
CKEDITOR.inlineAll()
method tries to initialize inline editor also on elements with an editor already attached to them.CKEDITOR.domReady()
method connected with not removing load
event listeners. Thanks to rohit1!auto
or 0
value is used.0
on editor resize.API Changes:
stylesRemove
editor event.Other Changes:
stylesLoaded
variable. Thanks to Levi Carter!1.0.1
version: