Sign up (with export icon)

SuggestionFormatData

Api-typedef icon typedef

Command parameters and additional suggestion parameters. Passed value is also saved in Suggestion#data property.

Properties

  • [i: string] : unknown

  • Chevron-right icon

    commandName : string

    Name of the command to execute when the suggestion is accepted.

  • Chevron-right icon

    commandParams : Array<any>

    Parameters with which the command should be executed.

  • Chevron-right icon

    formatGroupId : string | undefined

    Additional grouping parameter for suggestions. If a suggestion would be set on an element which already has a different suggestion with the same formatGroupId, the new suggestion will overwrite the old one (the old one will be removed). Defaults to commandName parameter, so different suggestions of the same command overwrite each other. Using this parameter you might expand this behavior so that multiple commands overwrite each other.

  • Chevron-right icon

    multipleBlocks : boolean | undefined

    True when format suggestion uses ranges.