CommitStyle

selection.CommitStyle

Implements

constructor

new CommitStyle(options): CommitStyle

Parameters

Name Type
options IStyleOptions

Returns

CommitStyle

Defined in

src/core/selection/style/commit-style.ts#83

options

Readonly options: IStyleOptions

Implementation of

ICommitStyle.options

Defined in

src/core/selection/style/commit-style.ts#83

elementIsList

get elementIsList(): boolean

Returns

boolean

Implementation of

ICommitStyle.elementIsList

Defined in

src/core/selection/style/commit-style.ts#42


element

get element(): HTMLTagNames

Returns

HTMLTagNames

Implementation of

ICommitStyle.element

Defined in

src/core/selection/style/commit-style.ts#48


elementIsBlock

get elementIsBlock(): boolean

New element is blocked

Returns

boolean

Implementation of

ICommitStyle.elementIsBlock

Defined in

src/core/selection/style/commit-style.ts#55


isElementCommit

get isElementCommit(): boolean

The commit applies the tag change

Returns

boolean

Implementation of

ICommitStyle.isElementCommit

Defined in

src/core/selection/style/commit-style.ts#64


defaultTag

get defaultTag(): HTMLTagNames

Returns

HTMLTagNames

Implementation of

ICommitStyle.defaultTag

Defined in

src/core/selection/style/commit-style.ts#71


elementIsDefault

get elementIsDefault(): Boolean

Returns

Boolean

Implementation of

ICommitStyle.elementIsDefault

Defined in

src/core/selection/style/commit-style.ts#79

isApplied

isApplied(elm, key): boolean

Parameters

Name Type
elm HTMLElement
key string

Returns

boolean

Implementation of

ICommitStyle.isApplied

Defined in

src/core/selection/style/commit-style.ts#27


setApplied

setApplied(elm, key): void

Parameters

Name Type
elm HTMLElement
key string

Returns

void

Implementation of

ICommitStyle.setApplied

Defined in

src/core/selection/style/commit-style.ts#36


apply

apply(jodit): void

Parameters

Name Type
jodit IJodit

Returns

void

Implementation of

ICommitStyle.apply

Defined in

jodit/src/core/selection/style/commit-style.ts:85