Commit 1463becf authored by Daniel Reinbacher's avatar Daniel Reinbacher

[FEATURE] keep class of table

parent 26cbe83d
{ {
"name": "@dkaufmann/ckeditor5-build-decoupled-custom-document", "name": "@dkaufmann/ckeditor5-build-decoupled-custom-document",
"version": "19.1.0", "version": "19.2.0",
"description": "A build of CKEditor 5 including two custom plugins.", "description": "A build of CKEditor 5 including two custom plugins.",
"keywords": [ "keywords": [
"ckeditor5-build", "ckeditor5-build",
......
...@@ -9,6 +9,7 @@ export class KeepCustomClasses extends Plugin { ...@@ -9,6 +9,7 @@ export class KeepCustomClasses extends Plugin {
setupCustomClassConversion( 'h3', 'heading2', editor ); setupCustomClassConversion( 'h3', 'heading2', editor );
setupCustomClassConversion( 'h4', 'heading3', editor ); setupCustomClassConversion( 'h4', 'heading3', editor );
setupCustomClassConversion( 'p', 'paragraph', editor ); setupCustomClassConversion( 'p', 'paragraph', editor );
setupCustomClassConversion( 'table', 'table-key-value-dotted', editor );
// Define custom attributes that should be preserved. // Define custom attributes that should be preserved.
setupCustomAttributeConversion( 'h2', 'heading1', 'id', editor ); setupCustomAttributeConversion( 'h2', 'heading1', 'id', editor );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment