UNPKG

@ckeditor/ckeditor5-heading

Version:

Headings feature for CKEditor 5.

47 lines (46 loc) 1.15 kB
{ "plugins": [ { "name": "Title", "className": "Title", "description": "Enables support for adding the title field to your document. It helps ensure that there will always be a single title field at the beginning of the document.", "docs": "features/title.html", "path": "src/title.js", "htmlOutput": [ { "elements": "h1" } ] }, { "name": "Heading", "className": "Heading", "description": "Enables support for creating headings in your content. The heading levels available are configurable.", "docs": "features/headings.html", "path": "src/heading.js", "uiComponents": [ { "type": "Dropdown", "name": "heading", "label": "Heading" } ], "htmlOutput": [ { "elements": [ "h2", "h3", "h4" ], "implements": "$block", "_comment": "This element inherits all attributes, classes and styles that are allowed on the `<$block>` element by other features." }, { "elements": "*", "isAlternative": true, "_comment": "The plugin can be configured to return any element name as a heading." } ] } ] }