Options
All
  • Public
  • Public/Protected
  • All
Menu

This mode is purely designed to help test wed, and nothing else. Don't derive anything from it and don't use it for editing.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private draggableAction

draggableAction: DraggableModalAction

Private draggableResizableAction

draggableResizableAction: DraggableResizableModalAction

Protected editor

editor: EditorAPI

The editor for which this mode is created.

Protected metadata

metadata: Metadata

Protected options

The options for the mode. Each mode defines what fields this object contains.

Private resizableAction

resizableAction: ResizableModalAction

Protected resolver

resolver: DefaultNameResolver

Protected tagTr

tagTr: Record<string, Transformation<NamedTransformationData>>

Private typeaheadAction

typeaheadAction: TypeaheadAction

Methods

checkOptions

documentationLinkFor

  • documentationLinkFor(name: string): string | null | undefined

getAbsoluteNamespaceMappings

  • getAbsoluteNamespaceMappings(): Record<string, string>

getAbsoluteResolver

  • getAbsoluteResolver(): DefaultNameResolver

getAttributeCompletions

  • getAttributeCompletions(attr: Attr): string[]

getContextualActions

  • getContextualActions(transformationType: string | string[], tag: string, container: Node, offset: number): Action<__type>[]

getModeOptions

getStylesheets

  • getStylesheets(): string[]

getToolbarButtons

  • getToolbarButtons(): Button[]

getValidator

getWedOptions

  • getWedOptions(): WedOptions

init

  • init(): Promise<void>

makeDecorator

makeMetadata

makePlaceholderFor

  • makePlaceholderFor(_element: Element): Element

nodesAroundEditableContents

  • nodesAroundEditableContents(element: Element): [Node | null, Node | null]

shortDescriptionFor

  • shortDescriptionFor(name: string): string | null | undefined

unresolveName

  • unresolveName(name: EName): string | undefined

Object literals

optionTemplate

optionTemplate: object

ambiguous_fileDesc_insert

ambiguous_fileDesc_insert: false = false

autoinsert

autoinsert: false = false

fileDesc_insert_needs_input

fileDesc_insert_needs_input: false = false

hide_attributes

hide_attributes: false = false

metadata

metadata: true = true

nameSuffix

nameSuffix: false = false

stylesheets

stylesheets: false = false

Protected wedOptions

wedOptions: object

label_levels

label_levels: object

initial

initial: number = 1

max

max: number = 1

metadata

metadata: object

authors

authors: string[] = ["Louis-Dominique Dubeau"]

copyright

copyright: string = "Mangalam Research Center for Buddhist Languages"

description

description: string = "The base mode. You should not be using it directly."

license

license: string = "MPL 2.0"

name

name: string = "Base Mode (you should not be using this)"

Generated using TypeDoc