New answers tagged

1

Also CKEditor BiDi Buttons module provides the bi directional text flow buttons, RTL and LTR. Integrates the CKEditor BiDi plugin with CKEditor for Drupal 8. This plugin provides the bi directional text flow buttons, RTL and LTR . The CKEditor BiDi plugin makes it possible to change the text direction for an HTML block-level elements like ...


0

I solved the problem by creating a custom CKEditor plugin. This is the JS code, in case anyone find it helpful: CKEDITOR.plugins.add('tableclass', { beforeInit: function (editor) { editor.ui.addButton('addtableclass', { label: 'Add table class.', command: 'addTableClass', icon: '/modules/custom/mymodule/icons/add.png' }); }, ...


0

Old old question, but another way to handle this is to disable the WYSIWYG by default. If the WYSIWYG doesn't engage (turn on/whatever) in edit mode, then the script tag isn't stripped. In my use case this works out.


Top 50 recent answers are included