IStyleOptions

types.IStyleOptions

element

Optional element: HTMLTagNames

Defined in

src/types/style.d.ts#22


attributes

Optional attributes: IAttributes

Defined in

src/types/style.d.ts#23


defaultTag

Optional defaultTag: HTMLTagNames

Defined in

src/types/style.d.ts#24


hooks

Optional hooks: Object

Type declaration

Name Type
beforeWrapList? (mode: CommitMode, li: HTMLElement, style: ICommitStyle) => void
afterWrapList? (mode: CommitMode, li: HTMLElement, style: ICommitStyle) => void
beforeToggleList? (mode: CommitMode, list: HTMLElement, style: ICommitStyle) => void | CommitMode
beforeUnwrapList? (mode: "unwrap", list: HTMLElement, style: ICommitStyle) => void | CommitMode
afterToggleList? (mode: CommitMode, list: HTMLElement, style: ICommitStyle) => void
afterToggleAttribute? (mode: CommitMode, elm: HTMLElement, key: string, value?: null | string | number | boolean) => void

Defined in

jodit/src/types/style.d.ts:25