Skip to main content

editor

ai-research-agent / editor

Functions

input()

function input(editor): object

Parameters

ParameterType

editor

Editor

Returns

object

NameType
allowComposition()
destroy()
init()

keyboard()

function keyboard(editor): object

Parameters

ParameterType

editor

Editor

Returns

object

NameType
destroy()
init()

paste()

function paste(editor, options?): object

Parameters

ParameterType

editor

Editor

options?

PasteModuleOptions

Returns

object

NameType
commands{ paste: (__namedParameters) => void; }
destroy()
init()

rendering()

function rendering(editor): object

Parameters

ParameterType

editor

Editor

Returns

object

NameType
render(what?) => void
destroy()

selection()

function selection(editor): object

Parameters

ParameterType

editor

Editor

Returns

object

NameType
pause() => void
renderSelection() => void
resume() => void
destroy()
init()

References

activeStore

Re-exports activeStore

addShortcutsToEvent

Re-exports addShortcutsToEvent

applyDecorations

Re-exports applyDecorations

asRoot

Re-exports asRoot

AttributeMap

Renames and re-exports default

BasicType

Re-exports BasicType

BLOCK_ELEMENTS

Re-exports BLOCK_ELEMENTS

blockquote

Re-exports blockquote

bold

Re-exports bold

br

Re-exports br

BubbleMenu

Re-exports BubbleMenu

cleanText

Re-exports cleanText

cloneDeep

Renames and re-exports default

code

Re-exports code

codeblock

Re-exports codeblock

Combined

Re-exports Combined

CombinedEntry

Re-exports CombinedEntry

combineLines

Re-exports combineLines

Commands

Re-exports Commands

copy

Re-exports copy

CopyData

Re-exports CopyData

CopyOptions

Re-exports CopyOptions

DecorateEvent

Re-exports DecorateEvent

DecorateEventInit

Re-exports DecorateEventInit

decorations

Re-exports decorations

Decorations

Re-exports Decorations

DecorationsModule

Re-exports DecorationsModule

Decorator

Re-exports Decorator

defaultHandlers

Re-exports defaultHandlers

defaultModules

Re-exports defaultModules

defaultTypes

Re-exports defaultTypes

Delta

Renames and re-exports default

deltaFromDom

Re-exports deltaFromDom

deltaFromHTML

Re-exports deltaFromHTML

DeltaFromHTMLOptions

Re-exports DeltaFromHTMLOptions

deltaToText

Re-exports deltaToText

derivedEditorStore

Re-exports derivedEditorStore

diff

Renames and re-exports default

dl

Re-exports dl

docFromDom

Re-exports docFromDom

docFromHTML

Re-exports docFromHTML

docStore

Re-exports docStore

docToHTML

Re-exports docToHTML

Editor

Re-exports Editor

EditorChangeEvent

Re-exports EditorChangeEvent

EditorChangeEventInit

Re-exports EditorChangeEventInit

EditorEventMap

Re-exports EditorEventMap

EditorFormatEvent

Re-exports EditorFormatEvent

EditorFormatEventInit

Re-exports EditorFormatEventInit

EditorOptions

Re-exports EditorOptions

EditorRange

Re-exports EditorRange

editorStores

Re-exports editorStores

EditorStores

Re-exports EditorStores

EditorTextChange

Re-exports EditorTextChange

embed

Re-exports embed

EmbedType

Re-exports EmbedType

EventDispatcher

Re-exports EventDispatcher

focusStore

Re-exports focusStore

format

Re-exports format

FormattingOptions

Re-exports FormattingOptions

FormatType

Re-exports FormatType

FromDom

Re-exports FromDom

FromDomOptions

Re-exports FromDomOptions

fromNode

Re-exports fromNode

getBoudingBrowserRange

Re-exports getBoudingBrowserRange

getBrowserRange

Re-exports getBrowserRange

getChangedRanges

Re-exports getChangedRanges

getIndexFromNode

Re-exports getIndexFromNode

getIndexFromNodeAndOffset

Re-exports getIndexFromNodeAndOffset

getIndexFromPoint

Re-exports getIndexFromPoint

getLineElementAt

Re-exports getLineElementAt

getLineInfoFromPoint

Re-exports getLineInfoFromPoint

getLineNodeEnd

Re-exports getLineNodeEnd

getLineNodeStart

Re-exports getLineNodeStart

getNodeAndOffset

Re-exports getNodeAndOffset

getNodeLength

Re-exports getNodeLength

getNodesForRange

Re-exports getNodesForRange

getSelection

Re-exports getSelection

h

Re-exports h

H

Re-exports H

Handler

Re-exports Handler

hasFormat

Re-exports hasFormat

Re-exports header

history

Re-exports history

HistoryModule

Re-exports HistoryModule

hr

Re-exports hr

HTMLLineElement

Re-exports HTMLLineElement

image

Re-exports image

initHistory

Re-exports initHistory

InlineMenu

Renames and re-exports BubbleMenu

inlineToHTML

Re-exports inlineToHTML

intersect

Re-exports intersect

isBRPlaceholder

Re-exports isBRPlaceholder

isEqual

Renames and re-exports default

italic

Re-exports italic

KeyboardEventWithShortcut

Re-exports KeyboardEventWithShortcut

line

Re-exports line

Line

Renames and re-exports default

LineData

Re-exports LineData

LineIds

Re-exports LineIds

LineInfo

Re-exports LineInfo

LineIterator

Re-exports LineIterator

LineOp

Renames and re-exports default

LineOpIterator

Re-exports LineOpIterator

LineRanges

Re-exports LineRanges

lineReplace

Re-exports lineReplace

lineReplacements

Re-exports lineReplacements

LineType

Re-exports LineType

Re-exports link

linkReplace

Re-exports linkReplace

linkReplacements

Re-exports linkReplacements

list

Re-exports list

mark

Re-exports mark

markReplace

Re-exports markReplace

markReplacements

Re-exports markReplacements

Module

Re-exports Module

ModuleInitializer

Re-exports ModuleInitializer

ModuleInitializers

Re-exports ModuleInitializers

Modules

Re-exports Modules

MultiLineRenderer

Re-exports MultiLineRenderer

normalizeRange

Re-exports normalizeRange

Op

Renames and re-exports default

OpIterator

Re-exports OpIterator

options

Re-exports options

Options

Re-exports Options

paragraph

Re-exports paragraph

PasteEvent

Re-exports PasteEvent

PasteEventInit

Re-exports PasteEventInit

PasteModuleOptions

Re-exports PasteModuleOptions

PasteOptions

Re-exports PasteOptions

patch

Re-exports patch

placeholder

Re-exports placeholder

Props

Re-exports Props

React

Re-exports React

Readable

Re-exports Readable

recycleNode

Re-exports recycleNode

render

Re-exports render

renderChanges

Re-exports renderChanges

renderCombined

Re-exports renderCombined

renderDoc

Re-exports renderDoc

Renderer

Re-exports Renderer

renderInline

Re-exports renderInline

renderLine

Re-exports renderLine

renderMultiLine

Re-exports renderMultiLine

renderSingleLine

Re-exports renderSingleLine

RenderWhat

Re-exports RenderWhat

Replacement

Re-exports Replacement

Root

Renames and re-exports BubbleMenu

rootStore

Re-exports rootStore

selectionStore

Re-exports selectionStore

setLineNodesRanges

Re-exports setLineNodesRanges

setSelection

Re-exports setSelection

ShortcutEvent

Re-exports ShortcutEvent

ShortcutEventInit

Re-exports ShortcutEventInit

shortcutFromEvent

Re-exports shortcutFromEvent

Shortcuts

Re-exports Shortcuts

ShouldCombine

Re-exports ShouldCombine

smartEntry

Re-exports smartEntry

smartQuotes

Re-exports smartQuotes

Source

Re-exports Source

SourceString

Re-exports SourceString

StackEntry

Re-exports StackEntry

Subscriber

Re-exports Subscriber

TextChange

Renames and re-exports default

TextDocument

Renames and re-exports default

textNodeLength

Re-exports textNodeLength

textReplace

Re-exports textReplace

TextReplacement

Re-exports TextReplacement

textReplacements

Re-exports textReplacements

Toolbar

Renames and re-exports BubbleMenu

transformHistoryStack

Re-exports transformHistoryStack

TypeMap

Re-exports TypeMap

Types

Re-exports Types

Typeset

Re-exports Typeset

TypesetTypes

Re-exports TypesetTypes

underline

Re-exports underline

undoStack

Re-exports undoStack

UndoStack

Re-exports UndoStack

Unsubscriber

Re-exports Unsubscriber

VChild

Re-exports VChild

virtualRendering

Re-exports virtualRendering

VirtualRenderWhat

Re-exports VirtualRenderWhat

VNode

Re-exports VNode