Trevixal API
    Preparing search index...

    Class EditorCommands

    Index
    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Parameters

      • start: number

      Returns boolean

    • Returns boolean

    • Rewrite the selected text to upper, lower or title case.

      Parameters

      Returns boolean

    • Returns boolean

    • Delete one of the document's own styles; what was in it goes back to plain.

      Parameters

      • id: string

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Parameters

      • text: string

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Parameters

      • color: string

      Returns boolean

    • Parameters

      Returns boolean

    • Parameters

      • name: string
      • Optionalattrs: Readonly<Record<string, unknown>>

      Returns boolean

    • Returns boolean

    • A line between the columns, or none.

      Parameters

      • on: boolean

      Returns boolean

    • Set the document in newspaper columns, 1 to 3.

      Parameters

      • count: number

      Returns boolean

    • The whole document's direction.

      Parameters

      Returns boolean

    • Give the selected paragraphs a drop cap; null takes it off.

      Parameters

      Returns boolean

    • Parameters

      • family: string

      Returns boolean

    • Parameters

      • size: string

      Returns boolean

    • Parameters

      • level: number

      Returns boolean

    • Number the document's headings with a scheme, by id; null stops.

      Parameters

      • schemeId: string | null

      Returns boolean

    • Break words across lines at their syllables, or stop.

      Parameters

      • on: boolean

      Returns boolean

    • Letter spacing on the selection; null removes it.

      Parameters

      • spacing: string | null

      Returns boolean

    • Line height on the selected blocks; a bare number is a multiplier.

      Parameters

      • value: string | number | null

      Returns boolean

    • Show or hide line numbers in the margin.

      Parameters

      • on: boolean

      Returns boolean

    • Parameters

      • href: string
      • Optionaltitle: string

      Returns boolean

    • Number the list tree at the selection with a multilevel scheme, by id.

      Parameters

      • schemeId: string

      Returns boolean

    • Set the marker style of the list at the selection; null clears it.

      Parameters

      • style: string | null

      Returns boolean

    • Apply a mark with attributes, replacing any existing one of its type.

      Parameters

      • name: string
      • attrs: Attrs

      Returns boolean

    • Returns boolean

    • Rule the selected paragraphs with a border; null takes it off.

      Parameters

      Returns boolean

    • Fill the selected paragraphs with a colour; null takes it off.

      Parameters

      • color: string | null

      Returns boolean

    • Space above and/or below the selected blocks.

      Parameters

      • opts: { after?: string | null; before?: string | null }

      Returns boolean

    • Give the selected paragraphs a named paragraph style, by id.

      Parameters

      • id: string

      Returns boolean

    • Define a named style, or change one; everything in it follows.

      Parameters

      Returns boolean

    • Set the selected paragraphs' custom tab stops; null clears them.

      Parameters

      Returns boolean

    • Parameters

      • align: "left" | "right" | "center" | "justify" | null

      Returns boolean

    • Parameters

      • color: string

      Returns boolean

    • The selected blocks' direction; null follows the document's.

      Parameters

      Returns boolean

    • Keep paragraphs' first and last lines off a page of their own, in print and Word.

      Parameters

      • on: boolean

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Put the selected text in a named character style, or take it out.

      Parameters

      • id: string

      Returns boolean

    • Parameters

      • name: string
      • Optionalattrs: Readonly<Record<string, unknown>>

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Flip the done state of the task item holding the selection.

      Returns boolean

    • Returns boolean

    • Wrap the selected blocks, or take them out of the nearest name they are in.

      Parameters

      • name: string
      • Optionalattrs: Readonly<Record<string, unknown>>

      Returns boolean

    • Returns boolean

    • Returns boolean

    • Parameters

      • name: string

      Returns boolean

    • Take the list at the selection apart into plain paragraphs.

      Returns boolean

    • Parameters

      • name: string
      • Optionalattrs: Readonly<Record<string, unknown>>

      Returns boolean