ckeditor5-livewire 1.1.2 → 1.2.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/bundler/vite-ckeditor5-externalize.ts +60 -0
- package/dist/bundler/vite-ckeditor5-externalize.cjs +2 -0
- package/dist/bundler/vite-ckeditor5-externalize.cjs.map +1 -0
- package/dist/bundler/vite-ckeditor5-externalize.d.ts +3 -0
- package/dist/bundler/vite-ckeditor5-externalize.d.ts.map +1 -0
- package/dist/bundler/vite-ckeditor5-externalize.mjs +38 -0
- package/dist/bundler/vite-ckeditor5-externalize.mjs.map +1 -0
- package/dist/hooks/context/context.d.ts.map +1 -1
- package/dist/hooks/context/contexts-registry.d.ts.map +1 -1
- package/dist/hooks/context/index.d.ts.map +1 -1
- package/dist/hooks/context/typings.d.ts.map +1 -1
- package/dist/hooks/editable.d.ts.map +1 -1
- package/dist/hooks/editor/custom-editor-plugins.d.ts.map +1 -1
- package/dist/hooks/editor/editor.d.ts.map +1 -1
- package/dist/hooks/editor/editors-registry.d.ts.map +1 -1
- package/dist/hooks/editor/index.d.ts.map +1 -1
- package/dist/hooks/editor/plugins/index.d.ts.map +1 -1
- package/dist/hooks/editor/plugins/livewire-sync.d.ts.map +1 -1
- package/dist/hooks/editor/plugins/sync-editor-with-input.d.ts.map +1 -1
- package/dist/hooks/editor/typings.d.ts.map +1 -1
- package/dist/hooks/editor/utils/create-editor-in-context.d.ts.map +1 -1
- package/dist/hooks/editor/utils/get-editor-roots-values.d.ts.map +1 -1
- package/dist/hooks/editor/utils/index.d.ts.map +1 -1
- package/dist/hooks/editor/utils/is-single-editing-like-editor.d.ts.map +1 -1
- package/dist/hooks/editor/utils/is-wire-model-connected.d.ts.map +1 -1
- package/dist/hooks/editor/utils/load-editor-constructor.d.ts.map +1 -1
- package/dist/hooks/editor/utils/load-editor-plugins.d.ts.map +1 -1
- package/dist/hooks/editor/utils/load-editor-translations.d.ts.map +1 -1
- package/dist/hooks/editor/utils/normalize-custom-translations.d.ts.map +1 -1
- package/dist/hooks/editor/utils/query-editor-editables.d.ts.map +1 -1
- package/dist/hooks/editor/utils/resolve-editor-config-elements-references.d.ts.map +1 -1
- package/dist/hooks/editor/utils/set-editor-editable-height.d.ts.map +1 -1
- package/dist/hooks/editor/utils/wrap-with-watchdog.d.ts.map +1 -1
- package/dist/hooks/hook.d.ts.map +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/ui-part.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +88 -88
- package/dist/index.mjs.map +1 -1
- package/dist/shared/async-registry.d.ts.map +1 -1
- package/dist/shared/camel-case.d.ts.map +1 -1
- package/dist/shared/debounce.d.ts.map +1 -1
- package/dist/shared/deep-camel-case-keys.d.ts.map +1 -1
- package/dist/shared/filter-object-values.d.ts.map +1 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/is-empty-object.d.ts.map +1 -1
- package/dist/shared/is-plain-object.d.ts.map +1 -1
- package/dist/shared/map-object-values.d.ts.map +1 -1
- package/dist/shared/once.d.ts.map +1 -1
- package/dist/shared/shallow-equal.d.ts.map +1 -1
- package/dist/shared/timeout.d.ts.map +1 -1
- package/dist/shared/uid.d.ts.map +1 -1
- package/dist/shared/wait-for.d.ts.map +1 -1
- package/dist/types/can-be-promise.type.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/required-by.type.d.ts.map +1 -1
- package/package.json +7 -1
- package/src/hooks/editor/editor.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-empty-object.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"is-empty-object.d.ts","sourceRoot":"","sources":["../../../src/shared/is-empty-object.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAEnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-plain-object.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"is-plain-object.d.ts","sourceRoot":"","sources":["../../../src/shared/is-plain-object.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAQ9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-object-values.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"map-object-values.d.ts","sourceRoot":"","sources":["../../../src/shared/map-object-values.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAClC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EACtB,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAMnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"once.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"once.d.ts","sourceRoot":"","sources":["../../../src/shared/once.ts"],"names":[],"mappings":"AAAA,wBAAgB,IAAI,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,CAWhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shallow-equal.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"shallow-equal.d.ts","sourceRoot":"","sources":["../../../src/shared/shallow-equal.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5D,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,CAAC,GACN,OAAO,CAmBT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeout.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"timeout.d.ts","sourceRoot":"","sources":["../../../src/shared/timeout.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMjD"}
|
package/dist/shared/uid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"uid.d.ts","sourceRoot":"","sources":["../../../src/shared/uid.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,GAAG,WAElB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wait-for.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"wait-for.d.ts","sourceRoot":"","sources":["../../../src/shared/wait-for.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAC,CAAC,EACvB,QAAQ,EAAE,MAAM,YAAY,CAAC,CAAC,CAAC,EAC/B,EACE,YAAkB,EAClB,UAAgB,GACjB,GAAE,aAAkB,GACpB,OAAO,CAAC,CAAC,CAAC,CA6BZ;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"can-be-promise.type.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"can-be-promise.type.d.ts","sourceRoot":"","sources":["../../../src/types/can-be-promise.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-by.type.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"required-by.type.d.ts","sourceRoot":"","sources":["../../../src/types/required-by.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ckeditor5-livewire",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "CKEditor 5 integration for Laravel Livewire",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"import": "./dist/index.mjs",
|
|
9
9
|
"require": "./dist/index.cjs"
|
|
10
|
+
},
|
|
11
|
+
"./bundler/vite-ckeditor5-externalize": {
|
|
12
|
+
"types": "./dist/bundler/vite-ckeditor5-externalize.d.ts",
|
|
13
|
+
"import": "./dist/bundler/vite-ckeditor5-externalize.mjs",
|
|
14
|
+
"require": "./dist/bundler/vite-ckeditor5-externalize.cjs"
|
|
10
15
|
}
|
|
11
16
|
},
|
|
12
17
|
"main": "dist/index.cjs",
|
|
13
18
|
"module": "dist/index.mjs",
|
|
14
19
|
"types": "dist/index.d.ts",
|
|
15
20
|
"files": [
|
|
21
|
+
"bundler",
|
|
16
22
|
"dist",
|
|
17
23
|
"src"
|
|
18
24
|
],
|
|
@@ -62,6 +62,7 @@ export class EditorComponentHook extends ClassHook<Snapshot> {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
catch (error: any) {
|
|
65
|
+
console.error(`Error initializing CKEditor5 instance with ID "${editorId}":`, error);
|
|
65
66
|
this.editorPromise = null;
|
|
66
67
|
EditorsRegistry.the.error(editorId, error);
|
|
67
68
|
}
|