Processing rule for transforming a bold style represented in HTML (either by tag or font-weight) to [b]Text[/b] in BBCode.

Implements

Constructors

Properties

Methods

Constructors

Properties

id: "bold" = "bold"

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