Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WithLinkOptions

Hierarchy

  • WithLinkOptions

Index

Properties

Optional getLinkUrl

getLinkUrl: (prevUrl: null | string) => Promise<null | string>

On keyboard shortcut or toolbar mousedown, get the link url by calling this promise. The default behavior is to use the browser's native prompt.

Type declaration

    • (prevUrl: null | string): Promise<null | string>
    • Parameters

      • prevUrl: null | string

      Returns Promise<null | string>

Optional isUrl

isUrl: (text: string) => boolean

Callback to validate an url.

Type declaration

    • (text: string): boolean
    • Parameters

      • text: string

      Returns boolean

Optional rangeBeforeOptions

rangeBeforeOptions: RangeBeforeOptions

Allow custom config for rangeBeforeOptions.

Generated using TypeDoc