Skip to content

Commit

Permalink
Docs: adding bookmark to classic.
Browse files Browse the repository at this point in the history
  • Loading branch information
godai78 committed Oct 15, 2024
1 parent 4d06e0c commit 695a23e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/_snippets/build-classic-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
/* globals window */

import { AutoImage, ImageInsert } from '@ckeditor/ckeditor5-image';
import { Bookmark } from '@ckeditor/ckeditor5-bookmark';
import ClassicEditor from './build-classic.js';

window.ClassicEditor = ClassicEditor;

ClassicEditor.builtinPlugins.push( ImageInsert );
ClassicEditor.builtinPlugins.push( AutoImage );
ClassicEditor.builtinPlugins.push( Bookmark );
2 changes: 1 addition & 1 deletion docs/_snippets/examples/classic-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ClassicEditor
'undo', 'redo',
'|', 'heading',
'|', 'bold', 'italic',
'|', 'link', 'insertImage', 'insertTable', 'mediaEmbed',
'|', 'link', 'bookmark', 'insertImage', 'insertTable', 'mediaEmbed',
'|', 'bulletedList', 'numberedList', 'outdent', 'indent'
]
},
Expand Down

0 comments on commit 695a23e

Please sign in to comment.