General rule for any headings to map. Thus, supports BBCode tags [h1] to [h6]. While not supported by all vendors, it integrates nicely with the Heading Feature by CKEditor 5.

Implements

Constructors

Properties

Methods

Constructors

Properties

id: "heading" = "heading"

Some ID solely used for debugging purpose. Recommended to keep unique among rules, though.

tags: string[] = ...

BBCode tags, this rule is related to. Automatically also registers tags as known to BBCode to HTML processing.

Typically, you list tags here, which are generated during toData mapping.

Methods