Open Mizan-Rifat opened 2 months ago
I have the same problem. Can anyone tell me something about it? My code is almost identical, am I doing something wrong? This can't be so hard.
@Mizan-Rifat this might probably help you: https://github.com/ckeditor/ckeditor5/issues/8643
e.g.: editor.model.schema.extend( 'table', { allowAttributes: [ 'class' ] } );
editor.conversion.attributeToAttribute( { model: 'class', view: 'class' } );
I have created a custom Plugin to create a borderless table. Here is my implementation:
✔️ Expected result
It should add the borderless-table class in the selected table.
❌ Actual result
No class is added.