|
@@ -5,28 +5,25 @@ Changelog
|
|
|
|
|
|
|
|
### Bug fixes
|
|
### 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))
|
|
|
|
|
|
|
+* Fixed memory leaks during editor initialization and destruction. 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
|
|
### 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))
|
|
|
|
|
|
|
+* Editor UI classes API refactoring. See breaking changes. 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))
|
|
* 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))
|
|
* 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))
|
|
|
|
|
|
|
+* Throw an error from `editor.plugins.get()` if 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)) ([a8367a5](https://github.com/ckeditor/ckeditor5-core/commit/a8367a5)) ([0e09317](https://github.com/ckeditor/ckeditor5-core/commit/0e09317))
|
|
|
|
|
|
|
|
### BREAKING CHANGES
|
|
### BREAKING CHANGES
|
|
|
|
|
|
|
|
|
|
+* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/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#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.
|
|
* 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 `EditorWithUI#element` property. The `EditorUI#element` property should be used instead.
|
|
|
|
|
+* Removed `EditorWithUI#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 `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.
|
|
|
|
|
|
|
+* Removed `EditorUI#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.
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
|