@ckeditor/ckeditor5-core 47.2.0 → 47.3.0-alpha.1
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 +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/editor/editor.js +1 -1
- package/src/editor/editorconfig.d.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-core",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.3.0-alpha.1",
|
|
4
4
|
"description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wysiwyg",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"type": "module",
|
|
25
25
|
"main": "src/index.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ckeditor/ckeditor5-engine": "47.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "47.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "47.
|
|
30
|
-
"@ckeditor/ckeditor5-watchdog": "47.
|
|
27
|
+
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.1",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.1",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.1",
|
|
30
|
+
"@ckeditor/ckeditor5-watchdog": "47.3.0-alpha.1",
|
|
31
31
|
"es-toolkit": "1.39.5"
|
|
32
32
|
},
|
|
33
33
|
"author": "CKSource (http://cksource.com/)",
|
package/src/editor/editor.js
CHANGED
|
@@ -263,7 +263,7 @@ export class Editor extends /* #__PURE__ */ ObservableMixin() {
|
|
|
263
263
|
this.set('state', 'initializing');
|
|
264
264
|
this.once('ready', () => (this.state = 'ready'), { priority: 'high' });
|
|
265
265
|
this.once('destroy', () => (this.state = 'destroyed'), { priority: 'high' });
|
|
266
|
-
this.model = new Model();
|
|
266
|
+
this.model = new Model(this.config);
|
|
267
267
|
this.on('change:isReadOnly', () => {
|
|
268
268
|
this.model.document.isReadOnly = this.isReadOnly;
|
|
269
269
|
});
|
|
@@ -10,6 +10,7 @@ import { type Context } from '../context.js';
|
|
|
10
10
|
import type { PluginConstructor } from '../plugin.js';
|
|
11
11
|
import { type Editor } from './editor.js';
|
|
12
12
|
import type { MenuBarConfig } from '@ckeditor/ckeditor5-ui';
|
|
13
|
+
import type { EngineConfig } from '@ckeditor/ckeditor5-engine';
|
|
13
14
|
/**
|
|
14
15
|
* CKEditor configuration options.
|
|
15
16
|
*
|
|
@@ -29,7 +30,7 @@ import type { MenuBarConfig } from '@ckeditor/ckeditor5-ui';
|
|
|
29
30
|
* .catch( ... );
|
|
30
31
|
* ```
|
|
31
32
|
*/
|
|
32
|
-
export interface EditorConfig {
|
|
33
|
+
export interface EditorConfig extends EngineConfig {
|
|
33
34
|
context?: Context;
|
|
34
35
|
/**
|
|
35
36
|
* The list of additional plugins to load along those already available in the
|