CommitStyle
selection.CommitStyle
Implements
constructor
new CommitStyle(options
): CommitStyle
Parameters
Name | Type |
---|---|
options |
IStyleOptions |
Returns
Defined in
src/core/selection/style/commit-style.ts#83
options
Readonly
options: IStyleOptions
Implementation of
Defined in
src/core/selection/style/commit-style.ts#83
elementIsList
get
elementIsList(): boolean
Returns
boolean
Implementation of
Defined in
src/core/selection/style/commit-style.ts#42
element
get
element(): HTMLTagNames
Returns
Implementation of
Defined in
src/core/selection/style/commit-style.ts#48
elementIsBlock
get
elementIsBlock(): boolean
New element is blocked
Returns
boolean
Implementation of
Defined in
src/core/selection/style/commit-style.ts#55
isElementCommit
get
isElementCommit(): boolean
The commit applies the tag change
Returns
boolean
Implementation of
Defined in
src/core/selection/style/commit-style.ts#64
defaultTag
get
defaultTag(): HTMLTagNames
Returns
Implementation of
Defined in
src/core/selection/style/commit-style.ts#71
elementIsDefault
get
elementIsDefault(): boolean
Returns
boolean
Implementation of
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
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
Defined in
src/core/selection/style/commit-style.ts#36
apply
apply(jodit
): void
Parameters
Name | Type |
---|---|
jodit |
IJodit |
Returns
void
Implementation of
Defined in
jodit/src/core/selection/style/commit-style.ts:85