Processing rule for transforming an italic style represented in HTML (either by tag or font-style) to [i]Text[/i] in BBCode.

Implements

Constructors

Properties

Methods

Constructors

Properties

id: "italic" = "italic"

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