Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/editablejs/editable
/ functions
Functions
1,380 in github.com/editablejs/editable
⨍
Functions
1,380
◇
Types & classes
479
Function
defaultUpload
(file: File | string)
packages/plugins/image/src/utils.ts:81
Method
delMeta
* Delete a store meta value.
packages/yjs-websocket/src/server/mongodb/persistence.ts:160
Function
delay
(n: number)
packages/editor/src/hooks/use-cancellable-promises.ts:26
Function
deselect
(editor: Editor)
packages/editor/src/plugin/editable.ts:365
Method
destroy
()
packages/yjs-websocket/src/index.ts:485
Method
destroy
()
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:100
Method
destroy
()
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:113
Method
destroy
()
packages/plugins/codeblock/src/plugin/yjs/sync.ts:163
Function
dispatchDiscreteCustomEvent
* 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
Function
downloadHTML
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:41
Function
elements
(editor: SlateEditor, at?: Location)
packages/models/src/interfaces/editor.ts:194
Function
encodeAwarenessUpdate
( awareness: Awareness, clients: number[], states = awareness.states, )
packages/yjs-protocols/src/awareness.ts:185
Function
esbuildOptions
(options)
packages/yjs-websocket/tsup.config.ts:7
Function
esbuildOptions
(options)
packages/config/tsup-config/tsup.config.js:18
Method
eventNames
()
packages/editor/src/plugin/emitter.ts:28
Function
fakeRequire
apps/docs/src/pages/[[...markdownPath]].js:144
Function
findClosestPoint
(editor: Editor, domNode: DOMNode, x: number, y: number)
packages/editor/src/plugin/editable.ts:524
Function
findDocumentOrShadowRoot
* Find the DOM node that implements DocumentOrShadowRoot for the editor.
packages/editor/src/plugin/editable.ts:321
Function
findEventPoint
* Get the target point from a DOM `event`.
packages/editor/src/plugin/editable.ts:671
Function
findKey
* Find a key for a Editor node.
packages/editor/src/plugin/editable.ts:274
Function
findLineEdgePoint
( editor: Editor, { at, edge = 'start' }: { at?: Range; edge?: 'start' | 'end' } = {}, )
packages/editor/src/plugin/editable.ts:742
Function
findLowestDOMElements
(editor: Editor, node: Node)
packages/editor/src/plugin/editable.ts:515
Function
findNextLinePoint
(editor: Editor, at?: Range)
packages/editor/src/plugin/editable.ts:768
Function
findPath
* Find the path of Editor node.
packages/editor/src/plugin/editable.ts:289
Function
findPointOnLine
(editor: Editor, path: Path, offset: number, moveNext: boolean = false)
packages/editor/src/plugin/editable.ts:855
Function
findPreviousLinePoint
(editor: Editor, at?: Range)
packages/editor/src/plugin/editable.ts:685
Function
findTextOffsetOnLine
(editor: Editor, point: Point)
packages/editor/src/plugin/editable.ts:823
Function
flushDB
(adapter: MongoAdapter)
packages/yjs-websocket/src/server/mongodb/utils.ts:69
Method
flushDB
* Delete the whole yjs mongodb
packages/yjs-websocket/src/server/mongodb/persistence.ts:193
Function
flushDocument
( adapter: MongoAdapter, docName: string, stateAsUpdate: Uint8Array, stateVector: Uint8Array, )
packages/yjs-websocket/src/server/mongodb/utils.ts:183
Function
flushLocalChanges
(editor: YjsEditor)
packages/plugins/yjs/src/plugin/with-yjs.ts:72
Function
focus
* Focus the editor.
packages/editor/src/plugin/editable.ts:361
Function
fromJSON
(json: any)
packages/plugins/codeblock/src/plugin/yjs/range.ts:10
Function
get
(editor: Editor)
packages/plugins/history/src/history-stack.ts:40
Method
getAllDocNames
* Retrieve the names of all stored documents.
packages/yjs-websocket/src/server/mongodb/persistence.ts:171
Function
getAuthor
(author: string)
apps/docs/src/utils/get-author.ts:4
Function
getCharOffsetBackward
(text: string, offset: number)
packages/editor/src/utils/text.ts:30
Function
getCurrentValue
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:14
Method
getDiff
* Get the differences directly from the database. * The same as Y.encodeStateAsUpdate(ydoc, stateVector).
packages/yjs-websocket/src/server/mongodb/persistence.ts:115
Method
getMeta
* 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
Function
getMongoUpdates
(adapter: MongoAdapter, docName: string, opts: any = {})
packages/yjs-websocket/src/server/mongodb/utils.ts:82
Function
getNextMatch
* 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
Function
getOptions
(editor: Editor)
packages/plugins/blockquote/src/options.ts:11
Function
getOptions
(editor: Editor)
packages/plugins/link/src/options.ts:13
Function
getOptions
(editor: Editor)
packages/plugins/hr/src/options.ts:14
Function
getOptions
(editor: Editor)
packages/plugins/mark/src/options.ts:15
Function
getOptions
(editor: Editor)
packages/plugins/table/src/cell/options.ts:11
Function
getOptions
(editor: Editor)
packages/plugins/context-menu/src/options.ts:6
Function
getOptions
(editor: Editor)
packages/plugins/title/src/options.ts:16
Function
getOptions
(editor: Editor)
packages/plugins/font/src/size/options.ts:12
Function
getOptions
(editor: Editor)
packages/plugins/font/src/color/options.ts:12
Function
getOptions
(editor: Editor)
packages/plugins/font/src/background-color/options.ts:12
Function
getOptions
(editor: Editor)
packages/plugins/list/src/task/options.ts:12
Function
getOptions
(editor: Editor)
packages/plugins/list/src/unordered/options.ts:12
Function
getOptions
(editor: Editor)
packages/plugins/list/src/ordered/options.ts:12
Function
getSelectLine
* 获取在选区内选中一行内容的节点以及所在行的索引 * @param editor * @param options * @returns
packages/editor/src/plugin/editable.ts:191
Function
getServerSnapshot
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:21
Method
getStateVector
* 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
Function
getStaticPaths
(context)
apps/docs/src/pages/[[...markdownPath]].js:196
Function
getStaticProps
(context)
apps/docs/src/pages/[[...markdownPath]].js:57
Method
getSubDoc
(id: string)
packages/yjs-websocket/src/index.ts:481
Method
getSubDoc
(id: string)
packages/yjs-websocket/src/server/utils.ts:160
Function
getWindow
* Return the host window of the current editor.
packages/editor/src/plugin/editable.ts:262
Function
handleAnimationEnd
(event: AnimationEvent)
packages/ui/src/presence.tsx:100
Function
handleAnimationStart
(event: AnimationEvent)
packages/ui/src/presence.tsx:110
Function
handleAuth
(ws: WebSocket)
packages/yjs-websocket/src/server/start.ts:48
Function
handleBeforeInput
(event: React.FormEvent<HTMLTextAreaElement>)
packages/editor/src/components/input.tsx:74
Function
handleBlur
()
packages/editor/src/components/input.tsx:66
Function
handleCancel
()
packages/plugins/link/src/components/link.tsx:49
Function
handleChallengeChange
(index: number)
apps/docs/src/components/mdx/challenges/challenges.tsx:100
Function
handleChange
()
packages/editor/src/components/editable.tsx:49
Function
handleChange
()
packages/plugins/toolbar/src/slash/components/slash-search.tsx:60
Function
handleChange
()
packages/plugins/toolbar/src/inline/components/inline-toolbar.tsx:117
Function
handleChange
()
packages/plugins/mention/src/components/mention-search.tsx:57
Function
handleCompositionEnd
(event: React.CompositionEvent)
packages/editor/src/components/input.tsx:96
Function
handleCompositionStart
(ev: React.CompositionEvent)
packages/editor/src/components/input.tsx:91
Function
handleContentLeave
(event: PointerEvent)
packages/ui/src/hooks/use-pointer-in-transit.ts:158
Function
handleContextMenu
(event: React.MouseEvent)
packages/editor/src/components/content.tsx:583
Function
handleContextMenu
(e: MouseEvent)
packages/ui/src/context-menu.tsx:227
Function
handleContextMenu
(e: MouseEvent)
packages/plugins/context-menu/src/components/context-menu-portal.tsx:29
Function
handleDocumentClickCapture
(e: MouseEvent)
apps/docs/src/components/layout/nav/nav.tsx:92
Function
handleDocumentMouseDown
(event: MouseEvent | TouchEvent)
packages/editor/src/components/content.tsx:143
Function
handleDocumentMouseMove
(event: MouseEvent | TouchEvent)
packages/editor/src/components/content.tsx:305
Function
handleDocumentTouchEnd
(event: TouchEvent)
packages/editor/src/components/content.tsx:173
Function
handleDragOver
(event: React.DragEvent)
packages/editor/src/components/content.tsx:543
Function
handleDrop
(event: React.DragEvent)
packages/editor/src/components/content.tsx:570
Function
handleFocus
()
packages/editor/src/components/input.tsx:70
Function
handleFocus
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:92
Function
handleHistoryBeforeTransaction
(transaction: Y.Transaction)
packages/plugins/yjs/src/plugin/with-history.ts:196
Function
handleImageClick
(event: React.MouseEvent)
packages/plugins/image/src/components/image.tsx:205
Function
handleImageDown
()
packages/plugins/image/src/components/image.tsx:201
Function
handleInput
(event: React.FormEvent<HTMLTextAreaElement>)
packages/editor/src/components/input.tsx:81
Function
handleKeyDown
()
packages/ui/src/menu.tsx:75
Function
handleKeyDown
(event: KeyboardEvent)
packages/ui/src/hooks/use-escape-keydown.ts:11
Function
handleKeyDown
(event: KeyboardEvent)
packages/plugins/toolbar/src/slash/components/slash-search.tsx:113
Function
handleKeyDown
(event: KeyboardEvent)
packages/plugins/mention/src/components/mention-search.tsx:108
Function
handleKeydown
(event: React.KeyboardEvent)
packages/editor/src/components/input.tsx:49
Function
handleKeydown
(event: KeyboardEvent)
packages/plugins/context-menu/src/components/context-menu-portal.tsx:44
Function
handleKeyup
(event: React.KeyboardEvent)
packages/editor/src/components/input.tsx:61
Function
handleKeyup
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:105
← previous
next →
1,001–1,100 of 1,380, ranked by callers