Usunięcie przycisków z CKEditor5

JS  Założony przez  Patryk Stefański.

Mam taki mały problem, bo potrzebuje usunąć przyciski z CKEditor5, niestety nazwy "Image", "image", "buttonimage", "Media", "media", "video" nie działają
Gdzie według dokumentacji CKeditor są to "Image" lub "ButtonImage" i "Media"
   
Jest na pewno 'ImageButton' i 'MediaEmbed' albo 'oembed'
MediaEmbed działa, ale za to ImageButton dalej nie działa
removePlugins: [ 'Table''ImageButton''MediaEmbed' ], 
https://ckeditor.com/docs/ckeditor5/late...ation.html

Wylistuj sobie aktualne pluginy, których używasz:
ClassicEditor.builtinPlugins.map( plugin => plugin.pluginName );
+ znajdziesz w tym linku powyżej taką informację:
Cytat:Be careful when removing plugins from CKEditor builds using config.removePlugins. If removed plugins were providing toolbar buttons, the default toolbar configuration included in a build will become invalid. In such case you need to provide the updated toolbar configuration as in the example above.



Użytkownicy przeglądający ten wątek:

1 gości