@ckeditor/ckeditor5-core 47.2.0 → 47.3.0-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-core",
3
- "version": "47.2.0",
3
+ "version": "47.3.0-alpha.0",
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.2.0",
28
- "@ckeditor/ckeditor5-ui": "47.2.0",
29
- "@ckeditor/ckeditor5-utils": "47.2.0",
30
- "@ckeditor/ckeditor5-watchdog": "47.2.0",
27
+ "@ckeditor/ckeditor5-engine": "47.3.0-alpha.0",
28
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.0",
29
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.0",
30
+ "@ckeditor/ckeditor5-watchdog": "47.3.0-alpha.0",
31
31
  "es-toolkit": "1.39.5"
32
32
  },
33
33
  "author": "CKSource (http://cksource.com/)",
@@ -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