tuil
ReferencePackages@mwillbanks/tuil-editorAPI

EditorProvider

interface exported by @mwillbanks/tuil-editor.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-editor.

export interface EditorProvider extends EditorBackend {
  readonly documentTypes?: readonly string[];
  readonly rendererCapabilities?: readonly string[];
  readonly inputCapabilities?: readonly string[];
  readonly staticModes?: readonly string[];
}

Members

MemberTypeRequiredDescriptionRelated types
documentTypesreadonly string[] | undefinedNoThe documentTypes member uses the readonly string[] | undefined contract.
rendererCapabilitiesreadonly string[] | undefinedNoThe rendererCapabilities member uses the readonly string[] | undefined contract.
inputCapabilitiesreadonly string[] | undefinedNoThe inputCapabilities member uses the readonly string[] | undefined contract.
staticModesreadonly string[] | undefinedNoThe staticModes member uses the readonly string[] | undefined contract.
idstringYesThe id member uses the string contract.
versionstringYesThe version member uses the string contract.
capabilitiesReadonlySet<EditorCapability>YesThe capabilities member uses the ReadonlySet<EditorCapability> contract.EditorCapability
create(options: EditorProviderOptions) => EditorSessionYesThe create member uses the (options: EditorProviderOptions) => EditorSession contract.EditorProviderOptions, EditorSession

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-editor

On this page