Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EditorDriverParams

Hierarchy

  • EditorDriverParams

Index

Properties

classNames

classNames: string[]

An array of HTML class names to apply to the editor's main DOM element.

disabled

disabled: boolean

Whether the editor should be initially disabled.

inputListeners

inputListeners: Function[]

Each of these functions will be called on click, input, and keyup. No arguments will be passed.

oninput

oninput: Function

This is separate from inputListeners since the full serialized content will be passed to it. It is considered private API, and should not be used/modified by extensions not implementing EditorDriverInterface.

onsubmit

onsubmit: Function

This function will be called if submission is triggered programmatically via keybind. No arguments should be passed.

placeholder

placeholder: string

An optional placeholder for the editor.

value

value: string

An optional initial value for the editor.

Generated using TypeDoc version 0.22.10