Options
All
  • Public
  • Public/Protected
  • All
Menu

Format states that can have pending state.

e.g., When using execCommand('bold') target to a collapsed selection, browser will enter bold state, but there isn't a <B> tag until user type something, or the state will be rollback if selection is changed.

Hierarchy

Index

Properties

Optional isBold

isBold: boolean

Whether the text is bolded

Optional isItalic

isItalic: boolean

Whether the text is italic

Optional isStrikeThrough

isStrikeThrough: boolean

Whether the text has strike through line

Optional isSubscript

isSubscript: boolean

Whether the text is in subscript mode

Optional isSuperscript

isSuperscript: boolean

Whether the text is in superscript mode

Optional isUnderline

isUnderline: boolean

Whether the text has underline

Generated using TypeDoc