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#97

options

Readonly options: IStyleOptions

Implementation of

ICommitStyle.options

Defined in

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

elementIsList

get elementIsList(): boolean

Returns

boolean

Implementation of

ICommitStyle.elementIsList

Defined in

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


element

get element(): HTMLTagNames

Returns

HTMLTagNames

Implementation of

ICommitStyle.element

Defined in

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


elementIsBlock

get elementIsBlock(): boolean

New element is blocked

Returns

boolean

Implementation of

ICommitStyle.elementIsBlock

Defined in

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


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#78


defaultTag

get defaultTag(): HTMLTagNames

Returns

HTMLTagNames

Implementation of

ICommitStyle.defaultTag

Defined in

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


elementIsDefault

get elementIsDefault(): Boolean

Returns

Boolean

Implementation of

ICommitStyle.elementIsDefault

Defined in

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

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#41


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#50


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:99