19.0.0 (2020-04-29)
Internal changes only (updated dependencies, documentation, etc.).
18.0.0 (2020-03-19)
- Updated translations. (c898ffc)
17.0.0 (2020-02-19)
- Introduced the concept of editor contexts and context plugins. Contexts provide a common, higher-level environment for solutions which use multiple editors and/or plugins that work outside an editor. Closes ckeditor/ckeditor5#5891. (672e55e)
- Added vertical alignment icons. Moved horizontal alignment icons form
@ckeditor/ckeditor5-alignment
(see ckeditor/ckeditor5-table#227). (ada4a79) - Introduced
Plugin#isEnabled
,Plugin#forceDisabled()
andPlugin#clearForceDisabled()
. (7449450)
- Updated translations. (6a2b584)
16.0.0 (2019-12-04)
- Updated translations. (6d8950e)
15.0.0 (2019-10-23)
- Added custom error handling to the
editor.execute()
method. Part of ckeditor/ckeditor5#1304. (c1babca) - Updated translations. (a7d36a8)
12.3.0 (2019-08-26)
- Allowed configuration of the editor content language via
conifg.language
. See ckeditor/ckeditor5#1151. (22079dd) - Introduced a
secureSourceElement()
utility that prevents from initialising more than one editor on the same DOM element. See ckeditor/ckeditor5#746. (6a59058)
- The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See ckeditor/ckeditor5#1988. (6d72325)
- Updated translations. (e29d56e)
12.2.1 (2019-07-10)
Internal changes only (updated dependencies, documentation, etc.).
12.2.0 (2019-07-04)
-
Added an editor instance reference to the native editable DOM element under the
ckeditorInstance
property. Closes ckeditor/ckeditor5#1838. (fa94600)Implemented the
EditorUI#setEditableElement()
method. Deprecated theEditorUI#_editableElements
property. -
Introduced
MultiCommand
which acts as a composite command – it can group multiple commands under the hood. (ebcbd01)
- Introduce the
editor-wrong-element
error thrown when the editor is created over a wrong element. Closes ckeditor/ckeditor5#1591. (9945fc6) - Updated translations. (43f5b6e)
12.1.1 (2019-06-05)
- Updated translations. (ed6bd3c)
12.1.0 (2019-04-10)
12.0.0 (2019-02-28)
- Fixed memory leaks during editor initialization and destruction. Created helpers for testing memory usage. Closes ckeditor/ckeditor5#1341. (11ca135)
- Editor UI classes API refactoring. See breaking changes. Closes ckeditor/ckeditor5#1449. (aca1ff1)
- Remove
editor#pluginsReady
event. Closes ckeditor/ckeditor5#1477. (6d63538) - The
Editor#getData()
method now acceptsoptions.trim
parameter. By default it will now return an empty string when the editor is empty (instead of returning'<p> </p>'
as before). (4f8abd1) - Throw an error from
editor.plugins.get()
if the plugin is not loaded. Closes #148. (a56b47a) - Updated translations. (4cf6f4f) (a8367a5) (0e09317)
- Upgraded minimal versions of Node to
8.0.0
and npm to5.7.1
. See: ckeditor/ckeditor5#1507. (612ea3c) - The
Editor#getData()
method now returns an empty string by default when editor content is empty (instead of returning'<p> </p>'
as before). - The
editor#pluginsReady
event was removed. Use pluginafterInit()
method instead. - Removed
EditorWithUI#element
property. TheEditorUI#element
property should be used instead. - Removed
EditorWithUI#uiReady
event. TheEditorUI#ready
event should be used instead. - Removed
view
parameter inEditorUI
constructor. Only subclasses should use it without passing it further toEditorUI
. - Removed
EditorUI#view
property. Theview
property from subclasses (likeClassicEditorUI#view
) should be used directly instead. - The
editor.plugins.get()
will now throw an error if the plugin is not loaded. Useeditor.plugins.has()
to check if plugin is available.
11.1.0 (2018-12-05)
- Improved SVG icons size. See ckeditor/ckeditor5-theme-lark#206. (c4795fb)
11.0.1 (2018-10-08)
- Updated translations. (873d193)
11.0.0 (2018-07-18)
- Added the observable
Editor#state
property. Closes #124. (ec89d8d) - Imported the module providing the
CKEDITOR_VERSION
global constant in theEditor
class (see ckeditor/ckeditor5#1005). (a1a9144) - Introduced the
#element
property to theEditorWithUI
interface. The#element
property from theElementApi
interface has been renamed to#sourceElement
. Most editors implement both interfaces, which ultimately means that the oldeditor.element
property is now callededitor.sourceElement
and there's a neweditor.element
property with a new meaning. Closes #64. (eb43b63) - Introduced the
EditorUI#update
event. Closes #130. (734166a)
- Editor#destroy waits for the initialization. Closes #134. (ad1da26)
- The
ClassicTestEditor
should not render its UI in theconstructor()
. Closes #137. (46fdc36)
- Refreshed the pilcrow icon (see ckeditor/ckeditor5-ui#394). (ce33acb)
- Split
Editor.build
intoEditor.builtinPlugins
andEditor.defaultConfig
. Closes #140. (c13ec79) - Updated translations. (ba21a12)
Editor.build
was split toEditor.builtinPlugins
andEditor.defaultConfig
.- The
editor.element
property was renamed toeditor.sourceElement
. - The
editor.updateElement()
method was renamed toeditor.updateSourceElement()
. - The
EditorUI
is now a class (no longer an interface).
10.1.0 (2018-06-21)
- Updated translations.
10.0.0 (2018-04-25)
- Changed the license to GPL2+ only. See ckeditor/ckeditor5#991. (0ccf614)
- The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See ckeditor/ckeditor5#991 for more information.
1.0.0-beta.4 (2018-04-19)
Internal changes only (updated dependencies, documentation, etc.).
1.0.0-beta.2 (2018-04-10)
- Made the check and cancel icons thicker and fill-friendly (see ckeditor/ckeditor5#810). (6584541)
1.0.0-beta.1 (2018-03-15)
- Moved
EditingController
,DataController
andEditingKeystrokeHandler
fromStandardEditor
to theEditor
class. Closes #110. (5a2031e) - Removed the
StandardEditor
class in favor ofDataInterface
andElementInterface
mixins. AddedEditorWithUI
interface. Closes #115. Closes #113. Closes ckeditor/ckeditor5#303. (fe81992) Command
should listen tomodel.Document#event:change
. (912570d)- Changed
config.lang
toconfig.language
to align to the naming convention. (8720973) - Removed
loadDataFromElement()
method fromElementApiMixin
. Closes #120. (4976e10)
- The
StandardEditor
class was removed. UseEditor
class withDataInterface
andElementInterface
mixins.
1.0.0-alpha.2 (2017-11-14)
- Updated translations. (1003fa4)
1.0.0-alpha.1 (2017-10-03)
- The
StandardEditor
should automatically update the contents of its source textarea upon submission of the form. Closes ckeditor/ckeditor5#544. (ce46fde)
0.9.0 (2017-09-03)
EditingKeystrokeHandler
should prevent default action only for commands. Closes #90. (82ff39a)ToggleAttributeCommand
should listen to reliable events in order to determine its state. Closes #50. (6816505)- SVG icons should not define own fill if controlled by the styles. Closes #79. (fadf5ec)
-
EditingKeystrokeHandler
should support priorities and proper cancelling. Closes #101. (c74b9a3) -
Editor#destroy()
will destroy all loaded plugins. Closes #86. (77e5217)Added default implementation for
Plugin#destroy()
. IntroducedPluginCollection#destroy()
method which callsPlugin#destroy()
for every loaded plugin. -
PluginCollection
will warn if the user wants to load two or more plugins with the same name. Closes #85. (e00a282) -
Introduced
Editor#isReadOnly
property which disables all commands and prevents from modifying the document. Closes #96. Closes ckeditor/ckeditor5#492. (1ca5608)
-
Bound
EditingController#isReadOnly
to the editor. Closes #98. (ec02906) -
Cleaned up SVG icons. (ffac7e7)
-
Introduced
PluginInterface
. A plugin doesn't need to inherit directly from thePlugin
class, as long as it implements some minimal interface. See #78. (f476f34) -
Removed
ToggleAttributeCommand
class as well as other helpers from thecore/command
namespace. Closes #14. (7c68581) -
The command API has been redesigned. The
Command
methods are now public and consistent. Commands can be used in a standalone mode (without the editor). TheCommandCollection
was introduced and replaced theMap
of commands used ineditor.commands
. Closes #88. (b76983b)Besides changes mentioned in this point and in the "Breaking changes" section, other minor changes were done:
Editor#execute()
now accepts multiple command arguments.Command#value
property was standardized.
- The
ToggleAttributeCommand
was moved to theckeditor5-basic-styles
package asAttributeCommand
and the other command helpers tockeditor5-engine
asSchema
methods. - The
Command
's protected_doExecute()
and_checkEnabled()
methods have been replaced by publicexecute()
andrefresh()
methods. - The
Command
'srefreshState
event was removed and one should usechange:isEnabled
in order to control and override its state. - The
core/command/command
module has been moved to the root directory (so theCommand
class iscore/command~Command
now). - The
Command#refresh()
method is now automatically called oneditor.document#changesDone
. - The
editor.commands
map was replaced by aCommandCollection
instance soeditor.commands.set()
calls need to be replaced witheditor.commands.add()
.
- Plugin naming convention has changed.
0.8.1 (2017-05-07)
- Updated translations. (993596a)
0.8.0 (2017-04-05)
- This time, we introduced support for
config.removePlugins
for real (we said that we did this in the previous release, but we didn't). Closes #49. (5834fed)
- Updated translations. (1296b03)
0.7.0 (2017-03-06)
- Added support for loading plugins by name and the
config.removePlugins
option. Closes #49. (dfee52e) - Added the "low-vision" icon. Closes #68. (4c3d306)
- Uploaded translations. (a39e84b)