From 10fd339d75355500a9a750ceceba84a5ebd4dcea Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 10 Jun 2019 13:41:12 +0200 Subject: [PATCH 01/19] Constellation branch. [skip ci] --- mgit.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mgit.json b/mgit.json index 98b31fcf2b4..b43849ae09b 100644 --- a/mgit.json +++ b/mgit.json @@ -16,7 +16,7 @@ "@ckeditor/ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard", "@ckeditor/ckeditor5-cloud-services": "ckeditor/ckeditor5-cloud-services", "@ckeditor/ckeditor5-ckfinder": "ckeditor/ckeditor5-ckfinder", - "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core", + "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core#t/ckeditor5/1151", "@ckeditor/ckeditor5-easy-image": "ckeditor/ckeditor5-easy-image", "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon", "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", @@ -40,10 +40,10 @@ "@ckeditor/ckeditor5-table": "ckeditor/ckeditor5-table", "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", - "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui", + "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/ckeditor5/1151", "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", - "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils", + "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5/1151", "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget" } } From 80805c8a68bea7f83c60f207de9bbbf776d39614 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Sat, 6 Jul 2019 10:16:23 +0200 Subject: [PATCH 02/19] Configured branches in mgit.json. --- mgit.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mgit.json b/mgit.json index 4263d592c54..fbfb1df440d 100644 --- a/mgit.json +++ b/mgit.json @@ -21,7 +21,7 @@ "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon", "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", "@ckeditor/ckeditor5-editor-decoupled": "ckeditor/ckeditor5-editor-decoupled", - "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline", + "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline#t/ckeditor5/1151", "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", @@ -38,8 +38,8 @@ "@ckeditor/ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph", "@ckeditor/ckeditor5-paste-from-office": "ckeditor/ckeditor5-paste-from-office", "@ckeditor/ckeditor5-remove-format": "ckeditor/ckeditor5-remove-format", - "@ckeditor/ckeditor5-table": "ckeditor/ckeditor5-table", - "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", + "@ckeditor/ckeditor5-table": "ckeditor/ckeditor5-table#t/ckeditor5/1151", + "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark#t/ckeditor5/1151", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/ckeditor5/1151", "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", From 084f0cec6feeac45c0b859f09ec5c00bb237212e Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Wed, 10 Jul 2019 18:41:44 +0200 Subject: [PATCH 03/19] Docs: Added some docs about RTL and content language. --- .../features/ui-language-content.html | 3 ++ .../_snippets/features/ui-language-content.js | 28 ++++++++++++ docs/_snippets/features/ui-language-rtl.html | 3 ++ docs/_snippets/features/ui-language-rtl.js | 27 +++++++++++ docs/features/ui-language.md | 45 +++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 docs/_snippets/features/ui-language-content.html create mode 100644 docs/_snippets/features/ui-language-content.js create mode 100644 docs/_snippets/features/ui-language-rtl.html create mode 100644 docs/_snippets/features/ui-language-rtl.js diff --git a/docs/_snippets/features/ui-language-content.html b/docs/_snippets/features/ui-language-content.html new file mode 100644 index 00000000000..e3eeb00bef1 --- /dev/null +++ b/docs/_snippets/features/ui-language-content.html @@ -0,0 +1,3 @@ +
+

This is CKEditor 5.

+
diff --git a/docs/_snippets/features/ui-language-content.js b/docs/_snippets/features/ui-language-content.js new file mode 100644 index 00000000000..ab5417c0013 --- /dev/null +++ b/docs/_snippets/features/ui-language-content.js @@ -0,0 +1,28 @@ +/** + * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +/* globals console, window, document */ + +/* config { "language": [ "en", "ar" ] } */ + +import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; + +import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config'; + +ClassicEditor + .create( document.querySelector( '#snippet-ui-language-content' ), { + language: 'en', + contentLanguage: 'ar', + cloudServices: CS_CONFIG, + toolbar: { + viewportTopOffset: window.getViewportTopOffsetConfig() + } + } ) + .then( editor => { + window.editor = editor; + } ) + .catch( err => { + console.error( err.stack ); + } ); diff --git a/docs/_snippets/features/ui-language-rtl.html b/docs/_snippets/features/ui-language-rtl.html new file mode 100644 index 00000000000..eda6ecf6405 --- /dev/null +++ b/docs/_snippets/features/ui-language-rtl.html @@ -0,0 +1,3 @@ +
+

This is CKEditor 5.

+
diff --git a/docs/_snippets/features/ui-language-rtl.js b/docs/_snippets/features/ui-language-rtl.js new file mode 100644 index 00000000000..49920bc30e2 --- /dev/null +++ b/docs/_snippets/features/ui-language-rtl.js @@ -0,0 +1,27 @@ +/** + * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +/* globals console, window, document */ + +/* config { "language": "ar" } */ + +import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; + +import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config'; + +ClassicEditor + .create( document.querySelector( '#snippet-ui-language-rtl' ), { + language: 'ar', + cloudServices: CS_CONFIG, + toolbar: { + viewportTopOffset: window.getViewportTopOffsetConfig() + } + } ) + .then( editor => { + window.editor = editor; + } ) + .catch( err => { + console.error( err.stack ); + } ); diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index 688318d0566..a2a4e1ea1a1 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -12,6 +12,20 @@ See the demo of the editor in German: {@snippet features/ui-language} +## Right–to–left (RTL) languages support + +CKEditor 5 supports right–to–left languages out–of–the–box. When one of RTL languages is used, the editor adapts its UI for the best editing experience, for instance, mirroring various elements like toolbars, dropdowns, buttons, etc.. + +See the demo of the editor in Arabic: + +{@snippet features/ui-language-rtl} + + + If you want to change the direction of the content only (different languages for the UI and the content), check out the ["Setting the language of the content"](#setting-the-language-of-the-content) section to learn more. + + +We are doing our best to deliver the best RTL support to our users and we constantly improve the editor. Check out the ["RTL support"](https://github.com/ckeditor/ckeditor5/issues/1151) issue on GitHub to learn more and stay up–to–date. Thank you for the feedback! + ## Loading additional languages from CDN, npm and zip file By default, the editor will display in English. This is the language built into the `ckeditor.js` files. In order to change the language of the editor UI, you need to load additional language file(s). Check out the following sections to see how to do that: @@ -149,3 +163,34 @@ If you build CKEditor from scratch or integrate it directly into your applicatio You can read more about the used techniques in the ["Implement translation services" issue](https://github.com/ckeditor/ckeditor5/issues/387) and ["Implement translation services v2" issue](https://github.com/ckeditor/ckeditor5/issues/624). + +## Setting the language of the content + +In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, which is particularly important for certain languages (like [right–to–left](#rtl-righttoleft-languages-support) ones) because, for instance, it changes the default alignment of the text. + +Configure {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} to change the language of the content. In this example, the UI of the editor will be English but the content will be Arabic: + +```js +ClassicEditor + .create( document.querySelector( '#editor' ), { + // The UI will be English. + language: 'en', + + // But the content will be edited in Arabic. + contentLanguage: 'ar' + } ) + .then( editor => { + window.editor = editor; + } ) + .catch( err => { + console.error( err.stack ); + } ); +``` + +{@snippet features/ui-language-content} + + + If not sure what language the content will be typed in or when the document is multilingual, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} and leave the control over the language of the content up to the web browser. + + By default, the editor has the [DOM `dir` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) set to `"auto"`, allowing the [Unicode Bidirectional Algorithm](http://www.unicode.org/reports/tr9/) detect the language of each block (paragraph, heading, etc.) based on the first strong (directional) character typed by the user. + From 74e2c3f218cd4f99b51fd23d0133d0fcfadb3474 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Wed, 10 Jul 2019 19:33:06 +0200 Subject: [PATCH 04/19] Docs: Updated the UI language guide. --- docs/features/ui-language.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index a2a4e1ea1a1..6da78bcd43f 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -21,7 +21,7 @@ See the demo of the editor in Arabic: {@snippet features/ui-language-rtl} - If you want to change the direction of the content only (different languages for the UI and the content), check out the ["Setting the language of the content"](#setting-the-language-of-the-content) section to learn more. + If you want to change the language of the content only (different languages for the UI and the content), check out the ["Setting the language of the content"](#setting-the-language-of-the-content) section to learn more. We are doing our best to deliver the best RTL support to our users and we constantly improve the editor. Check out the ["RTL support"](https://github.com/ckeditor/ckeditor5/issues/1151) issue on GitHub to learn more and stay up–to–date. Thank you for the feedback! @@ -166,7 +166,7 @@ If you build CKEditor from scratch or integrate it directly into your applicatio ## Setting the language of the content -In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, which is particularly important for certain languages (like [right–to–left](#rtl-righttoleft-languages-support) ones) because, for instance, it changes the default alignment of the text. +In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, for instance it affects screen readers and spell checkers. It is also particularly useful for typing in certain languages (e.g. [right–to–left](#rtl-righttoleft-languages-support) ones) because it changes the default alignment of the text. Configure {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} to change the language of the content. In this example, the UI of the editor will be English but the content will be Arabic: @@ -190,7 +190,7 @@ ClassicEditor {@snippet features/ui-language-content} - If not sure what language the content will be typed in or when the document is multilingual, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} and leave the control over the language of the content up to the web browser. + If unsure what language the content will be typed in or when the document is multilingual, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`}. - By default, the editor has the [DOM `dir` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir) set to `"auto"`, allowing the [Unicode Bidirectional Algorithm](http://www.unicode.org/reports/tr9/) detect the language of each block (paragraph, heading, etc.) based on the first strong (directional) character typed by the user. + The language of the content will be inherited from the {@link module:core/editor/editorconfig~EditorConfig#language language of the UI} and the control over the language direction of the content will be left up to the web browser, which is the safest option for most of the integrations. From 628c2d39f5d0fff5e13af90a4e97a9b22c5dec51 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 11 Jul 2019 10:25:25 +0200 Subject: [PATCH 05/19] Docs: Fixed a broken anchor in the UI language guide. --- docs/features/ui-language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index 6da78bcd43f..b3d36f1da4a 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -166,7 +166,7 @@ If you build CKEditor from scratch or integrate it directly into your applicatio ## Setting the language of the content -In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, for instance it affects screen readers and spell checkers. It is also particularly useful for typing in certain languages (e.g. [right–to–left](#rtl-righttoleft-languages-support) ones) because it changes the default alignment of the text. +In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, for instance it affects screen readers and spell checkers. It is also particularly useful for typing in certain languages (e.g. [right–to–left](#righttoleft-rtl-languages-support) ones) because it changes the default alignment of the text. Configure {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} to change the language of the content. In this example, the UI of the editor will be English but the content will be Arabic: From 79bc25cb016e41ff629c2e1722a110e3a00e1fea Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 11 Jul 2019 13:38:20 +0200 Subject: [PATCH 06/19] Docs: Updated the UI language guide. --- docs/_snippets/features/ui-language-content.html | 3 ++- docs/_snippets/features/ui-language-rtl.html | 3 ++- docs/_snippets/features/ui-language.html | 2 +- docs/_snippets/features/ui-language.js | 3 ++- docs/features/ui-language.md | 4 ++-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/_snippets/features/ui-language-content.html b/docs/_snippets/features/ui-language-content.html index e3eeb00bef1..3728be30706 100644 --- a/docs/_snippets/features/ui-language-content.html +++ b/docs/_snippets/features/ui-language-content.html @@ -1,3 +1,4 @@
-

This is CKEditor 5.

+

لغة

+

اللغة نسق من الإشارات والرموز، يشكل أداة من أدوات المعرفة، وتعتبر اللغة أهم وسائل التفاهم والاحتكاك بين أفراد المجتمع في جميع ميادين الحياة. وبدون اللغة يتعذر نشاط الناس المعرفي. وترتبط اللغة بالتفكير ارتباطًا وثيقًا؛ فأفكار الإنسان تصاغ دومًا في قالب لغوي، حتى في حال تفكيره الباطني. ومن خلال اللغة فقط تحصل الفكرة على وجودها الواقعي. كما ترمز اللغة إلى الأشياء المنعكسة فيها.

diff --git a/docs/_snippets/features/ui-language-rtl.html b/docs/_snippets/features/ui-language-rtl.html index eda6ecf6405..9e37cc689dd 100644 --- a/docs/_snippets/features/ui-language-rtl.html +++ b/docs/_snippets/features/ui-language-rtl.html @@ -1,3 +1,4 @@
-

This is CKEditor 5.

+

لغة

+

اللغة نسق من الإشارات والرموز، يشكل أداة من أدوات المعرفة، وتعتبر اللغة أهم وسائل التفاهم والاحتكاك بين أفراد المجتمع في جميع ميادين الحياة. وبدون اللغة يتعذر نشاط الناس المعرفي. وترتبط اللغة بالتفكير ارتباطًا وثيقًا؛ فأفكار الإنسان تصاغ دومًا في قالب لغوي، حتى في حال تفكيره الباطني. ومن خلال اللغة فقط تحصل الفكرة على وجودها الواقعي. كما ترمز اللغة إلى الأشياء المنعكسة فيها.

diff --git a/docs/_snippets/features/ui-language.html b/docs/_snippets/features/ui-language.html index ee04d769cea..839b37fb0f6 100644 --- a/docs/_snippets/features/ui-language.html +++ b/docs/_snippets/features/ui-language.html @@ -1,3 +1,3 @@
-

This is CKEditor 5.

+

Un lenguaje (del provenzal lenguatge y este del latín lingua) es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.

diff --git a/docs/_snippets/features/ui-language.js b/docs/_snippets/features/ui-language.js index 604bbab25d2..b545ab36e2c 100644 --- a/docs/_snippets/features/ui-language.js +++ b/docs/_snippets/features/ui-language.js @@ -5,7 +5,7 @@ /* globals console, window, document */ -/* config { "language": "de" } */ +/* config { "language": "es" } */ import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; @@ -13,6 +13,7 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud ClassicEditor .create( document.querySelector( '#snippet-ui-language' ), { + language: 'es', cloudServices: CS_CONFIG, toolbar: { viewportTopOffset: window.getViewportTopOffsetConfig() diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index b3d36f1da4a..24567359246 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -8,7 +8,7 @@ The UI of the editor can be localized. CKEditor 5 currently supports around 20 l If you want to help translate CKEditor 5 into your native language, join the [CKEditor 5 project on Transifex](https://www.transifex.com/ckeditor/ckeditor5/). Your help will be much appreciated! -See the demo of the editor in German: +See the demo of the editor in Spanish: {@snippet features/ui-language} @@ -40,7 +40,7 @@ Next, you can configure the editor to use the chosen language: ClassicEditor .create( document.querySelector( '#editor' ), { // The language code is defined in the https://en.wikipedia.org/wiki/ISO_639-1 standard. - language: 'de' + language: 'es' } ) .then( editor => { console.log( editor ); From 405fd6d9d91cdb8219974454e5b1a49137269029 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 25 Jul 2019 14:57:29 +0200 Subject: [PATCH 07/19] Updated branches in mrgit.json. --- mrgit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrgit.json b/mrgit.json index fbfb1df440d..5bfbecd2c85 100644 --- a/mrgit.json +++ b/mrgit.json @@ -7,7 +7,7 @@ "@ckeditor/ckeditor5-autoformat": "ckeditor/ckeditor5-autoformat", "@ckeditor/ckeditor5-autosave": "ckeditor/ckeditor5-autosave", "@ckeditor/ckeditor5-basic-styles": "ckeditor/ckeditor5-basic-styles", - "@ckeditor/ckeditor5-block-quote": "ckeditor/ckeditor5-block-quote", + "@ckeditor/ckeditor5-block-quote": "ckeditor/ckeditor5-block-quote#t/ckeditor5/1151", "@ckeditor/ckeditor5-build-balloon": "ckeditor/ckeditor5-build-balloon", "@ckeditor/ckeditor5-build-balloon-block": "ckeditor/ckeditor5-build-balloon-block", "@ckeditor/ckeditor5-build-classic": "ckeditor/ckeditor5-build-classic", From 6427c61135ffd3e908da175a43714b83a55ab553 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 25 Jul 2019 15:37:28 +0200 Subject: [PATCH 08/19] Updated branches in mrgit.json. --- mrgit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrgit.json b/mrgit.json index 5bfbecd2c85..de7a151715e 100644 --- a/mrgit.json +++ b/mrgit.json @@ -45,7 +45,7 @@ "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5/1151", - "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget", + "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget#t/ckeditor5/1151", "@ckeditor/ckeditor5-watchdog": "ckeditor/ckeditor5-watchdog", "@ckeditor/ckeditor5-word-count": "ckeditor/ckeditor5-word-count" } From daad5bc99a49a1cb1392e4cf915cab445f40a0a5 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 26 Jul 2019 11:39:40 +0200 Subject: [PATCH 09/19] Docs: Mentioned the manual test runner's --additionalLanguages option in development env and testing env guides. --- .../framework/guides/contributing/development-environment.md | 2 +- docs/framework/guides/contributing/testing-environment.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/framework/guides/contributing/development-environment.md b/docs/framework/guides/contributing/development-environment.md index 7ac7dbcb123..1c48f68d542 100644 --- a/docs/framework/guides/contributing/development-environment.md +++ b/docs/framework/guides/contributing/development-environment.md @@ -193,7 +193,7 @@ To create a server for manual tests use the `manual` task: yarn run manual ``` -It accepts the `--source-map` (`-s`) option. Note that it watches for changes in the JavaScript files only (see the [bug](https://github.com/ckeditor/ckeditor5-dev/issues/52)). +It accepts the `--source-map` (`-s`) and `--additionalLanguages="ar,pl,..."` options. Note that it watches for changes in the JavaScript files only (see the [bug](https://github.com/ckeditor/ckeditor5-dev/issues/52)). You can read more about the {@link framework/guides/contributing/testing-environment Testing environment}. diff --git a/docs/framework/guides/contributing/testing-environment.md b/docs/framework/guides/contributing/testing-environment.md index 29a0ab5b5fc..10fb3e68f5b 100644 --- a/docs/framework/guides/contributing/testing-environment.md +++ b/docs/framework/guides/contributing/testing-environment.md @@ -50,7 +50,10 @@ yarn run test -cw --files=basic-styles/bold*.js In order to start the manual tests server use the `yarn run manual` task. -The task accepts the `--source-map` (alias `-s`) option. +The task accepts the following options: + +* `--source-map` (alias `-s`) that generates useful source maps for the code. +* `--additionalLanguages="ar,pl,..."` that passes extra languages to the [CKEditor 5 webpack plugin](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-webpack-plugin). Check out the {@link features/ui-language UI language guide} to learn more. It starts the server available at http://localhost:8125. From 2f883d41edadb51ae294a884dba481c764e51551 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 29 Jul 2019 13:57:04 +0200 Subject: [PATCH 10/19] Updated branches in mrgit.json. --- mrgit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrgit.json b/mrgit.json index de7a151715e..c1528316560 100644 --- a/mrgit.json +++ b/mrgit.json @@ -3,7 +3,7 @@ "packagesPrefix": "@ckeditor/ckeditor5-", "dependencies": { "@ckeditor/ckeditor5-adapter-ckfinder": "ckeditor/ckeditor5-adapter-ckfinder", - "@ckeditor/ckeditor5-alignment": "ckeditor/ckeditor5-alignment", + "@ckeditor/ckeditor5-alignment": "ckeditor/ckeditor5-alignment#t/ckeditor5/1151", "@ckeditor/ckeditor5-autoformat": "ckeditor/ckeditor5-autoformat", "@ckeditor/ckeditor5-autosave": "ckeditor/ckeditor5-autosave", "@ckeditor/ckeditor5-basic-styles": "ckeditor/ckeditor5-basic-styles", From 0f934cafa8eeea74aa4a324590a1ec4b01bb5085 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 29 Jul 2019 15:35:07 +0200 Subject: [PATCH 11/19] Configured branches in mrgit.json. --- mrgit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrgit.json b/mrgit.json index c1528316560..0703af706d2 100644 --- a/mrgit.json +++ b/mrgit.json @@ -29,7 +29,7 @@ "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading", "@ckeditor/ckeditor5-highlight": "ckeditor/ckeditor5-highlight", "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image", - "@ckeditor/ckeditor5-indent": "ckeditor/ckeditor5-indent", + "@ckeditor/ckeditor5-indent": "ckeditor/ckeditor5-indent#t/ckeditor5/1151", "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", From 9821e93fec082fe33cdfaf7bb477888b360e695b Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 29 Jul 2019 15:44:22 +0200 Subject: [PATCH 12/19] Configured branches in mrgit.json. --- mrgit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrgit.json b/mrgit.json index 0703af706d2..ff6e22a2b05 100644 --- a/mrgit.json +++ b/mrgit.json @@ -42,7 +42,7 @@ "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark#t/ckeditor5/1151", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/ckeditor5/1151", - "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", + "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo#t/ckeditor5/1151", "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5/1151", "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget#t/ckeditor5/1151", From f09408ec2a120d993edb6e160f3a79ae6c5e184d Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Tue, 30 Jul 2019 14:05:46 +0200 Subject: [PATCH 13/19] Updated branches in mrgit.json. --- mrgit.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrgit.json b/mrgit.json index ff6e22a2b05..910244c6633 100644 --- a/mrgit.json +++ b/mrgit.json @@ -22,7 +22,7 @@ "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", "@ckeditor/ckeditor5-editor-decoupled": "ckeditor/ckeditor5-editor-decoupled", "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline#t/ckeditor5/1151", - "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", + "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine#t/ckeditor5/1151", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", "@ckeditor/ckeditor5-font": "ckeditor/ckeditor5-font", @@ -30,7 +30,7 @@ "@ckeditor/ckeditor5-highlight": "ckeditor/ckeditor5-highlight", "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image", "@ckeditor/ckeditor5-indent": "ckeditor/ckeditor5-indent#t/ckeditor5/1151", - "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", + "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link#t/ckeditor5/1151", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", "@ckeditor/ckeditor5-media-embed": "ckeditor/ckeditor5-media-embed", From 0a0925df4b96bb256c88a5a9bb2b11aaa736e92c Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Wed, 31 Jul 2019 11:44:41 +0200 Subject: [PATCH 14/19] Docs: Reconfigured snippets in the UI language guide to avoid errors. --- .../_snippets/features/build-ui-language-source.html | 0 docs/_snippets/features/build-ui-language-source.js | 12 ++++++++++++ docs/_snippets/features/ui-language-content.js | 6 +----- docs/_snippets/features/ui-language-rtl.js | 6 +----- docs/_snippets/features/ui-language.js | 6 +----- docs/features/ui-language.md | 2 ++ 6 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 docs/_snippets/features/build-ui-language-source.html create mode 100644 docs/_snippets/features/build-ui-language-source.js diff --git a/docs/_snippets/features/build-ui-language-source.html b/docs/_snippets/features/build-ui-language-source.html new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/_snippets/features/build-ui-language-source.js b/docs/_snippets/features/build-ui-language-source.js new file mode 100644 index 00000000000..971a4d94bf0 --- /dev/null +++ b/docs/_snippets/features/build-ui-language-source.js @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +/* globals window */ + +/* config { "additionalLanguages": [ "ar", "es" ] } */ + +import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; + +window.ClassicEditor = ClassicEditor; diff --git a/docs/_snippets/features/ui-language-content.js b/docs/_snippets/features/ui-language-content.js index ab5417c0013..22bc0c3b9ae 100644 --- a/docs/_snippets/features/ui-language-content.js +++ b/docs/_snippets/features/ui-language-content.js @@ -3,11 +3,7 @@ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -/* globals console, window, document */ - -/* config { "language": [ "en", "ar" ] } */ - -import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; +/* globals ClassicEditor, console, window, document */ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config'; diff --git a/docs/_snippets/features/ui-language-rtl.js b/docs/_snippets/features/ui-language-rtl.js index 49920bc30e2..55fdd6da9b1 100644 --- a/docs/_snippets/features/ui-language-rtl.js +++ b/docs/_snippets/features/ui-language-rtl.js @@ -3,11 +3,7 @@ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -/* globals console, window, document */ - -/* config { "language": "ar" } */ - -import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; +/* globals ClassicEditor, console, window, document */ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config'; diff --git a/docs/_snippets/features/ui-language.js b/docs/_snippets/features/ui-language.js index b545ab36e2c..4d9d7ad2993 100644 --- a/docs/_snippets/features/ui-language.js +++ b/docs/_snippets/features/ui-language.js @@ -3,11 +3,7 @@ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ -/* globals console, window, document */ - -/* config { "language": "es" } */ - -import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; +/* globals ClassicEditor, console, window, document */ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud-services-config'; diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index 24567359246..3a7e7a94baa 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -2,6 +2,8 @@ category: features --- +{@snippet features/build-ui-language-source} + # Setting the UI language The UI of the editor can be localized. CKEditor 5 currently supports around 20 languages and the number is growing. From dce5a4c86f0818e3de1d2492201d6db3d16c875e Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 1 Aug 2019 11:50:50 +0200 Subject: [PATCH 15/19] Docs: Improved the RTL code snippet used in the UI Language guide. --- docs/_snippets/features/ui-language-rtl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_snippets/features/ui-language-rtl.js b/docs/_snippets/features/ui-language-rtl.js index 55fdd6da9b1..ca48731430c 100644 --- a/docs/_snippets/features/ui-language-rtl.js +++ b/docs/_snippets/features/ui-language-rtl.js @@ -10,6 +10,7 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud ClassicEditor .create( document.querySelector( '#snippet-ui-language-rtl' ), { language: 'ar', + contentLanguage: 'ar', cloudServices: CS_CONFIG, toolbar: { viewportTopOffset: window.getViewportTopOffsetConfig() From 410057c8bb5c263a5bc07e77dbde97eeb27b1c0d Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 5 Aug 2019 16:15:38 +0200 Subject: [PATCH 16/19] Dropped the editor content dir="auto" support. --- docs/features/ui-language.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index 3a7e7a94baa..78d20f66193 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -192,7 +192,5 @@ ClassicEditor {@snippet features/ui-language-content} - If unsure what language the content will be typed in or when the document is multilingual, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`}. - - The language of the content will be inherited from the {@link module:core/editor/editorconfig~EditorConfig#language language of the UI} and the control over the language direction of the content will be left up to the web browser, which is the safest option for most of the integrations. + If unsure what language the content will be typed in, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`}. The language of the content will then be inherited from the {@link module:core/editor/editorconfig~EditorConfig#language language of the UI}. From 0f9df4d33645884b3d5c48f264ddc623300622a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Tue, 6 Aug 2019 14:43:16 +0200 Subject: [PATCH 17/19] Removed superfluous nbsps. Also, see ckeditor/ckeditor5-engine#404. --- docs/_snippets/features/ui-language.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_snippets/features/ui-language.html b/docs/_snippets/features/ui-language.html index 839b37fb0f6..6d35bd22308 100644 --- a/docs/_snippets/features/ui-language.html +++ b/docs/_snippets/features/ui-language.html @@ -1,3 +1,3 @@
-

Un lenguaje (del provenzal lenguatge y este del latín lingua) es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.

+

Un lenguaje (del provenzal lenguatge y este del latín lingua) es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.

From 512e2b8d785f0b948ddf3427f2ef8a49cfe1d03f Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 9 Aug 2019 16:52:49 +0200 Subject: [PATCH 18/19] Used the latest EditorConfig#language syntax. --- docs/_snippets/features/ui-language-content.js | 5 +++-- docs/_snippets/features/ui-language-rtl.js | 1 - docs/features/ui-language.md | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/_snippets/features/ui-language-content.js b/docs/_snippets/features/ui-language-content.js index 22bc0c3b9ae..98a460f51b8 100644 --- a/docs/_snippets/features/ui-language-content.js +++ b/docs/_snippets/features/ui-language-content.js @@ -9,8 +9,9 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud ClassicEditor .create( document.querySelector( '#snippet-ui-language-content' ), { - language: 'en', - contentLanguage: 'ar', + language: { + content: 'ar' + }, cloudServices: CS_CONFIG, toolbar: { viewportTopOffset: window.getViewportTopOffsetConfig() diff --git a/docs/_snippets/features/ui-language-rtl.js b/docs/_snippets/features/ui-language-rtl.js index ca48731430c..55fdd6da9b1 100644 --- a/docs/_snippets/features/ui-language-rtl.js +++ b/docs/_snippets/features/ui-language-rtl.js @@ -10,7 +10,6 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud ClassicEditor .create( document.querySelector( '#snippet-ui-language-rtl' ), { language: 'ar', - contentLanguage: 'ar', cloudServices: CS_CONFIG, toolbar: { viewportTopOffset: window.getViewportTopOffsetConfig() diff --git a/docs/features/ui-language.md b/docs/features/ui-language.md index 78d20f66193..c0c4edc4141 100644 --- a/docs/features/ui-language.md +++ b/docs/features/ui-language.md @@ -170,16 +170,18 @@ If you build CKEditor from scratch or integrate it directly into your applicatio In CKEditor 5 you can separately configure the language of the UI and the language of the content. That means you can use the English UI of the editor but type your content in Arabic or Hebrew. The language of the content has an impact on the editing experience, for instance it affects screen readers and spell checkers. It is also particularly useful for typing in certain languages (e.g. [right–to–left](#righttoleft-rtl-languages-support) ones) because it changes the default alignment of the text. -Configure {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`} to change the language of the content. In this example, the UI of the editor will be English but the content will be Arabic: +Configure {@link module:core/editor/editorconfig~EditorConfig#language `config.language`} to change the language of the content. In this example, the UI of the editor will be English but the content will be Arabic: ```js ClassicEditor .create( document.querySelector( '#editor' ), { - // The UI will be English. - language: 'en', + language: { + // The UI will be English. + ui: 'en', - // But the content will be edited in Arabic. - contentLanguage: 'ar' + // But the content will be edited in Arabic. + content: 'ar' + } } ) .then( editor => { window.editor = editor; @@ -192,5 +194,5 @@ ClassicEditor {@snippet features/ui-language-content} - If unsure what language the content will be typed in, do not set {@link module:core/editor/editorconfig~EditorConfig#contentLanguage `config.contentLanguage`}. The language of the content will then be inherited from the {@link module:core/editor/editorconfig~EditorConfig#language language of the UI}. + If unsure what language the content will be typed in, do not set it. The language of the content will then be inherited from the {@link module:core/editor/editorconfig~EditorConfig#language language of the UI}. From f652e5c046933ae0483f9d4ed7e57c474603740e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Mon, 12 Aug 2019 12:13:10 +0200 Subject: [PATCH 19/19] Back to master. --- mrgit.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mrgit.json b/mrgit.json index 5f5f5c3e545..3e4fd62acea 100644 --- a/mrgit.json +++ b/mrgit.json @@ -4,11 +4,11 @@ "baseBranches": [ "master", "stable" ], "dependencies": { "@ckeditor/ckeditor5-adapter-ckfinder": "ckeditor/ckeditor5-adapter-ckfinder", - "@ckeditor/ckeditor5-alignment": "ckeditor/ckeditor5-alignment#t/ckeditor5/1151", + "@ckeditor/ckeditor5-alignment": "ckeditor/ckeditor5-alignment", "@ckeditor/ckeditor5-autoformat": "ckeditor/ckeditor5-autoformat", "@ckeditor/ckeditor5-autosave": "ckeditor/ckeditor5-autosave", "@ckeditor/ckeditor5-basic-styles": "ckeditor/ckeditor5-basic-styles", - "@ckeditor/ckeditor5-block-quote": "ckeditor/ckeditor5-block-quote#t/ckeditor5/1151", + "@ckeditor/ckeditor5-block-quote": "ckeditor/ckeditor5-block-quote", "@ckeditor/ckeditor5-build-balloon": "ckeditor/ckeditor5-build-balloon", "@ckeditor/ckeditor5-build-balloon-block": "ckeditor/ckeditor5-build-balloon-block", "@ckeditor/ckeditor5-build-classic": "ckeditor/ckeditor5-build-classic", @@ -17,21 +17,21 @@ "@ckeditor/ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard", "@ckeditor/ckeditor5-cloud-services": "ckeditor/ckeditor5-cloud-services", "@ckeditor/ckeditor5-ckfinder": "ckeditor/ckeditor5-ckfinder", - "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core#t/ckeditor5/1151", + "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core", "@ckeditor/ckeditor5-easy-image": "ckeditor/ckeditor5-easy-image", "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon", "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", "@ckeditor/ckeditor5-editor-decoupled": "ckeditor/ckeditor5-editor-decoupled", - "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline#t/ckeditor5/1151", - "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine#t/ckeditor5/1151", + "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline", + "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", "@ckeditor/ckeditor5-font": "ckeditor/ckeditor5-font", "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading", "@ckeditor/ckeditor5-highlight": "ckeditor/ckeditor5-highlight", "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image", - "@ckeditor/ckeditor5-indent": "ckeditor/ckeditor5-indent#t/ckeditor5/1151", - "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link#t/ckeditor5/1151", + "@ckeditor/ckeditor5-indent": "ckeditor/ckeditor5-indent", + "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", "@ckeditor/ckeditor5-media-embed": "ckeditor/ckeditor5-media-embed", @@ -39,14 +39,14 @@ "@ckeditor/ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph", "@ckeditor/ckeditor5-paste-from-office": "ckeditor/ckeditor5-paste-from-office", "@ckeditor/ckeditor5-remove-format": "ckeditor/ckeditor5-remove-format", - "@ckeditor/ckeditor5-table": "ckeditor/ckeditor5-table#t/ckeditor5/1151", - "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark#t/ckeditor5/1151", + "@ckeditor/ckeditor5-table": "ckeditor/ckeditor5-table", + "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", - "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/ckeditor5/1151", - "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo#t/ckeditor5/1151", + "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui", + "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", - "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5/1151", - "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget#t/ckeditor5/1151", + "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils", + "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget", "@ckeditor/ckeditor5-watchdog": "ckeditor/ckeditor5-watchdog", "@ckeditor/ckeditor5-word-count": "ckeditor/ckeditor5-word-count" }