Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Internal: Article preset was moved to the core. See ckeditor/ckeditor…
Browse files Browse the repository at this point in the history
…5-core#104.
  • Loading branch information
Reinmar committed Sep 8, 2017
1 parent 56fcb56 commit 56d0df1
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"CKEditor"
],
"dependencies": {
"@ckeditor/ckeditor5-core": "^0.9.0",
"@ckeditor/ckeditor5-theme-lark": "^0.9.0",
"@ckeditor/ckeditor5-utils": "^0.10.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^0.9.0",
"@ckeditor/ckeditor5-core": "^0.9.0",
"@ckeditor/ckeditor5-dev-lint": "^3.1.0",
"@ckeditor/ckeditor5-editor-classic": "^0.8.0",
"@ckeditor/ckeditor5-engine": "^0.11.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/manual/contextualballoon/contextualballoon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* globals window, document, console:false */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
import ContextualToolbar from '@ckeditor/ckeditor5-ui/src/toolbar/contextual/contextualtoolbar';

// Finally the editor.
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'bold', 'link' ],
contextualToolbar: [ 'bold', 'link' ]
} )
Expand Down
6 changes: 3 additions & 3 deletions tests/manual/contextualballoon/externalchanges.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ContextualToolbar from '@ckeditor/ckeditor5-ui/src/toolbar/contextual/contextualtoolbar';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';

import Element from '@ckeditor/ckeditor5-engine/src/model/element';
import Text from '@ckeditor/ckeditor5-engine/src/model/text';
Expand All @@ -17,7 +17,7 @@ import Range from '@ckeditor/ckeditor5-engine/src/model/range';
// Editor for the external insert.
ClassicEditor
.create( document.querySelector( '#editor-insert' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'bold', 'link' ],
contextualToolbar: [ 'bold', 'link' ]
} )
Expand All @@ -34,7 +34,7 @@ ClassicEditor
// Editor for the external delete.
ClassicEditor
.create( document.querySelector( '#editor-delete' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'bold', 'link' ],
contextualToolbar: [ 'bold', 'link' ]
} )
Expand Down
4 changes: 2 additions & 2 deletions tests/manual/contextualtoolbar/contextualtoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* globals window, document, console:false */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
import ContextualToolbar from '../../../src/toolbar/contextual/contextualtoolbar';
import Range from '@ckeditor/ckeditor5-engine/src/model/range';

ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'bold', 'italic', 'link', 'undo', 'redo' ],
contextualToolbar: [ 'bold', 'italic', 'link' ]
} )
Expand Down
6 changes: 3 additions & 3 deletions tests/manual/tickets/170/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* globals window, document, console:false */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
import BalloonPanelView from '../../../../src/panel/balloon/balloonpanelview';

// Set initial scroll for the outer container element.
Expand All @@ -15,7 +15,7 @@ document.querySelector( '.container-outer' ).scrollTop = 450;
// Init editor with balloon attached to the target element.
ClassicEditor
.create( document.querySelector( '#editor-attach' ), {
plugins: [ ArticlePresets ],
plugins: [ ArticlePluginSet ],
toolbar: [ 'bold', 'italic', 'undo', 'redo' ]
} )
.then( editor => {
Expand All @@ -41,7 +41,7 @@ ClassicEditor
// Init editor with balloon sticked to the target element.
ClassicEditor
.create( document.querySelector( '#editor-stick' ), {
plugins: [ ArticlePresets ],
plugins: [ ArticlePluginSet ],
toolbar: [ 'bold', 'italic', 'undo', 'redo' ]
} )
.then( editor => {
Expand Down
6 changes: 3 additions & 3 deletions tests/manual/tickets/198/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* globals console:false, document, setTimeout */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
import ContextualToolbar from '../../../../src/toolbar/contextual/contextualtoolbar';

import Element from '@ckeditor/ckeditor5-engine/src/model/element';
Expand All @@ -17,7 +17,7 @@ import Range from '@ckeditor/ckeditor5-engine/src/model/range';
// Editor for the external insert.
ClassicEditor
.create( document.querySelector( '#editor-insert' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'undo', 'redo' ],
contextualToolbar: [ 'bold', 'italic' ]
} )
Expand All @@ -34,7 +34,7 @@ ClassicEditor
// Editor for the external delete.
ClassicEditor
.create( document.querySelector( '#editor-delete' ), {
plugins: [ ArticlePresets, ContextualToolbar ],
plugins: [ ArticlePluginSet, ContextualToolbar ],
toolbar: [ 'undo', 'redo' ],
contextualToolbar: [ 'bold', 'italic' ]
} )
Expand Down
4 changes: 2 additions & 2 deletions tests/manual/tickets/228/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
/* globals document, console:false */

import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePresets from '@ckeditor/ckeditor5-presets/src/article';
import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';

ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ ArticlePresets ],
plugins: [ ArticlePluginSet ],
toolbar: [ 'headings' ],
} )
.catch( err => console.error( err.stack ) );

0 comments on commit 56d0df1

Please sign in to comment.