-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
!!! FEATURE: Upgrade CKEditor 5 from version 16.0.0 to 44.0.0 (#3883)
* FEATURE: try to update CKEditor (not yet working build) * CKEditor Update: findLinkRange -> findSAttributeRange OLD usage: https://github.com/search?q=repo%3Ackeditor%2Fckeditor5-link%20findLinkRange&type=code NEW usage: https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-link/src/linkcommand.ts#L166 * CKEditor Update: findAncestor OLD impl: https://github.com/ckeditor/ckeditor5-table/blob/master/src/commands/utils.js#L20 OLD usage: https://github.com/ckeditor/ckeditor5-table/blob/c19bd145e9e8f2ce27e045c43e1247d25c877759/src/tableproperties/commands/tablepropertycommand.js#L41 * CKEditor: update highlighting plugin as well (basic editing seems to work) * BUGFIX: Render table dropdowns with correct icons The icons were broken and the fallback title was not aligned pretty well. So the SVG markup string will be transformed now to an data-uri and this can be used as image sorce. * TASK: Hide type around buttons of CKEditor The new type around buttons are not used by the neos ui at the moment and maybe we just dont need them. As the rendered SVGs without styled break the UI, we hide the buttons at the moment. * TASK: Adjust E2E tests for creating new nodes This is a workaround for the fact that the contenteditable element is not directly selectable for more information see https://testcafe.io/documentation/402688/reference/test-api/testcontroller/selecteditablecontent * TASK: Adjust E2E tests to run testcafe with content editables * TASK: Log the content tree state * TASK: Write content via CKEditor instance As the firefox could not deal with the testcafe workaround. We now write the content to the CKE * TASK: Render CKE with headings * BUGFIX: Try to fix content node creation * TASK: Remove old placeholder patch * FEATURE: Upgrade to CKEditor version 44.0.0 * TASK Remove console logs from tests * TASK: Introduce cke-overwrite styles Sometimes we need to overwrite global ck editor styles. We can put them here. * BUGFIX: Fix space shifting when editing placeholders * TASK: Hide aria-live-announcer thingy below neos ui see #3883 (comment) --------- Co-authored-by: Markus Günther <[email protected]> Co-authored-by: mhsdesign <[email protected]>
- Loading branch information
1 parent
81c28b0
commit 9d9d5a3
Showing
108 changed files
with
1,058 additions
and
286 deletions.
There are no files selected for viewing
Binary file added
BIN
+23.3 KB
.yarn/cache/@ckeditor-ckeditor5-adapter-ckfinder-npm-44.0.0-06e6bdb665-a7152c7f11.zip
Binary file not shown.
Binary file removed
BIN
-49.5 KB
.yarn/cache/@ckeditor-ckeditor5-alignment-npm-16.0.0-c065b19ff9-e7e792f431.zip
Binary file not shown.
Binary file added
BIN
+245 KB
.yarn/cache/@ckeditor-ckeditor5-alignment-npm-44.0.0-1466eb6b78-d8ae68918c.zip
Binary file not shown.
Binary file added
BIN
+222 KB
.yarn/cache/@ckeditor-ckeditor5-autoformat-npm-44.0.0-af7fbce98a-9b531d4d20.zip
Binary file not shown.
Binary file added
BIN
+199 KB
.yarn/cache/@ckeditor-ckeditor5-autosave-npm-44.0.0-018978c1c2-aef6b9b483.zip
Binary file not shown.
Binary file removed
BIN
-75.8 KB
.yarn/cache/@ckeditor-ckeditor5-basic-styles-npm-16.0.0-24cf5bb434-570c104c7c.zip
Binary file not shown.
Binary file added
BIN
+318 KB
.yarn/cache/@ckeditor-ckeditor5-basic-styles-npm-44.0.0-5fa1ba8b7f-5d8de19262.zip
Binary file not shown.
Binary file added
BIN
+207 KB
.yarn/cache/@ckeditor-ckeditor5-block-quote-npm-44.0.0-e923f8a2bd-5359e78317.zip
Binary file not shown.
Binary file added
BIN
+333 KB
.yarn/cache/@ckeditor-ckeditor5-bookmark-npm-44.0.0-0cbb5555b0-8946df8297.zip
Binary file not shown.
Binary file added
BIN
+407 KB
.yarn/cache/@ckeditor-ckeditor5-ckbox-npm-44.0.0-398eb95df8-6dcfe9936a.zip
Binary file not shown.
Binary file added
BIN
+251 KB
.yarn/cache/@ckeditor-ckeditor5-ckfinder-npm-44.0.0-0ca7a6bf52-098a117ced.zip
Binary file not shown.
Binary file removed
BIN
-12.5 KB
.yarn/cache/@ckeditor-ckeditor5-clipboard-npm-16.0.0-523adcb299-f42e5bc235.zip
Binary file not shown.
Binary file added
BIN
+320 KB
.yarn/cache/@ckeditor-ckeditor5-clipboard-npm-44.0.0-bc736f7695-519da043c8.zip
Binary file not shown.
Binary file added
BIN
+57.9 KB
.yarn/cache/@ckeditor-ckeditor5-cloud-services-npm-44.0.0-92be699ee0-95554228d0.zip
Binary file not shown.
Binary file added
BIN
+319 KB
.yarn/cache/@ckeditor-ckeditor5-code-block-npm-44.0.0-3ab798922b-b294468a98.zip
Binary file not shown.
Binary file removed
BIN
-81 KB
.yarn/cache/@ckeditor-ckeditor5-core-npm-16.0.0-6573ba5935-588634f0e2.zip
Binary file not shown.
Binary file added
BIN
+669 KB
.yarn/cache/@ckeditor-ckeditor5-core-npm-44.0.0-a277165cd5-f995ef7713.zip
Binary file not shown.
Binary file added
BIN
+19.8 KB
.yarn/cache/@ckeditor-ckeditor5-easy-image-npm-44.0.0-cd84bf737e-3ca8ec0871.zip
Binary file not shown.
Binary file added
BIN
+34.4 KB
.yarn/cache/@ckeditor-ckeditor5-editor-balloon-npm-44.0.0-e1b8642ccd-6031e44b01.zip
Binary file not shown.
Binary file added
BIN
+50.5 KB
.yarn/cache/@ckeditor-ckeditor5-editor-classic-npm-44.0.0-288eefc34e-3b9fc1b6eb.zip
Binary file not shown.
Binary file removed
BIN
-11.8 KB
.yarn/cache/@ckeditor-ckeditor5-editor-decoupled-npm-16.0.0-cd3a0321b9-c8f4aa63b5.zip
Binary file not shown.
Binary file added
BIN
+38.9 KB
.yarn/cache/@ckeditor-ckeditor5-editor-decoupled-npm-44.0.0-cfae0546fd-43eb4565eb.zip
Binary file not shown.
Binary file added
BIN
+46.3 KB
.yarn/cache/@ckeditor-ckeditor5-editor-inline-npm-44.0.0-646553a1ee-de225a0170.zip
Binary file not shown.
Binary file added
BIN
+94.9 KB
.yarn/cache/@ckeditor-ckeditor5-editor-multi-root-npm-44.0.0-ccf88420cb-29acd69963.zip
Binary file not shown.
Binary file removed
BIN
-420 KB
.yarn/cache/@ckeditor-ckeditor5-engine-npm-16.0.0-4b05aefe15-cabbd74051.zip
Binary file not shown.
Binary file added
BIN
+2.48 MB
.yarn/cache/@ckeditor-ckeditor5-engine-npm-44.0.0-b1d8052981-dc390f3bb2.zip
Binary file not shown.
Binary file removed
BIN
-420 KB
.yarn/cache/@ckeditor-ckeditor5-engine-patch-dfc8c266c9-0ca241d6d2.zip
Binary file not shown.
Binary file removed
BIN
-11.1 KB
.yarn/cache/@ckeditor-ckeditor5-enter-npm-16.0.0-ca8ebb6106-81c440cc6b.zip
Binary file not shown.
Binary file added
BIN
+193 KB
.yarn/cache/@ckeditor-ckeditor5-enter-npm-44.0.0-0092e6b801-b1d74d438d.zip
Binary file not shown.
Binary file removed
BIN
-4.85 KB
.yarn/cache/@ckeditor-ckeditor5-essentials-npm-16.0.0-d4010e91c7-9aa445f70a.zip
Binary file not shown.
Binary file added
BIN
+13.5 KB
.yarn/cache/@ckeditor-ckeditor5-essentials-npm-44.0.0-fefced513a-5474a35743.zip
Binary file not shown.
Binary file added
BIN
+405 KB
.yarn/cache/@ckeditor-ckeditor5-find-and-replace-npm-44.0.0-0ebd3fe9ca-00695b6884.zip
Binary file not shown.
Binary file added
BIN
+342 KB
.yarn/cache/@ckeditor-ckeditor5-font-npm-44.0.0-eade3ec6dc-012071bf3c.zip
Binary file not shown.
Binary file removed
BIN
-69.3 KB
.yarn/cache/@ckeditor-ckeditor5-heading-npm-16.0.0-f1390fdeeb-e2ed0bc9e2.zip
Binary file not shown.
Binary file added
BIN
+287 KB
.yarn/cache/@ckeditor-ckeditor5-heading-npm-44.0.0-f0f3fe8235-df5b30520d.zip
Binary file not shown.
Binary file removed
BIN
-50.7 KB
.yarn/cache/@ckeditor-ckeditor5-highlight-npm-16.0.0-bbd766a72b-6b1fcfa52d.zip
Binary file not shown.
Binary file added
BIN
+260 KB
.yarn/cache/@ckeditor-ckeditor5-highlight-npm-44.0.0-57d1e7a6c2-837acbf7ac.zip
Binary file not shown.
Binary file added
BIN
+198 KB
.yarn/cache/@ckeditor-ckeditor5-horizontal-line-npm-44.0.0-f622256307-579b119bb7.zip
Binary file not shown.
Binary file added
BIN
+268 KB
.yarn/cache/@ckeditor-ckeditor5-html-embed-npm-44.0.0-8fdc5a4cf7-2df621b0ab.zip
Binary file not shown.
Binary file added
BIN
+395 KB
.yarn/cache/@ckeditor-ckeditor5-html-support-npm-44.0.0-dcff546e9f-ed4a5cade2.zip
Binary file not shown.
Binary file added
BIN
+918 KB
.yarn/cache/@ckeditor-ckeditor5-image-npm-44.0.0-b2fbf99cd5-b6bd38314e.zip
Binary file not shown.
Binary file added
BIN
+216 KB
.yarn/cache/@ckeditor-ckeditor5-indent-npm-44.0.0-66802edb3b-8509afec86.zip
Binary file not shown.
Binary file added
BIN
+218 KB
.yarn/cache/@ckeditor-ckeditor5-language-npm-44.0.0-a324fec302-c38d5003b2.zip
Binary file not shown.
Binary file removed
BIN
-80.9 KB
.yarn/cache/@ckeditor-ckeditor5-link-npm-16.0.0-0ccecccfc8-cb9bc3aa6d.zip
Binary file not shown.
Binary file added
BIN
+458 KB
.yarn/cache/@ckeditor-ckeditor5-link-npm-44.0.0-f5931795e4-7442bb38b2.zip
Binary file not shown.
Binary file removed
BIN
-76.1 KB
.yarn/cache/@ckeditor-ckeditor5-list-npm-16.0.0-25266495d8-2f5de21fe1.zip
Binary file not shown.
Binary file added
BIN
+919 KB
.yarn/cache/@ckeditor-ckeditor5-list-npm-44.0.0-74cefda3c5-8884017ef4.zip
Binary file not shown.
Binary file added
BIN
+58.4 KB
.yarn/cache/@ckeditor-ckeditor5-markdown-gfm-npm-44.0.0-50d395eb14-a9942258b8.zip
Binary file not shown.
Binary file added
BIN
+368 KB
.yarn/cache/@ckeditor-ckeditor5-media-embed-npm-44.0.0-f83276917d-1caaf1a482.zip
Binary file not shown.
Binary file added
BIN
+105 KB
.yarn/cache/@ckeditor-ckeditor5-mention-npm-44.0.0-300e461066-83b7563002.zip
Binary file not shown.
Binary file added
BIN
+59.1 KB
.yarn/cache/@ckeditor-ckeditor5-minimap-npm-44.0.0-d49243d9e8-36a328dc55.zip
Binary file not shown.
Binary file added
BIN
+200 KB
.yarn/cache/@ckeditor-ckeditor5-page-break-npm-44.0.0-6de4476717-1e6ccdaf2a.zip
Binary file not shown.
Binary file removed
BIN
-9.3 KB
.yarn/cache/@ckeditor-ckeditor5-paragraph-npm-16.0.0-111e77648f-ba0e81e429.zip
Binary file not shown.
Binary file added
BIN
+30.5 KB
.yarn/cache/@ckeditor-ckeditor5-paragraph-npm-44.0.0-95e655df0b-7ba641e214.zip
Binary file not shown.
Binary file added
BIN
+115 KB
.yarn/cache/@ckeditor-ckeditor5-paste-from-office-npm-44.0.0-cf9c16e8c6-2b7e59cd86.zip
Binary file not shown.
Binary file removed
BIN
-34.6 KB
.yarn/cache/@ckeditor-ckeditor5-remove-format-npm-16.0.0-26d007494b-4eab5c1115.zip
Binary file not shown.
Binary file added
BIN
+198 KB
.yarn/cache/@ckeditor-ckeditor5-remove-format-npm-44.0.0-6f3038ce15-e1e13a5812.zip
Binary file not shown.
Binary file added
BIN
+299 KB
.yarn/cache/@ckeditor-ckeditor5-restricted-editing-npm-44.0.0-d7763f8176-9113642f36.zip
Binary file not shown.
Binary file added
BIN
+169 KB
.yarn/cache/@ckeditor-ckeditor5-select-all-npm-44.0.0-954ae702fb-74785ddd6c.zip
Binary file not shown.
Binary file added
BIN
+207 KB
.yarn/cache/@ckeditor-ckeditor5-show-blocks-npm-44.0.0-03c59fd46e-7f9554fa34.zip
Binary file not shown.
Binary file added
BIN
+230 KB
.yarn/cache/@ckeditor-ckeditor5-source-editing-npm-44.0.0-e8706fd42a-d9706147e7.zip
Binary file not shown.
Binary file added
BIN
+1.01 MB
.yarn/cache/@ckeditor-ckeditor5-special-characters-npm-44.0.0-8fc2af7927-8c6da91d2a.zip
Binary file not shown.
Binary file added
BIN
+284 KB
.yarn/cache/@ckeditor-ckeditor5-style-npm-44.0.0-482c093e94-f0e48b9ed6.zip
Binary file not shown.
Binary file removed
BIN
-102 KB
.yarn/cache/@ckeditor-ckeditor5-table-npm-16.0.0-c8773a0e8f-bcc9844d36.zip
Binary file not shown.
Binary file added
BIN
+1.27 MB
.yarn/cache/@ckeditor-ckeditor5-table-npm-44.0.0-7ee559783d-c9fcfc361b.zip
Binary file not shown.
Binary file added
BIN
+276 KB
.yarn/cache/@ckeditor-ckeditor5-theme-lark-npm-44.0.0-a19a8fe4ef-881efb5572.zip
Binary file not shown.
Binary file removed
BIN
-31.8 KB
.yarn/cache/@ckeditor-ckeditor5-typing-npm-16.0.0-ade680e35b-bc7e8f9414.zip
Binary file not shown.
Binary file added
BIN
+177 KB
.yarn/cache/@ckeditor-ckeditor5-typing-npm-44.0.0-b7c12d84ce-9bc93cadb1.zip
Binary file not shown.
Binary file removed
BIN
-176 KB
.yarn/cache/@ckeditor-ckeditor5-ui-npm-16.0.0-14310916bb-8b9bd6c059.zip
Binary file not shown.
Binary file added
BIN
+1.58 MB
.yarn/cache/@ckeditor-ckeditor5-ui-npm-44.0.0-c25f3d8204-08dac36ecb.zip
Binary file not shown.
Binary file removed
BIN
-50.8 KB
.yarn/cache/@ckeditor-ckeditor5-undo-npm-16.0.0-78776f4610-f74fd79809.zip
Binary file not shown.
Binary file added
BIN
+192 KB
.yarn/cache/@ckeditor-ckeditor5-undo-npm-44.0.0-8ba315bf1c-85701d2f56.zip
Binary file not shown.
Binary file added
BIN
+198 KB
.yarn/cache/@ckeditor-ckeditor5-upload-npm-44.0.0-636a121e5f-a55fa3dd27.zip
Binary file not shown.
Binary file removed
BIN
-85.5 KB
.yarn/cache/@ckeditor-ckeditor5-utils-npm-16.0.0-dfecda191f-d35f1a98cc.zip
Binary file not shown.
Binary file added
BIN
+501 KB
.yarn/cache/@ckeditor-ckeditor5-utils-npm-44.0.0-f570b179e7-65282690fb.zip
Binary file not shown.
Binary file added
BIN
+89.1 KB
.yarn/cache/@ckeditor-ckeditor5-watchdog-npm-44.0.0-02a6a95e5c-d9ef810fcd.zip
Binary file not shown.
Binary file removed
BIN
-51.2 KB
.yarn/cache/@ckeditor-ckeditor5-widget-npm-16.0.0-e28dca433f-4802720cf8.zip
Binary file not shown.
Binary file added
BIN
+457 KB
.yarn/cache/@ckeditor-ckeditor5-widget-npm-44.0.0-88f2e97636-8851dc0612.zip
Binary file not shown.
Binary file added
BIN
+201 KB
.yarn/cache/@ckeditor-ckeditor5-word-count-npm-44.0.0-2f1f41c158-12f01f06ea.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-4.91 KB
.yarn/cache/eslint-plugin-ckeditor5-rules-npm-0.0.2-7dd587c3b6-847b03300f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,7 @@ | |
"moment": "^2.20.1", | ||
"vfile-message": "^2.0.2", | ||
"[email protected]": "patch:isemail@npm:3.2.0#./patches/isemail-npm-3.2.0-browserified.patch", | ||
"[email protected]": "patch:react-codemirror2@npm:7.2.1#./patches/react-codemirror2-npm-7.2.1-browserified.patch", | ||
"@ckeditor/ckeditor5-engine@^16.0.0": "patch:@ckeditor/ckeditor5-engine@npm:16.0.0#./patches/@ckeditor-ckeditor5-engine-npm-16.0.0-placeholder.patch" | ||
"[email protected]": "patch:react-codemirror2@npm:7.2.1#./patches/react-codemirror2-npm-7.2.1-browserified.patch" | ||
}, | ||
"scripts": { | ||
"lint": "tsc --noemit && stylelint 'packages/*/src/**/*.css' && yarn eslint 'packages/*/src/**/*.{js,jsx,ts,tsx}'", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.