|
|
@@ -52,7 +52,7 @@ ClassicEditor
|
|
|
|
|
|
### Configuring custom heading elements
|
|
|
|
|
|
-It is also possible to define fully custom elements for headings by using the {@link module:engine/view/elementdefinition~ElementDefinition advanced format} of the {@link module:heading/heading~HeadingConfig#options `heading.options`} configuration option.
|
|
|
+It is also possible to define fully custom elements for headings by using the {@link module:engine/conversion/conversion~ConverterDefinition advanced format} of the {@link module:heading/heading~HeadingConfig#options `heading.options`} configuration option.
|
|
|
|
|
|
For example, the following editor will support the following two heading options at the same time: `<h2 class="fancy">` and `<h2>`:
|
|
|
|
|
|
@@ -91,7 +91,7 @@ ClassicEditor
|
|
|
class: 'ck-heading_heading2_fancy',
|
|
|
|
|
|
// It needs to be converted before the standard 'heading2'.
|
|
|
- priority: 'high'
|
|
|
+ converterPriority: 'high'
|
|
|
}
|
|
|
]
|
|
|
}
|