Przeglądaj źródła

Other: Removed the "Unlink" button from the toolbar (see ckeditor/ckeditor5-link#52).

Aleksander Nowodzinski 8 lat temu
rodzic
commit
3e636ced8d

+ 1 - 1
packages/ckeditor5-editor-inline/tests/manual/inlineeditor.js

@@ -21,7 +21,7 @@ function initEditors() {
 		InlineEditor
 			.create( document.querySelector( selector ), {
 				plugins: [ ArticlePreset ],
-				toolbar: [ 'headings', 'bold', 'italic', 'link', 'unlink', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
+				toolbar: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
 			} )
 			.then( editor => {
 				console.log( `${ selector } has been initialized`, editor );

+ 1 - 1
packages/ckeditor5-editor-inline/tests/manual/tickets/4/1.js

@@ -11,7 +11,7 @@ import ArticlePreset from '@ckeditor/ckeditor5-presets/src/article';
 InlineEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePreset ],
-		toolbar: [ 'headings', 'bold', 'italic', 'link', 'unlink', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
+		toolbar: [ 'headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;