Преглед изворни кода

Internal: Article preset was moved to the core. See ckeditor/ckeditor5-core#104.

Piotrek Koszuliński пре 8 година
родитељ
комит
40b1c98d33

+ 2 - 2
packages/ckeditor5-theme-lark/docs/_snippets/examples/theme-lark.js

@@ -8,12 +8,12 @@
 /* config { "sassImportPath": "./custom.scss" } */
 
 import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
-import ArticlePreset from '@ckeditor/ckeditor5-presets/src/article';
+import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
 import './extras.scss';
 
 ClassicEditor
 	.create( document.querySelector( '#snippet-classic-editor' ), {
-		plugins: [ ArticlePreset ],
+		plugins: [ ArticlePluginSet ],
 		toolbar: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 		image: {
 			toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]

+ 1 - 0
packages/ckeditor5-theme-lark/package.json

@@ -8,6 +8,7 @@
   },
   "devDependencies": {
     "@ckeditor/ckeditor5-basic-styles": "^0.9.0",
+    "@ckeditor/ckeditor5-core": "^0.9.0",
     "@ckeditor/ckeditor5-dev-lint": "^3.1.0",
     "@ckeditor/ckeditor5-utils": "^0.10.0",
     "eslint-config-ckeditor5": "^1.0.5",