8
0

CHANGELOG.md 12 KB

Changelog

11.0.1 (2018-10-08)

Other changes

11.0.0 (2018-07-18)

Features

  • Added the observable Editor#state property. Closes #124. (ec89d8d)
  • Imported the module providing the CKEDITOR_VERSION global constant in the Editor class (see ckeditor/ckeditor5#1005). (a1a9144)
  • Introduced the #element property to the EditorWithUI interface. The #element property from the ElementApi interface has been renamed to #sourceElement. Most editors implement both interfaces, which ultimately means that the old editor.element property is now called editor.sourceElement and there's a new editor.element property with a new meaning. Closes #64. (eb43b63)
  • Introduced the EditorUI#update event. Closes #130. (734166a)

Bug fixes

  • Editor#destroy waits for the initialization. Closes #134. (ad1da26)
  • The ClassicTestEditor should not render its UI in the constructor(). Closes #137. (46fdc36)

Other changes

BREAKING CHANGES

  • Editor.build was split to Editor.builtinPlugins and Editor.defaultConfig.
  • The editor.element property was renamed to editor.sourceElement.
  • The editor.updateElement() method was renamed to editor.updateSourceElement().
  • The EditorUI is now a class (no longer an interface).

10.1.0 (2018-06-21)

Features

  • Introduced PendingActions plugin. Closes #126. (e1af648)

Other changes

  • Updated translations.

10.0.0 (2018-04-25)

Other changes

BREAKING CHANGES

  • 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)

Other changes

1.0.0-beta.1 (2018-03-15)

Other changes

  • Moved EditingController, DataController and EditingKeystrokeHandler from StandardEditor to the Editor class. Closes #110. (5a2031e)
  • Removed the StandardEditor class in favor of DataInterface and ElementInterface mixins. Added EditorWithUI interface. Closes #115. Closes #113. Closes https://github.com/ckeditor/ckeditor5/issues/303. (fe81992)
  • Command should listen to model.Document#event:change. (912570d)
  • Changed config.lang to config.language to align to the naming convention. (8720973)
  • Removed loadDataFromElement() method from ElementApiMixin. Closes #120. (4976e10)

BREAKING CHANGES

  • The StandardEditor class was removed. Use Editor class with DataInterface and ElementInterface mixins.

1.0.0-alpha.2 (2017-11-14)

Other changes

1.0.0-alpha.1 (2017-10-03)

Features

0.9.0 (2017-09-03)

Bug fixes

  • 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)

Features

  • 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(). Introduced PluginCollection#destroy() method which calls Plugin#destroy() for every loaded plugin.

Other changes

  • 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 the Plugin class, as long as it implements some minimal interface. See #78. (f476f34)
  • Removed ToggleAttributeCommand class as well as other helpers from the core/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). The CommandCollection was introduced and replaced the Map of commands used in editor.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.

BREAKING CHANGES

  • The ToggleAttributeCommand was moved to the ckeditor5-basic-styles package as AttributeCommand and the other command helpers to ckeditor5-engine as Schema methods.
  • The Command's protected _doExecute() and _checkEnabled() methods have been replaced by public execute() and refresh() methods.
  • The Command's refreshState event was removed and one should use change:isEnabled in order to control and override its state.
  • The core/command/command module has been moved to the root directory (so the Command class is core/command~Command now).
  • The Command#refresh() method is now automatically called on editor.document#changesDone.
  • The editor.commands map was replaced by a CommandCollection instance so editor.commands.set() calls need to be replaced with editor.commands.add().

NOTE

  • Plugin naming convention has changed.

0.8.1 (2017-05-07)

Other changes

0.8.0 (2017-04-05)

Bug fixes

  • 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)

Features

  • Added support for building plugins and default configs into Editor classes. Closes #67. (a1fa64f)

Other changes

0.7.0 (2017-03-06)

Features

  • Added support for loading plugins by name and the config.removePlugins option. Closes #49. (dfee52e)
  • Added the "low-vision" icon. Closes #68. (4c3d306)

Other changes