MCPcopy Create free account

hub / github.com/editablejs/editable / functions

Functions1,380 in github.com/editablejs/editable

FunctiondefaultUpload
(file: File | string)
packages/plugins/image/src/utils.ts:81
MethoddelMeta
* Delete a store meta value.
packages/yjs-websocket/src/server/mongodb/persistence.ts:160
Functiondelay
(n: number)
packages/editor/src/hooks/use-cancellable-promises.ts:26
Functiondeselect
(editor: Editor)
packages/editor/src/plugin/editable.ts:365
Methoddestroy
()
packages/yjs-websocket/src/index.ts:485
Methoddestroy
()
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:100
Methoddestroy
()
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:113
Methoddestroy
()
packages/plugins/codeblock/src/plugin/yjs/sync.ts:163
FunctiondispatchDiscreteCustomEvent
* Flush custom event dispatch * https://github.com/radix-ui/primitives/pull/1378 * * React batches *all* event handlers since version 18, this intr
packages/ui/src/root.tsx:100
FunctiondownloadHTML
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:41
Functionelements
(editor: SlateEditor, at?: Location)
packages/models/src/interfaces/editor.ts:194
FunctionencodeAwarenessUpdate
( awareness: Awareness, clients: number[], states = awareness.states, )
packages/yjs-protocols/src/awareness.ts:185
FunctionesbuildOptions
(options)
packages/yjs-websocket/tsup.config.ts:7
FunctionesbuildOptions
(options)
packages/config/tsup-config/tsup.config.js:18
MethodeventNames
()
packages/editor/src/plugin/emitter.ts:28
FunctionfakeRequire
apps/docs/src/pages/[[...markdownPath]].js:144
FunctionfindClosestPoint
(editor: Editor, domNode: DOMNode, x: number, y: number)
packages/editor/src/plugin/editable.ts:524
FunctionfindDocumentOrShadowRoot
* Find the DOM node that implements DocumentOrShadowRoot for the editor.
packages/editor/src/plugin/editable.ts:321
FunctionfindEventPoint
* Get the target point from a DOM `event`.
packages/editor/src/plugin/editable.ts:671
FunctionfindKey
* Find a key for a Editor node.
packages/editor/src/plugin/editable.ts:274
FunctionfindLineEdgePoint
( editor: Editor, { at, edge = 'start' }: { at?: Range; edge?: 'start' | 'end' } = {}, )
packages/editor/src/plugin/editable.ts:742
FunctionfindLowestDOMElements
(editor: Editor, node: Node)
packages/editor/src/plugin/editable.ts:515
FunctionfindNextLinePoint
(editor: Editor, at?: Range)
packages/editor/src/plugin/editable.ts:768
FunctionfindPath
* Find the path of Editor node.
packages/editor/src/plugin/editable.ts:289
FunctionfindPointOnLine
(editor: Editor, path: Path, offset: number, moveNext: boolean = false)
packages/editor/src/plugin/editable.ts:855
FunctionfindPreviousLinePoint
(editor: Editor, at?: Range)
packages/editor/src/plugin/editable.ts:685
FunctionfindTextOffsetOnLine
(editor: Editor, point: Point)
packages/editor/src/plugin/editable.ts:823
FunctionflushDB
(adapter: MongoAdapter)
packages/yjs-websocket/src/server/mongodb/utils.ts:69
MethodflushDB
* Delete the whole yjs mongodb
packages/yjs-websocket/src/server/mongodb/persistence.ts:193
FunctionflushDocument
( adapter: MongoAdapter, docName: string, stateAsUpdate: Uint8Array, stateVector: Uint8Array, )
packages/yjs-websocket/src/server/mongodb/utils.ts:183
FunctionflushLocalChanges
(editor: YjsEditor)
packages/plugins/yjs/src/plugin/with-yjs.ts:72
Functionfocus
* Focus the editor.
packages/editor/src/plugin/editable.ts:361
FunctionfromJSON
(json: any)
packages/plugins/codeblock/src/plugin/yjs/range.ts:10
Functionget
(editor: Editor)
packages/plugins/history/src/history-stack.ts:40
MethodgetAllDocNames
* Retrieve the names of all stored documents.
packages/yjs-websocket/src/server/mongodb/persistence.ts:171
FunctiongetAuthor
(author: string)
apps/docs/src/utils/get-author.ts:4
FunctiongetCharOffsetBackward
(text: string, offset: number)
packages/editor/src/utils/text.ts:30
FunctiongetCurrentValue
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:14
MethodgetDiff
* Get the differences directly from the database. * The same as Y.encodeStateAsUpdate(ydoc, stateVector).
packages/yjs-websocket/src/server/mongodb/persistence.ts:115
MethodgetMeta
* Retrieve a store meta value from the database. Returns undefined if the * metaKey doesn't exist.
packages/yjs-websocket/src/server/mongodb/persistence.ts:147
FunctiongetMongoUpdates
(adapter: MongoAdapter, docName: string, opts: any = {})
packages/yjs-websocket/src/server/mongodb/utils.ts:82
FunctiongetNextMatch
* This is the "meat" of the typeahead matching logic. It takes in all the values, * the search and the current match, and returns the next match (or
packages/ui/src/menu.tsx:961
FunctiongetOptions
(editor: Editor)
packages/plugins/blockquote/src/options.ts:11
FunctiongetOptions
(editor: Editor)
packages/plugins/link/src/options.ts:13
FunctiongetOptions
(editor: Editor)
packages/plugins/hr/src/options.ts:14
FunctiongetOptions
(editor: Editor)
packages/plugins/mark/src/options.ts:15
FunctiongetOptions
(editor: Editor)
packages/plugins/table/src/cell/options.ts:11
FunctiongetOptions
(editor: Editor)
packages/plugins/context-menu/src/options.ts:6
FunctiongetOptions
(editor: Editor)
packages/plugins/title/src/options.ts:16
FunctiongetOptions
(editor: Editor)
packages/plugins/font/src/size/options.ts:12
FunctiongetOptions
(editor: Editor)
packages/plugins/font/src/color/options.ts:12
FunctiongetOptions
(editor: Editor)
packages/plugins/font/src/background-color/options.ts:12
FunctiongetOptions
(editor: Editor)
packages/plugins/list/src/task/options.ts:12
FunctiongetOptions
(editor: Editor)
packages/plugins/list/src/unordered/options.ts:12
FunctiongetOptions
(editor: Editor)
packages/plugins/list/src/ordered/options.ts:12
FunctiongetSelectLine
* 获取在选区内选中一行内容的节点以及所在行的索引 * @param editor * @param options * @returns
packages/editor/src/plugin/editable.ts:191
FunctiongetServerSnapshot
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:21
MethodgetStateVector
* The state vector (describing the state of the persisted document - see https://github.com/yjs/yjs#Document-Updates) is maintained in a separate fiel
packages/yjs-websocket/src/server/mongodb/persistence.ts:92
FunctiongetStaticPaths
(context)
apps/docs/src/pages/[[...markdownPath]].js:196
FunctiongetStaticProps
(context)
apps/docs/src/pages/[[...markdownPath]].js:57
MethodgetSubDoc
(id: string)
packages/yjs-websocket/src/index.ts:481
MethodgetSubDoc
(id: string)
packages/yjs-websocket/src/server/utils.ts:160
FunctiongetWindow
* Return the host window of the current editor.
packages/editor/src/plugin/editable.ts:262
FunctionhandleAnimationEnd
(event: AnimationEvent)
packages/ui/src/presence.tsx:100
FunctionhandleAnimationStart
(event: AnimationEvent)
packages/ui/src/presence.tsx:110
FunctionhandleAuth
(ws: WebSocket)
packages/yjs-websocket/src/server/start.ts:48
FunctionhandleBeforeInput
(event: React.FormEvent<HTMLTextAreaElement>)
packages/editor/src/components/input.tsx:74
FunctionhandleBlur
()
packages/editor/src/components/input.tsx:66
FunctionhandleCancel
()
packages/plugins/link/src/components/link.tsx:49
FunctionhandleChallengeChange
(index: number)
apps/docs/src/components/mdx/challenges/challenges.tsx:100
FunctionhandleChange
()
packages/editor/src/components/editable.tsx:49
FunctionhandleChange
()
packages/plugins/toolbar/src/slash/components/slash-search.tsx:60
FunctionhandleChange
()
packages/plugins/toolbar/src/inline/components/inline-toolbar.tsx:117
FunctionhandleChange
()
packages/plugins/mention/src/components/mention-search.tsx:57
FunctionhandleCompositionEnd
(event: React.CompositionEvent)
packages/editor/src/components/input.tsx:96
FunctionhandleCompositionStart
(ev: React.CompositionEvent)
packages/editor/src/components/input.tsx:91
FunctionhandleContentLeave
(event: PointerEvent)
packages/ui/src/hooks/use-pointer-in-transit.ts:158
FunctionhandleContextMenu
(event: React.MouseEvent)
packages/editor/src/components/content.tsx:583
FunctionhandleContextMenu
(e: MouseEvent)
packages/ui/src/context-menu.tsx:227
FunctionhandleContextMenu
(e: MouseEvent)
packages/plugins/context-menu/src/components/context-menu-portal.tsx:29
FunctionhandleDocumentClickCapture
(e: MouseEvent)
apps/docs/src/components/layout/nav/nav.tsx:92
FunctionhandleDocumentMouseDown
(event: MouseEvent | TouchEvent)
packages/editor/src/components/content.tsx:143
FunctionhandleDocumentMouseMove
(event: MouseEvent | TouchEvent)
packages/editor/src/components/content.tsx:305
FunctionhandleDocumentTouchEnd
(event: TouchEvent)
packages/editor/src/components/content.tsx:173
FunctionhandleDragOver
(event: React.DragEvent)
packages/editor/src/components/content.tsx:543
FunctionhandleDrop
(event: React.DragEvent)
packages/editor/src/components/content.tsx:570
FunctionhandleFocus
()
packages/editor/src/components/input.tsx:70
FunctionhandleFocus
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:92
FunctionhandleHistoryBeforeTransaction
(transaction: Y.Transaction)
packages/plugins/yjs/src/plugin/with-history.ts:196
FunctionhandleImageClick
(event: React.MouseEvent)
packages/plugins/image/src/components/image.tsx:205
FunctionhandleImageDown
()
packages/plugins/image/src/components/image.tsx:201
FunctionhandleInput
(event: React.FormEvent<HTMLTextAreaElement>)
packages/editor/src/components/input.tsx:81
FunctionhandleKeyDown
()
packages/ui/src/menu.tsx:75
FunctionhandleKeyDown
(event: KeyboardEvent)
packages/ui/src/hooks/use-escape-keydown.ts:11
FunctionhandleKeyDown
(event: KeyboardEvent)
packages/plugins/toolbar/src/slash/components/slash-search.tsx:113
FunctionhandleKeyDown
(event: KeyboardEvent)
packages/plugins/mention/src/components/mention-search.tsx:108
FunctionhandleKeydown
(event: React.KeyboardEvent)
packages/editor/src/components/input.tsx:49
FunctionhandleKeydown
(event: KeyboardEvent)
packages/plugins/context-menu/src/components/context-menu-portal.tsx:44
FunctionhandleKeyup
(event: React.KeyboardEvent)
packages/editor/src/components/input.tsx:61
FunctionhandleKeyup
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:105
← previousnext →1,001–1,100 of 1,380, ranked by callers