The TextStyleController is responsible for all communication regarding text styles. Methods inside this controller can be called by window.SDK.textStyle.{method-name}

Hierarchy

  • TextStyleController

Methods

  • This method removes a selected Text's style properties If the text is selected, then the inline style properties will be removed If the text is not selected and user tried to change any style property, the temporary style will be removed if there is no text selection and there is no temporary style, the inline paragraph properties will be removed

    Returns

    Returns Promise<EditorResponse<null>>

Generated using TypeDoc