Ver código fonte

Docs: Remove all image plugins. Closes #579.

Piotrek Koszuliński 8 anos atrás
pai
commit
8523f3601d
1 arquivos alterados com 11 adições e 1 exclusões
  1. 11 1
      docs/_snippets/examples/inline-editor.js

+ 11 - 1
docs/_snippets/examples/inline-editor.js

@@ -22,7 +22,17 @@ Array.from( inlineInjectElements ).forEach( inlineElement => {
 	};
 
 	if ( inlineElement.tagName.toLowerCase() == 'header' ) {
-		config.removePlugins = [ 'Blockquote', 'Image', 'ImageToolbar', 'List', 'EasyImage', 'ImageUpload', 'CKFinderUploadAdapter' ];
+		config.removePlugins = [
+			'Blockquote',
+			'Image',
+			'ImageCaption',
+			'ImageStyle',
+			'ImageToolbar',
+			'ImageUpload',
+			'List',
+			'EasyImage',
+			'CKFinderUploadAdapter'
+		];
 		config.toolbar.items = [ 'headings', 'bold', 'italic', 'link' ];
 	}