@ckeditor/ckeditor5-core 29.2.0 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/lang/contexts.json +1 -1
- package/lang/translations/af.po +2 -2
- package/lang/translations/ar.po +2 -2
- package/lang/translations/ast.po +2 -2
- package/lang/translations/az.po +2 -2
- package/lang/translations/bg.po +2 -2
- package/lang/translations/bs.po +41 -0
- package/lang/translations/ca.po +2 -2
- package/lang/translations/cs.po +3 -3
- package/lang/translations/da.po +3 -3
- package/lang/translations/de-ch.po +2 -2
- package/lang/translations/de.po +2 -2
- package/lang/translations/el.po +2 -2
- package/lang/translations/en-au.po +2 -2
- package/lang/translations/en-gb.po +2 -2
- package/lang/translations/en.po +2 -2
- package/lang/translations/eo.po +2 -2
- package/lang/translations/es.po +2 -2
- package/lang/translations/et.po +2 -2
- package/lang/translations/eu.po +2 -2
- package/lang/translations/fa.po +3 -3
- package/lang/translations/fi.po +2 -2
- package/lang/translations/fr.po +2 -2
- package/lang/translations/gl.po +2 -2
- package/lang/translations/he.po +3 -3
- package/lang/translations/hi.po +2 -2
- package/lang/translations/hr.po +2 -2
- package/lang/translations/hu.po +2 -2
- package/lang/translations/id.po +2 -2
- package/lang/translations/it.po +2 -2
- package/lang/translations/ja.po +2 -2
- package/lang/translations/km.po +2 -2
- package/lang/translations/kn.po +2 -2
- package/lang/translations/ko.po +3 -3
- package/lang/translations/ku.po +2 -2
- package/lang/translations/lt.po +2 -2
- package/lang/translations/lv.po +2 -2
- package/lang/translations/nb.po +2 -2
- package/lang/translations/ne.po +3 -3
- package/lang/translations/nl.po +4 -4
- package/lang/translations/no.po +3 -3
- package/lang/translations/oc.po +2 -2
- package/lang/translations/pl.po +2 -2
- package/lang/translations/pt-br.po +3 -3
- package/lang/translations/pt.po +2 -2
- package/lang/translations/ro.po +2 -2
- package/lang/translations/ru.po +2 -2
- package/lang/translations/sk.po +3 -3
- package/lang/translations/sl.po +2 -2
- package/lang/translations/sq.po +2 -2
- package/lang/translations/sr-latn.po +3 -3
- package/lang/translations/sr.po +3 -3
- package/lang/translations/sv.po +2 -2
- package/lang/translations/th.po +2 -2
- package/lang/translations/tk.po +3 -3
- package/lang/translations/tr.po +2 -2
- package/lang/translations/tt.po +2 -2
- package/lang/translations/ug.po +2 -2
- package/lang/translations/uk.po +2 -2
- package/lang/translations/uz.po +41 -0
- package/lang/translations/vi.po +2 -2
- package/lang/translations/zh-cn.po +3 -3
- package/lang/translations/zh.po +3 -3
- package/package.json +18 -18
- package/src/command.js +19 -3
- package/src/commandcollection.js +1 -1
- package/src/context.js +1 -1
- package/src/contextplugin.js +1 -1
- package/src/editingkeystrokehandler.js +1 -1
- package/src/editor/editor.js +7 -3
- package/src/editor/editorconfig.jsdoc +33 -7
- package/src/editor/editorui.js +85 -3
- package/src/editor/editorwithui.jsdoc +1 -1
- package/src/editor/utils/attachtoform.js +1 -1
- package/src/editor/utils/dataapimixin.js +1 -1
- package/src/editor/utils/elementapimixin.js +1 -1
- package/src/editor/utils/securesourceelement.js +1 -1
- package/src/index.js +1 -1
- package/src/multicommand.js +1 -1
- package/src/pendingactions.js +1 -1
- package/src/plugin.js +1 -1
- package/src/plugincollection.js +1 -1
- package/CHANGELOG.md +0 -311
package/src/editor/editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -52,6 +52,9 @@ export default class Editor {
|
|
|
52
52
|
* @param {Object} [config={}] The editor configuration.
|
|
53
53
|
*/
|
|
54
54
|
constructor( config = {} ) {
|
|
55
|
+
// Prefer the language passed as the argument to the constructor instead of the constructor's `defaultConfig`, if both are set.
|
|
56
|
+
const language = config.language || ( this.constructor.defaultConfig && this.constructor.defaultConfig.language );
|
|
57
|
+
|
|
55
58
|
/**
|
|
56
59
|
* The editor context.
|
|
57
60
|
* When it is not provided through the configuration, the editor creates it.
|
|
@@ -59,7 +62,7 @@ export default class Editor {
|
|
|
59
62
|
* @protected
|
|
60
63
|
* @type {module:core/context~Context}
|
|
61
64
|
*/
|
|
62
|
-
this._context = config.context || new Context( { language
|
|
65
|
+
this._context = config.context || new Context( { language } );
|
|
63
66
|
this._context._addEditor( this, !config.context );
|
|
64
67
|
|
|
65
68
|
// Clone the plugins to make sure that the plugin array will not be shared
|
|
@@ -357,7 +360,8 @@ mix( Editor, ObservableMixin );
|
|
|
357
360
|
/**
|
|
358
361
|
* This error is thrown when trying to pass a `<textarea>` element to a `create()` function of an editor class.
|
|
359
362
|
*
|
|
360
|
-
* The only editor type which can be initialized on `<textarea>` elements is
|
|
363
|
+
* The only editor type which can be initialized on `<textarea>` elements is
|
|
364
|
+
* the {@glink builds/guides/predefined-builds/overview#classic-editor classic editor}.
|
|
361
365
|
* This editor hides the passed element and inserts its own UI next to it. Other types of editors reuse the passed element as their root
|
|
362
366
|
* editable element and therefore `<textarea>` is not appropriate for them. Use a `<div>` or another text container instead:
|
|
363
367
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
/**
|
|
63
63
|
* The list of plugins to load.
|
|
64
64
|
*
|
|
65
|
-
* If you use an {@glink builds/guides/overview editor build} you can define the list of plugins to load
|
|
65
|
+
* If you use an {@glink builds/guides/predefined-builds/overview editor build} you can define the list of plugins to load
|
|
66
66
|
* using the names of plugins that are available:
|
|
67
67
|
*
|
|
68
68
|
* const config = {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* The list of additional plugins to load along those already available in the
|
|
97
|
-
* {@glink builds/guides/overview editor build}. It extends the {@link #plugins `plugins`} configuration.
|
|
97
|
+
* {@glink builds/guides/predefined-builds/overview editor build}. It extends the {@link #plugins `plugins`} configuration.
|
|
98
98
|
*
|
|
99
99
|
* function MyPlugin( editor ) {
|
|
100
100
|
* // ...
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
*/
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* The list of plugins which should not be loaded despite being available in an {@glink builds/guides/overview editor build}.
|
|
118
|
+
* The list of plugins which should not be loaded despite being available in an {@glink builds/guides/predefined-builds/overview editor build}.
|
|
119
119
|
*
|
|
120
120
|
* const config = {
|
|
121
121
|
* removePlugins: [ 'Bold', 'Italic' ]
|
|
@@ -144,8 +144,6 @@
|
|
|
144
144
|
* toolbar: {
|
|
145
145
|
* items: [ 'bold', 'italic', '|', 'undo', 'redo', '-', 'numberedList', 'bulletedList' ],
|
|
146
146
|
*
|
|
147
|
-
* viewportTopOffset: 30,
|
|
148
|
-
*
|
|
149
147
|
* shouldNotGroupWhenFull: true
|
|
150
148
|
* }
|
|
151
149
|
* };
|
|
@@ -167,9 +165,12 @@
|
|
|
167
165
|
*
|
|
168
166
|
* Line break will work only in the extended format when `shouldNotGroupWhenFull` option is set to `true`.
|
|
169
167
|
*
|
|
170
|
-
* * **`toolbar.viewportTopOffset
|
|
168
|
+
* * **`toolbar.viewportTopOffset` (deprecated)** – The offset (in pixels) from the top of the viewport used when positioning a sticky toolbar.
|
|
171
169
|
* Useful when a page with which the editor is being integrated has some other sticky or fixed elements
|
|
172
170
|
* (e.g. the top menu). Thanks to setting the toolbar offset the toolbar will not be positioned underneath or above the page's UI.
|
|
171
|
+
*
|
|
172
|
+
* **This property has been deprecated and will be removed in the future versions of CKEditor. Please use `{@link module:core/editor/editorconfig~EditorConfig#ui EditorConfig#ui.viewportOffset}` instead.**
|
|
173
|
+
*
|
|
173
174
|
* * **`toolbar.shouldNotGroupWhenFull`** – When set to `true`, the toolbar will stop grouping items
|
|
174
175
|
* and let them wrap to the next line if there is not enough space to display them in a single row.
|
|
175
176
|
*
|
|
@@ -297,3 +298,28 @@
|
|
|
297
298
|
*
|
|
298
299
|
* @member {String} module:core/editor/editorconfig~EditorConfig#placeholder
|
|
299
300
|
*/
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The editor UI configuration.
|
|
304
|
+
*
|
|
305
|
+
* ClassicEditor
|
|
306
|
+
* .create( document.querySelector( '#editor' ), {
|
|
307
|
+
* ui: { ... }
|
|
308
|
+
* } )
|
|
309
|
+
* .then( ... )
|
|
310
|
+
* .catch( ... );
|
|
311
|
+
*
|
|
312
|
+
* Options which can be set using the UI config:
|
|
313
|
+
*
|
|
314
|
+
* * **`ui.viewportOffset`** – The offset (in pixels) of the viewport from every direction used when positioning a sticky toolbar or other absolutely positioned UI elements.
|
|
315
|
+
* Useful when a page with which the editor is being integrated has some other sticky or fixed elements
|
|
316
|
+
* (e.g. the top menu). Thanks to setting the UI viewport offset the toolbar and other contextual balloons will not be positioned underneath or above the page's UI.
|
|
317
|
+
*
|
|
318
|
+
* ui: {
|
|
319
|
+
* viewportOffset: { top: 10, right: 10, bottom: 10, left: 10 }
|
|
320
|
+
* }
|
|
321
|
+
*
|
|
322
|
+
* **Note:** If you want to modify the viewport offset in runtime (after editor was created), you can do that by overriding {@link module:core/editor/editorui~EditorUI#viewportOffset `editor.ui.viewportOffset`}.
|
|
323
|
+
*
|
|
324
|
+
* @member {Object} module:core/editor/editorconfig~EditorConfig#ui
|
|
325
|
+
*/
|
package/src/editor/editorui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import ComponentFactory from '@ckeditor/ckeditor5-ui/src/componentfactory';
|
|
13
13
|
import FocusTracker from '@ckeditor/ckeditor5-utils/src/focustracker';
|
|
14
14
|
|
|
15
|
-
import
|
|
15
|
+
import ObservableMixin from '@ckeditor/ckeditor5-utils/src/observablemixin';
|
|
16
16
|
import mix from '@ckeditor/ckeditor5-utils/src/mix';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -53,6 +53,39 @@ export default class EditorUI {
|
|
|
53
53
|
*/
|
|
54
54
|
this.focusTracker = new FocusTracker();
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* Stores viewport offsets from every direction.
|
|
58
|
+
*
|
|
59
|
+
* Viewport offset can be used to constrain balloons or other UI elements into an element smaller than the viewport.
|
|
60
|
+
* This can be useful if there are any other absolutely positioned elements that may interfere with editor UI.
|
|
61
|
+
*
|
|
62
|
+
* Example `editor.ui.viewportOffset` returns:
|
|
63
|
+
*
|
|
64
|
+
* ```js
|
|
65
|
+
* {
|
|
66
|
+
* top: 50,
|
|
67
|
+
* right: 50,
|
|
68
|
+
* bottom: 50,
|
|
69
|
+
* left: 50
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* This property can be overriden after editor already being initialized:
|
|
74
|
+
*
|
|
75
|
+
* ```js
|
|
76
|
+
* editor.ui.viewportOffset = {
|
|
77
|
+
* top: 100,
|
|
78
|
+
* right: 0,
|
|
79
|
+
* bottom: 0,
|
|
80
|
+
* left: 0
|
|
81
|
+
* };
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* @observable
|
|
85
|
+
* @member {Object} #viewportOffset
|
|
86
|
+
*/
|
|
87
|
+
this.set( 'viewportOffset', this._readViewportOffsetFromConfig() );
|
|
88
|
+
|
|
56
89
|
/**
|
|
57
90
|
* Stores all editable elements used by the editor instance.
|
|
58
91
|
*
|
|
@@ -172,6 +205,55 @@ export default class EditorUI {
|
|
|
172
205
|
return this._editableElementsMap;
|
|
173
206
|
}
|
|
174
207
|
|
|
208
|
+
/**
|
|
209
|
+
* Returns viewport offsets object:
|
|
210
|
+
*
|
|
211
|
+
* ```js
|
|
212
|
+
* {
|
|
213
|
+
* top: Number,
|
|
214
|
+
* right: Number,
|
|
215
|
+
* bottom: Number,
|
|
216
|
+
* left: Number
|
|
217
|
+
* }
|
|
218
|
+
* ```
|
|
219
|
+
*
|
|
220
|
+
* Only top property is currently supported.
|
|
221
|
+
*
|
|
222
|
+
* @private
|
|
223
|
+
* @return {Object}
|
|
224
|
+
*/
|
|
225
|
+
_readViewportOffsetFromConfig() {
|
|
226
|
+
const editor = this.editor;
|
|
227
|
+
const viewportOffsetConfig = editor.config.get( 'ui.viewportOffset' );
|
|
228
|
+
|
|
229
|
+
if ( viewportOffsetConfig ) {
|
|
230
|
+
return viewportOffsetConfig;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
const legacyOffsetConfig = editor.config.get( 'toolbar.viewportTopOffset' );
|
|
234
|
+
|
|
235
|
+
// Fall back to deprecated toolbar config.
|
|
236
|
+
if ( legacyOffsetConfig ) {
|
|
237
|
+
/**
|
|
238
|
+
* The {@link module:core/editor/editorconfig~EditorConfig#toolbar `EditorConfig#toolbar.viewportTopOffset`}
|
|
239
|
+
* property has been deprecated and will be removed in the near future. Please use
|
|
240
|
+
* {@link module:core/editor/editorconfig~EditorConfig#ui `EditorConfig#ui.viewportOffset`} instead.
|
|
241
|
+
*
|
|
242
|
+
* @error editor-ui-deprecated-viewport-offset-config
|
|
243
|
+
*/
|
|
244
|
+
console.warn(
|
|
245
|
+
'editor-ui-deprecated-viewport-offset-config: ' +
|
|
246
|
+
'The `toolbar.vieportTopOffset` configuration option is deprecated. ' +
|
|
247
|
+
'It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead.'
|
|
248
|
+
);
|
|
249
|
+
|
|
250
|
+
return { top: legacyOffsetConfig };
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// More keys to come in the future.
|
|
254
|
+
return { top: 0 };
|
|
255
|
+
}
|
|
256
|
+
|
|
175
257
|
/**
|
|
176
258
|
* Fired when the editor UI is ready.
|
|
177
259
|
*
|
|
@@ -190,4 +272,4 @@ export default class EditorUI {
|
|
|
190
272
|
*/
|
|
191
273
|
}
|
|
192
274
|
|
|
193
|
-
mix( EditorUI,
|
|
275
|
+
mix( EditorUI, ObservableMixin );
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/multicommand.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/pendingactions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/src/plugincollection.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
|
package/CHANGELOG.md
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
Changelog
|
|
2
|
-
=========
|
|
3
|
-
|
|
4
|
-
All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
|
5
|
-
|
|
6
|
-
Changes for the past releases are available below.
|
|
7
|
-
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v18.0.0...v19.0.0) (2020-04-29)
|
|
9
|
-
|
|
10
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v17.0.0...v18.0.0) (2020-03-19)
|
|
14
|
-
|
|
15
|
-
### Other changes
|
|
16
|
-
|
|
17
|
-
* Updated translations. ([c898ffc](https://github.com/ckeditor/ckeditor5-core/commit/c898ffc))
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v16.0.0...v17.0.0) (2020-02-19)
|
|
21
|
-
|
|
22
|
-
### Features
|
|
23
|
-
|
|
24
|
-
* 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](https://github.com/ckeditor/ckeditor5/issues/5891). ([672e55e](https://github.com/ckeditor/ckeditor5-core/commit/672e55e))
|
|
25
|
-
* Added vertical alignment icons. Moved horizontal alignment icons form `@ckeditor/ckeditor5-alignment` (see [ckeditor/ckeditor5-table#227](https://github.com/ckeditor/ckeditor5-table/issues/227)). ([ada4a79](https://github.com/ckeditor/ckeditor5-core/commit/ada4a79))
|
|
26
|
-
* Introduced `Plugin#isEnabled`, `Plugin#forceDisabled()` and `Plugin#clearForceDisabled()`. ([7449450](https://github.com/ckeditor/ckeditor5-core/commit/7449450))
|
|
27
|
-
|
|
28
|
-
### Other changes
|
|
29
|
-
|
|
30
|
-
* Updated translations. ([6a2b584](https://github.com/ckeditor/ckeditor5-core/commit/6a2b584))
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v15.0.0...v16.0.0) (2019-12-04)
|
|
34
|
-
|
|
35
|
-
### Other changes
|
|
36
|
-
|
|
37
|
-
* Updated translations. ([6d8950e](https://github.com/ckeditor/ckeditor5-core/commit/6d8950e))
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v12.3.0...v15.0.0) (2019-10-23)
|
|
41
|
-
|
|
42
|
-
### Other changes
|
|
43
|
-
|
|
44
|
-
* Added custom error handling to the `editor.execute()` method. Part of [ckeditor/ckeditor5#1304](https://github.com/ckeditor/ckeditor5/issues/1304). ([c1babca](https://github.com/ckeditor/ckeditor5-core/commit/c1babca))
|
|
45
|
-
* Updated translations. ([a7d36a8](https://github.com/ckeditor/ckeditor5-core/commit/a7d36a8))
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## [12.3.0](https://github.com/ckeditor/ckeditor5-core/compare/v12.2.1...v12.3.0) (2019-08-26)
|
|
49
|
-
|
|
50
|
-
### Features
|
|
51
|
-
|
|
52
|
-
* Allowed configuration of the editor content language via `conifg.language`. See [ckeditor/ckeditor5#1151](https://github.com/ckeditor/ckeditor5/issues/1151). ([22079dd](https://github.com/ckeditor/ckeditor5-core/commit/22079dd))
|
|
53
|
-
* Introduced a `secureSourceElement()` utility that prevents from initialising more than one editor on the same DOM element. See [ckeditor/ckeditor5#746](https://github.com/ckeditor/ckeditor5/issues/746). ([6a59058](https://github.com/ckeditor/ckeditor5-core/commit/6a59058))
|
|
54
|
-
|
|
55
|
-
### Other changes
|
|
56
|
-
|
|
57
|
-
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([6d72325](https://github.com/ckeditor/ckeditor5-core/commit/6d72325))
|
|
58
|
-
* Updated translations. ([e29d56e](https://github.com/ckeditor/ckeditor5-core/commit/e29d56e))
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## [12.2.1](https://github.com/ckeditor/ckeditor5-core/compare/v12.2.0...v12.2.1) (2019-07-10)
|
|
62
|
-
|
|
63
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
## [12.2.0](https://github.com/ckeditor/ckeditor5-core/compare/v12.1.1...v12.2.0) (2019-07-04)
|
|
67
|
-
|
|
68
|
-
### Features
|
|
69
|
-
|
|
70
|
-
* Added an editor instance reference to the native editable DOM element under the `ckeditorInstance` property. Closes [ckeditor/ckeditor5#1838](https://github.com/ckeditor/ckeditor5/issues/1838). ([fa94600](https://github.com/ckeditor/ckeditor5-core/commit/fa94600))
|
|
71
|
-
|
|
72
|
-
Implemented the `EditorUI#setEditableElement()` method.
|
|
73
|
-
Deprecated the `EditorUI#_editableElements` property.
|
|
74
|
-
* Introduced `MultiCommand` which acts as a composite command – it can group multiple commands under the hood. ([ebcbd01](https://github.com/ckeditor/ckeditor5-core/commit/ebcbd01))
|
|
75
|
-
|
|
76
|
-
### Other changes
|
|
77
|
-
|
|
78
|
-
* Introduce the `editor-wrong-element` error thrown when the editor is created over a wrong element. Closes [ckeditor/ckeditor5#1591](https://github.com/ckeditor/ckeditor5/issues/1591). ([9945fc6](https://github.com/ckeditor/ckeditor5-core/commit/9945fc6))
|
|
79
|
-
* Updated translations. ([43f5b6e](https://github.com/ckeditor/ckeditor5-core/commit/43f5b6e))
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
## [12.1.1](https://github.com/ckeditor/ckeditor5-core/compare/v12.1.0...v12.1.1) (2019-06-05)
|
|
83
|
-
|
|
84
|
-
### Other changes
|
|
85
|
-
|
|
86
|
-
* Updated translations. ([ed6bd3c](https://github.com/ckeditor/ckeditor5-core/commit/ed6bd3c))
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## [12.1.0](https://github.com/ckeditor/ckeditor5-core/compare/v12.0.0...v12.1.0) (2019-04-10)
|
|
90
|
-
|
|
91
|
-
### Features
|
|
92
|
-
|
|
93
|
-
* Introduced `Command#disable()` and `Command#enable()`. Closes [#165](https://github.com/ckeditor/ckeditor5-core/issues/165). ([030ca2b](https://github.com/ckeditor/ckeditor5-core/commit/030ca2b))
|
|
94
|
-
|
|
95
|
-
### Other changes
|
|
96
|
-
|
|
97
|
-
* Optimized icons. ([a5f8d34](https://github.com/ckeditor/ckeditor5-core/commit/a5f8d34))
|
|
98
|
-
* Updated translations. ([2dedc43](https://github.com/ckeditor/ckeditor5-core/commit/2dedc43))
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## [12.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v11.1.0...v12.0.0) (2019-02-28)
|
|
102
|
-
|
|
103
|
-
### Bug fixes
|
|
104
|
-
|
|
105
|
-
* 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))
|
|
106
|
-
|
|
107
|
-
### Other changes
|
|
108
|
-
|
|
109
|
-
* 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))
|
|
110
|
-
* Remove `editor#pluginsReady` event. Closes [ckeditor/ckeditor5#1477](https://github.com/ckeditor/ckeditor5/issues/1477). ([6d63538](https://github.com/ckeditor/ckeditor5-core/commit/6d63538))
|
|
111
|
-
* 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))
|
|
112
|
-
* 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))
|
|
113
|
-
* 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))
|
|
114
|
-
|
|
115
|
-
### BREAKING CHANGES
|
|
116
|
-
|
|
117
|
-
* 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))
|
|
118
|
-
* The `Editor#getData()` method now returns an empty string by default when editor content is empty (instead of returning `'<p> </p>'` as before).
|
|
119
|
-
* The `editor#pluginsReady` event was removed. Use plugin `afterInit()` method instead.
|
|
120
|
-
* Removed `EditorWithUI#element` property. The `EditorUI#element` property should be used instead.
|
|
121
|
-
* Removed `EditorWithUI#uiReady` event. The `EditorUI#ready` event should be used instead.
|
|
122
|
-
* Removed `view` parameter in `EditorUI` constructor. Only subclasses should use it without passing it further to `EditorUI`.
|
|
123
|
-
* Removed `EditorUI#view` property. The `view` property from subclasses (like `ClassicEditorUI#view`) should be used directly instead.
|
|
124
|
-
* 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.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-core/compare/v11.0.1...v11.1.0) (2018-12-05)
|
|
128
|
-
|
|
129
|
-
### Features
|
|
130
|
-
|
|
131
|
-
* Implemented the `config.extraPlugins` option. Closes [#146](https://github.com/ckeditor/ckeditor5-core/issues/146). ([4b5c3d4](https://github.com/ckeditor/ckeditor5-core/commit/4b5c3d4))
|
|
132
|
-
|
|
133
|
-
### Other changes
|
|
134
|
-
|
|
135
|
-
* Improved SVG icons size. See [ckeditor/ckeditor5-theme-lark#206](https://github.com/ckeditor/ckeditor5-theme-lark/issues/206). ([c4795fb](https://github.com/ckeditor/ckeditor5-core/commit/c4795fb))
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-core/compare/v11.0.0...v11.0.1) (2018-10-08)
|
|
139
|
-
|
|
140
|
-
### Other changes
|
|
141
|
-
|
|
142
|
-
* Updated translations. ([873d193](https://github.com/ckeditor/ckeditor5-core/commit/873d193))
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v10.1.0...v11.0.0) (2018-07-18)
|
|
146
|
-
|
|
147
|
-
### Features
|
|
148
|
-
|
|
149
|
-
* Added the observable `Editor#state` property. Closes [#124](https://github.com/ckeditor/ckeditor5-core/issues/124). ([ec89d8d](https://github.com/ckeditor/ckeditor5-core/commit/ec89d8d))
|
|
150
|
-
* Imported the module providing the `CKEDITOR_VERSION` global constant in the `Editor` class (see [ckeditor/ckeditor5#1005](https://github.com/ckeditor/ckeditor5/issues/1005)). ([a1a9144](https://github.com/ckeditor/ckeditor5-core/commit/a1a9144))
|
|
151
|
-
* 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](https://github.com/ckeditor/ckeditor5-core/issues/64). ([eb43b63](https://github.com/ckeditor/ckeditor5-core/commit/eb43b63))
|
|
152
|
-
* Introduced the `EditorUI#update` event. Closes [#130](https://github.com/ckeditor/ckeditor5-core/issues/130). ([734166a](https://github.com/ckeditor/ckeditor5-core/commit/734166a))
|
|
153
|
-
|
|
154
|
-
### Bug fixes
|
|
155
|
-
|
|
156
|
-
* Editor#destroy waits for the initialization. Closes [#134](https://github.com/ckeditor/ckeditor5-core/issues/134). ([ad1da26](https://github.com/ckeditor/ckeditor5-core/commit/ad1da26))
|
|
157
|
-
* The `ClassicTestEditor` should not render its UI in the `constructor()`. Closes [#137](https://github.com/ckeditor/ckeditor5-core/issues/137). ([46fdc36](https://github.com/ckeditor/ckeditor5-core/commit/46fdc36))
|
|
158
|
-
|
|
159
|
-
### Other changes
|
|
160
|
-
|
|
161
|
-
* Refreshed the pilcrow icon (see [ckeditor/ckeditor5-ui#394](https://github.com/ckeditor/ckeditor5-ui/issues/394)). ([ce33acb](https://github.com/ckeditor/ckeditor5-core/commit/ce33acb))
|
|
162
|
-
* Split `Editor.build` into `Editor.builtinPlugins` and `Editor.defaultConfig`. Closes [#140](https://github.com/ckeditor/ckeditor5-core/issues/140). ([c13ec79](https://github.com/ckeditor/ckeditor5-core/commit/c13ec79))
|
|
163
|
-
* Updated translations. ([ba21a12](https://github.com/ckeditor/ckeditor5-core/commit/ba21a12))
|
|
164
|
-
|
|
165
|
-
### BREAKING CHANGES
|
|
166
|
-
|
|
167
|
-
* `Editor.build` was split to `Editor.builtinPlugins` and `Editor.defaultConfig`.
|
|
168
|
-
* The `editor.element` property was renamed to `editor.sourceElement`.
|
|
169
|
-
* The `editor.updateElement()` method was renamed to `editor.updateSourceElement()`.
|
|
170
|
-
* The `EditorUI` is now a class (no longer an interface).
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-core/compare/v10.0.0...v10.1.0) (2018-06-21)
|
|
174
|
-
|
|
175
|
-
### Features
|
|
176
|
-
|
|
177
|
-
* Introduced `PendingActions` plugin. Closes [#126](https://github.com/ckeditor/ckeditor5-core/issues/126). ([e1af648](https://github.com/ckeditor/ckeditor5-core/commit/e1af648))
|
|
178
|
-
|
|
179
|
-
### Other changes
|
|
180
|
-
|
|
181
|
-
* Updated translations.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-beta.4...v10.0.0) (2018-04-25)
|
|
185
|
-
|
|
186
|
-
### Other changes
|
|
187
|
-
|
|
188
|
-
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([0ccf614](https://github.com/ckeditor/ckeditor5-core/commit/0ccf614))
|
|
189
|
-
|
|
190
|
-
### BREAKING CHANGES
|
|
191
|
-
|
|
192
|
-
* 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](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
|
|
196
|
-
|
|
197
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
|
|
201
|
-
|
|
202
|
-
### Other changes
|
|
203
|
-
|
|
204
|
-
* Made the check and cancel icons thicker and fill-friendly (see [ckeditor/ckeditor5#810](https://github.com/ckeditor/ckeditor5/issues/810)). ([6584541](https://github.com/ckeditor/ckeditor5-core/commit/6584541))
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
|
|
208
|
-
|
|
209
|
-
### Other changes
|
|
210
|
-
|
|
211
|
-
* Moved `EditingController`, `DataController` and `EditingKeystrokeHandler` from `StandardEditor` to the `Editor` class. Closes [#110](https://github.com/ckeditor/ckeditor5-core/issues/110). ([5a2031e](https://github.com/ckeditor/ckeditor5-core/commit/5a2031e))
|
|
212
|
-
* Removed the `StandardEditor` class in favor of `DataInterface` and `ElementInterface` mixins. Added `EditorWithUI` interface. Closes [#115](https://github.com/ckeditor/ckeditor5-core/issues/115). Closes [#113](https://github.com/ckeditor/ckeditor5-core/issues/113). Closes https://github.com/ckeditor/ckeditor5/issues/303. ([fe81992](https://github.com/ckeditor/ckeditor5-core/commit/fe81992))
|
|
213
|
-
* `Command` should listen to `model.Document#event:change`. ([912570d](https://github.com/ckeditor/ckeditor5-core/commit/912570d))
|
|
214
|
-
* Changed `config.lang` to `config.language` to align to the naming convention. ([8720973](https://github.com/ckeditor/ckeditor5-core/commit/8720973))
|
|
215
|
-
* Removed `loadDataFromElement()` method from `ElementApiMixin`. Closes [#120](https://github.com/ckeditor/ckeditor5-core/issues/120). ([4976e10](https://github.com/ckeditor/ckeditor5-core/commit/4976e10))
|
|
216
|
-
|
|
217
|
-
### BREAKING CHANGES
|
|
218
|
-
|
|
219
|
-
* The `StandardEditor` class was removed. Use `Editor` class with `DataInterface` and `ElementInterface` mixins.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-core/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
|
|
223
|
-
|
|
224
|
-
### Other changes
|
|
225
|
-
|
|
226
|
-
* Updated translations. ([1003fa4](https://github.com/ckeditor/ckeditor5-core/commit/1003fa4))
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-core/compare/v0.9.0...v1.0.0-alpha.1) (2017-10-03)
|
|
230
|
-
|
|
231
|
-
### Features
|
|
232
|
-
|
|
233
|
-
* The `StandardEditor` should automatically update the contents of its source textarea upon submission of the form. Closes https://github.com/ckeditor/ckeditor5/issues/544. ([ce46fde](https://github.com/ckeditor/ckeditor5-core/commit/ce46fde))
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-core/compare/v0.8.1...v0.9.0) (2017-09-03)
|
|
237
|
-
|
|
238
|
-
### Bug fixes
|
|
239
|
-
|
|
240
|
-
* `EditingKeystrokeHandler` should prevent default action only for commands. Closes [#90](https://github.com/ckeditor/ckeditor5-core/issues/90). ([82ff39a](https://github.com/ckeditor/ckeditor5-core/commit/82ff39a))
|
|
241
|
-
* `ToggleAttributeCommand` should listen to reliable events in order to determine its state. Closes [#50](https://github.com/ckeditor/ckeditor5-core/issues/50). ([6816505](https://github.com/ckeditor/ckeditor5-core/commit/6816505))
|
|
242
|
-
* SVG icons should not define own fill if controlled by the styles. Closes [#79](https://github.com/ckeditor/ckeditor5-core/issues/79). ([fadf5ec](https://github.com/ckeditor/ckeditor5-core/commit/fadf5ec))
|
|
243
|
-
|
|
244
|
-
### Features
|
|
245
|
-
|
|
246
|
-
* `EditingKeystrokeHandler` should support priorities and proper cancelling. Closes [#101](https://github.com/ckeditor/ckeditor5-core/issues/101). ([c74b9a3](https://github.com/ckeditor/ckeditor5-core/commit/c74b9a3))
|
|
247
|
-
* `Editor#destroy()` will destroy all loaded plugins. Closes [#86](https://github.com/ckeditor/ckeditor5-core/issues/86). ([77e5217](https://github.com/ckeditor/ckeditor5-core/commit/77e5217))
|
|
248
|
-
|
|
249
|
-
Added default implementation for `Plugin#destroy()`. Introduced `PluginCollection#destroy()` method which calls `Plugin#destroy()` for every loaded plugin.
|
|
250
|
-
* `PluginCollection` will warn if the user wants to load two or more plugins with the same name. Closes [#85](https://github.com/ckeditor/ckeditor5-core/issues/85). ([e00a282](https://github.com/ckeditor/ckeditor5-core/commit/e00a282))
|
|
251
|
-
* Introduced `Editor#isReadOnly` property which disables all commands and prevents from modifying the document. Closes [#96](https://github.com/ckeditor/ckeditor5-core/issues/96). Closes https://github.com/ckeditor/ckeditor5/issues/492. ([1ca5608](https://github.com/ckeditor/ckeditor5-core/commit/1ca5608))
|
|
252
|
-
|
|
253
|
-
### Other changes
|
|
254
|
-
|
|
255
|
-
* Bound `EditingController#isReadOnly` to the editor. Closes [#98](https://github.com/ckeditor/ckeditor5-core/issues/98). ([ec02906](https://github.com/ckeditor/ckeditor5-core/commit/ec02906))
|
|
256
|
-
* Cleaned up SVG icons. ([ffac7e7](https://github.com/ckeditor/ckeditor5-core/commit/ffac7e7))
|
|
257
|
-
* Introduced `PluginInterface`. A plugin doesn't need to inherit directly from the `Plugin` class, as long as it implements some minimal interface. See [#78](https://github.com/ckeditor/ckeditor5-core/issues/78). ([f476f34](https://github.com/ckeditor/ckeditor5-core/commit/f476f34))
|
|
258
|
-
* Removed `ToggleAttributeCommand` class as well as other helpers from the `core/command` namespace. Closes [#14](https://github.com/ckeditor/ckeditor5-core/issues/14). ([7c68581](https://github.com/ckeditor/ckeditor5-core/commit/7c68581))
|
|
259
|
-
* 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](https://github.com/ckeditor/ckeditor5-core/issues/88). ([b76983b](https://github.com/ckeditor/ckeditor5-core/commit/b76983b))
|
|
260
|
-
|
|
261
|
-
Besides changes mentioned in this point and in the "Breaking changes" section, other minor changes were done:
|
|
262
|
-
|
|
263
|
-
* `Editor#execute()` now accepts multiple command arguments.
|
|
264
|
-
* `Command#value` property was standardized.
|
|
265
|
-
|
|
266
|
-
### BREAKING CHANGES
|
|
267
|
-
|
|
268
|
-
* The `ToggleAttributeCommand` was moved to the `ckeditor5-basic-styles` package as `AttributeCommand` and the other command helpers to `ckeditor5-engine` as `Schema` methods.
|
|
269
|
-
* The `Command`'s protected `_doExecute()` and `_checkEnabled()` methods have been replaced by public `execute()` and `refresh()` methods.
|
|
270
|
-
* The `Command`'s `refreshState` event was removed and one should use `change:isEnabled` in order to control and override its state.
|
|
271
|
-
* The `core/command/command` module has been moved to the root directory (so the `Command` class is `core/command~Command` now).
|
|
272
|
-
* The `Command#refresh()` method is now automatically called on `editor.document#changesDone`.
|
|
273
|
-
* The `editor.commands` map was replaced by a `CommandCollection` instance so `editor.commands.set()` calls need to be replaced with `editor.commands.add()`.
|
|
274
|
-
|
|
275
|
-
### NOTE
|
|
276
|
-
|
|
277
|
-
* Plugin naming convention has changed.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
## [0.8.1](https://github.com/ckeditor/ckeditor5-core/compare/v0.8.0...v0.8.1) (2017-05-07)
|
|
281
|
-
|
|
282
|
-
### Other changes
|
|
283
|
-
|
|
284
|
-
* Updated translations. ([993596a](https://github.com/ckeditor/ckeditor5-core/commit/993596a))
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-core/compare/v0.7.0...v0.8.0) (2017-04-05)
|
|
288
|
-
|
|
289
|
-
### Bug fixes
|
|
290
|
-
|
|
291
|
-
* 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](https://github.com/ckeditor/ckeditor5-core/issues/49). ([5834fed](https://github.com/ckeditor/ckeditor5-core/commit/5834fed))
|
|
292
|
-
|
|
293
|
-
### Features
|
|
294
|
-
|
|
295
|
-
* Added support for building plugins and default configs into `Editor` classes. Closes [#67](https://github.com/ckeditor/ckeditor5-core/issues/67). ([a1fa64f](https://github.com/ckeditor/ckeditor5-core/commit/a1fa64f))
|
|
296
|
-
|
|
297
|
-
### Other changes
|
|
298
|
-
|
|
299
|
-
* Updated translations. ([1296b03](https://github.com/ckeditor/ckeditor5-core/commit/1296b03))
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
## [0.7.0](https://github.com/ckeditor/ckeditor5-core/compare/v0.6.0...v0.7.0) (2017-03-06)
|
|
303
|
-
|
|
304
|
-
### Features
|
|
305
|
-
|
|
306
|
-
* Added support for loading plugins by name and the `config.removePlugins` option. Closes [#49](https://github.com/ckeditor/ckeditor5/issues/49). ([dfee52e](https://github.com/ckeditor/ckeditor5-core/commit/dfee52e))
|
|
307
|
-
* Added the "low-vision" icon. Closes [#68](https://github.com/ckeditor/ckeditor5/issues/68). ([4c3d306](https://github.com/ckeditor/ckeditor5-core/commit/4c3d306))
|
|
308
|
-
|
|
309
|
-
### Other changes
|
|
310
|
-
|
|
311
|
-
* Uploaded translations. ([a39e84b](https://github.com/ckeditor/ckeditor5-core/commit/a39e84b))
|