Kaynağa Gözat

Internal: The ckeditor5-presets became ckeditor5-essentials. See ckeditor/ckeditor5-essentials#1.

Piotrek Koszuliński 8 yıl önce
ebeveyn
işleme
37d0b4038e

+ 1 - 1
packages/ckeditor5-basic-styles/package.json

@@ -12,7 +12,7 @@
     "@ckeditor/ckeditor5-dev-lint": "^3.1.0",
     "@ckeditor/ckeditor5-editor-classic": "^0.8.0",
     "@ckeditor/ckeditor5-paragraph": "^0.9.0",
-    "@ckeditor/ckeditor5-presets": "^0.3.0",
+    "@ckeditor/ckeditor5-essentials": "^0.3.0",
     "@ckeditor/ckeditor5-utils": "^0.10.0",
     "eslint-config-ckeditor5": "^1.0.5",
     "gulp": "^3.9.1",

+ 2 - 2
packages/ckeditor5-basic-styles/tests/manual/basic-styles.js

@@ -6,7 +6,7 @@
 /* globals console:false, window, document */
 
 import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
-import EssentialsPreset from '@ckeditor/ckeditor5-presets/src/essentials';
+import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
 import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
 import Bold from '../../src/bold';
 import Italic from '../../src/italic';
@@ -14,7 +14,7 @@ import Underline from '../../src/underline';
 
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
-		plugins: [ EssentialsPreset, Paragraph, Bold, Italic, Underline ],
+		plugins: [ Essentials, Paragraph, Bold, Italic, Underline ],
 		toolbar: [ 'bold', 'italic', 'underline', 'undo', 'redo' ]
 	} )
 	.then( editor => {