|
@@ -52,7 +52,7 @@ ClassicEditor
|
|
|
|
|
|
|
|
### Configuring custom heading elements
|
|
### Configuring custom heading elements
|
|
|
|
|
|
|
|
-It is also possible to define fully custom elements for headings by using the {@link module:engine/view/viewelementdefinition~ViewElementDefinition 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/view/elementdefinition~ElementDefinition 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>`:
|
|
For example, the following editor will support the following two heading options at the same time: `<h2 class="fancy">` and `<h2>`:
|
|
|
|
|
|