|
@@ -1,6 +1,35 @@
|
|
|
Changelog
|
|
Changelog
|
|
|
=========
|
|
=========
|
|
|
|
|
|
|
|
|
|
+## [12.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v11.1.0...v12.0.0) (2019-02-28)
|
|
|
|
|
+
|
|
|
|
|
+### Bug fixes
|
|
|
|
|
+
|
|
|
|
|
+* There should be no memory leaks when the editor is created and destroyed. Created helpers for testing memory usage. Closes [ckeditor/ckeditor5#1341](https://github.com/ckeditor/ckeditor5/issues/1341). ([11ca135](https://github.com/ckeditor/ckeditor5-core/commit/11ca135))
|
|
|
|
|
+
|
|
|
|
|
+### Other changes
|
|
|
|
|
+
|
|
|
|
|
+* Align code to the latest changes in Conversion class API. ([1e8b7ac](https://github.com/ckeditor/ckeditor5-core/commit/1e8b7ac))
|
|
|
|
|
+* Editor UI classes API refactoring. Closes [ckeditor/ckeditor5#1449](https://github.com/ckeditor/ckeditor5/issues/1449). ([aca1ff1](https://github.com/ckeditor/ckeditor5-core/commit/aca1ff1))
|
|
|
|
|
+* Remove `editor#pluginsReady` event. Closes [ckeditor/ckeditor5#1477](https://github.com/ckeditor/ckeditor5/issues/1477). ([6d63538](https://github.com/ckeditor/ckeditor5-core/commit/6d63538))
|
|
|
|
|
+* The `Editor#getData()` method now accepts `options.trim` parameter. By default it will now return an empty string when the editor is empty (instead of returning `'<p> </p>'` as before). ([4f8abd1](https://github.com/ckeditor/ckeditor5-core/commit/4f8abd1))
|
|
|
|
|
+* Throw `editor.plugins.get()` error when the plugin is not loaded. Closes [#148](https://github.com/ckeditor/ckeditor5-core/issues/148). ([a56b47a](https://github.com/ckeditor/ckeditor5-core/commit/a56b47a))
|
|
|
|
|
+* Updated translations. ([4cf6f4f](https://github.com/ckeditor/ckeditor5-core/commit/4cf6f4f))
|
|
|
|
|
+* Updated translations. ([a8367a5](https://github.com/ckeditor/ckeditor5-core/commit/a8367a5))
|
|
|
|
|
+* Updated translations. ([0e09317](https://github.com/ckeditor/ckeditor5-core/commit/0e09317))
|
|
|
|
|
+* Upgraded minimal versions of Node and npm. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([8efe0b9](https://github.com/ckeditor/ckeditor5-core/commit/8efe0b9))
|
|
|
|
|
+
|
|
|
|
|
+### BREAKING CHANGES
|
|
|
|
|
+
|
|
|
|
|
+* 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 plugin `afterInit()` method instead.
|
|
|
|
|
+* Removed `EditroWithUI#element` property. The `EditorUI#element` property should be used instead.
|
|
|
|
|
+* Removed `EditroWithUI#uiReady` event. The `EditorUI#ready` event should be used instead.
|
|
|
|
|
+* Removed `view` parameter in `EditorUI` constructor. Only subclasses should use it without passing it further to `EditorUI`.
|
|
|
|
|
+* Removed `EditroUI#view` property. The `view` property from subclasses (like `ClassicEditorUI#view`) should be used directly instead.
|
|
|
|
|
+* The `editor.plugins.get()` will now throw an error if the plugin is not loaded. Use `editor.plugins.has()` to check if plugin is available.
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
## [11.1.0](https://github.com/ckeditor/ckeditor5-core/compare/v11.0.1...v11.1.0) (2018-12-05)
|
|
## [11.1.0](https://github.com/ckeditor/ckeditor5-core/compare/v11.0.1...v11.1.0) (2018-12-05)
|
|
|
|
|
|
|
|
### Features
|
|
### Features
|