MCPcopy Index your code

hub / github.com/editablejs/editable / functions

Functions1,380 in github.com/editablejs/editable

↓ 215 callersMethodget
(query: T)
packages/yjs-websocket/src/server/mongodb/adapter.ts:42
↓ 96 callersFunctioncreateEditor
()
packages/models/src/interfaces/editor.ts:221
↓ 70 callersFunctionwithEditor
( editor: Editor, transform: TextSerializerWithTransform<T>, options: T, )
packages/serializer/src/text.ts:39
↓ 63 callersMethodon
(type: string | number, listener: Listener, prepend = false)
packages/editor/src/plugin/emitter.ts:56
↓ 45 callersFunctioncreate
(key: string)
packages/editor/src/utils/hotkeys.ts:64
↓ 45 callersMethodoff
(type: string | number, listener: Listener)
packages/editor/src/plugin/emitter.ts:94
↓ 42 callersMethodemit
(type: string | number, ...args: any[])
packages/editor/src/plugin/emitter.ts:41
↓ 39 callersFunctionuseEditableStatic
()
packages/editor/src/hooks/use-editable.tsx:31
↓ 31 callersFunctioncomposeEventHandlers
( originalEventHandler?: (event: E) => void, ourEventHandler?: (event: E) => void, { checkForDefaultPrev
packages/ui/src/utils.ts:4
↓ 30 callersMethodfocus
(start?: boolean)
packages/editor/src/plugin/editable.ts:135
↓ 27 callersFunctionsetOpen
(editor: Editor, open: boolean)
packages/plugins/mention/src/store.ts:29
↓ 21 callersFunctionuseComposedRefs
* A custom hook that composes multiple refs * Accepts callback refs and RefObject(s)
packages/ui/src/compose-refs.ts:29
↓ 19 callersFunctionisDOMHTMLElement
(value: any)
packages/models/src/utils/dom.ts:46
↓ 19 callersFunctionsend
(doc: WSSharedDocInterface, conn: WebSocket.WebSocket, m: Uint8Array)
packages/yjs-websocket/src/server/utils.ts:267
↓ 16 callersFunctionuseCallbackRef
* A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a * prop or avoid re-executing effects when passed as
packages/ui/src/hooks/use-callback-ref.ts:7
↓ 15 callersFunctionwithEditorPlugin
(editor: Editor, plugin: MarkdownSerializerPlugin)
packages/serializer/src/markdown.ts:102
↓ 12 callersFunctionString
packages/editor/src/components/string.tsx:22
↓ 12 callersFunctiongetYTarget
(yRoot: Y.XmlText, editorRoot: Node, path: Path)
packages/yjs-transform/src/location.ts:20
↓ 12 callersFunctionisDOMElement
(value: any)
packages/models/src/utils/dom.ts:42
↓ 12 callersFunctionuseScrollAreaContext
()
packages/ui/src/scroll-area.tsx:51
↓ 11 callersFunctioncreate
(children: Descendant[])
packages/plugins/blockquote/src/interfaces/blockquote.ts:13
↓ 11 callersFunctiononChange
(checked: boolean)
packages/plugins/list/src/task/plugin/with-task-list.tsx:120
↓ 11 callersFunctionwithHistoryProtocol
(editor: Editor)
packages/protocols/src/history.ts:52
↓ 10 callersFunctionclassNameToken
(name: string)
apps/docs/src/components/mdx/code-block/code-block.tsx:226
↓ 10 callersFunctiongetCharFromGraphemeBreaker
(text: string, offset: number, backward = false)
packages/editor/src/utils/text.ts:10
↓ 10 callersFunctionuseLocale
( componentName: T, defaultLocale?: L[T] | (() => L[T]), )
packages/editor/src/hooks/use-locale.ts:18
↓ 10 callersFunctionuseReadOnly
()
packages/editor/src/hooks/use-read-only.ts:23
↓ 9 callersMethodtoJSON
()
packages/plugins/codeblock/src/plugin/yjs/range.ts:6
↓ 9 callersMethodupdate
(_: ViewUpdate)
packages/plugins/codeblock/src/plugin/yjs/extension.ts:102
↓ 9 callersFunctionyTextToInsertDelta
(yText: Y.XmlText)
packages/yjs-transform/src/delta.ts:35
↓ 8 callersFunctiongenerateRandomKey
()
packages/models/src/utils/key.ts:20
↓ 8 callersFunctiongetCapturedData
(editor: Editable)
packages/plugins/toolbar/src/side/weak-map.ts:14
↓ 8 callersFunctiongetProperties
( node: TNode, )
packages/yjs-transform/src/editable.ts:4
↓ 8 callersMethodgetStates
()
packages/yjs-protocols/src/awareness.ts:145
↓ 8 callersMethodonOpenChange
(open: boolean)
packages/ui/src/menu.tsx:61
↓ 8 callersFunctionuseNodeFocused
()
packages/editor/src/hooks/use-node-focused.ts:8
↓ 8 callersFunctionusePopoverContext
()
packages/ui/src/popover.tsx:33
↓ 8 callersFunctionwithProviderProtocol
(editor: Editor)
packages/protocols/src/provider.ts:55
↓ 7 callersFunctionfn
(data)
packages/ui/src/popper.tsx:423
↓ 7 callersFunctionnextBreak
(string: string, index = 0)
packages/breaker/src/index.ts:181
↓ 7 callersFunctiononSelect
()
apps/docs/src/configs/context-menu-items.tsx:24
↓ 7 callersMethodredo
()
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:28
↓ 7 callersFunctionsetOpen
(editor: Editable, open: boolean)
packages/plugins/toolbar/src/inline/store.ts:78
↓ 7 callersMethodundo
()
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:24
↓ 7 callersFunctionyOffsetToEditorOffsets
( parent: Element, yOffset: number, opts: { assoc?: number; insert?: boolean } = {}, )
packages/yjs-transform/src/location.ts:61
↓ 6 callersFunctionassertDocumentAttachment
( sharedType: T, )
packages/yjs-transform/src/yjs.ts:3
↓ 6 callersMethodclose
* Close connection to MongoDB instance.
packages/yjs-websocket/src/server/mongodb/adapter.ts:76
↓ 6 callersFunctioncloseConn
(doc: WSSharedDocInterface, conn: WebSocket.WebSocket)
packages/yjs-websocket/src/server/utils.ts:250
↓ 6 callersFunctioncloseMentionDecorate
(editor: Editor)
packages/plugins/mention/src/utils.ts:5
↓ 6 callersFunctioncloseSlashDecorate
(editor: Editor)
packages/plugins/toolbar/src/slash/utils.ts:5
↓ 6 callersMethodconnect
()
packages/yjs-websocket/src/index.ts:564
↓ 6 callersMethoddisconnect
()
packages/yjs-websocket/src/index.ts:556
↓ 6 callersMethodgetLocalState
()
packages/yjs-protocols/src/awareness.ts:95
↓ 6 callersFunctiongetViewer
(editor: Editable)
packages/plugins/image/src/create-viewer.tsx:88
↓ 6 callersFunctionhandleSelect
(color: string, isClose = true)
packages/ui/src/color-picker/index.tsx:79
↓ 6 callersFunctionisDOMNode
(value: any)
packages/models/src/utils/dom.ts:55
↓ 6 callersFunctionisDOMText
(value: any)
packages/models/src/utils/dom.ts:73
↓ 6 callersFunctionisEditableDOMElement
(value: any)
packages/editor/src/utils/dom.ts:112
↓ 6 callersFunctionpatch
(context, key, value)
apps/docs/plugins/remark-header-custom-ids.js:12
↓ 6 callersFunctionpreviousBreak
(string: string, index = string.length)
packages/breaker/src/index.ts:206
↓ 6 callersFunctionsetLineIndent
(editor: Editor, blockEntry: NodeEntry<Indent>, size: number)
packages/plugins/indent/src/utils.ts:16
↓ 6 callersFunctionuseMenuContext
()
packages/ui/src/menu.tsx:46
↓ 6 callersFunctionuseResizeObserver
(element: HTMLElement | null, onResize: () => void)
packages/ui/src/scroll-area.tsx:1056
↓ 5 callersMethodcollection
(name: string)
packages/yjs-websocket/src/server/mongodb/adapter.ts:37
↓ 5 callersFunctionequalOfCharacterType
(char: string, other: string)
packages/editor/src/utils/text.ts:72
↓ 5 callersFunctiongetEditorNodeYLength
(node: Node | undefined)
packages/yjs-transform/src/location.ts:6
↓ 5 callersFunctiongetViewerStore
(editor: Editor)
packages/plugins/image/src/store/viewer.ts:10
↓ 5 callersFunctionhandleChange
()
packages/editor/src/components/content.tsx:483
↓ 5 callersFunctionmatch
(n: Node)
packages/models/src/interfaces/list.ts:100
↓ 5 callersMethodsetLocalState
(state: Record<string, any> | null)
packages/yjs-protocols/src/awareness.ts:99
↓ 5 callersMethodtoRects
()
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:62
↓ 5 callersFunctionuseDragStore
()
packages/editor/src/hooks/use-drag.ts:6
↓ 5 callersFunctionuseExtension
( view: EditorView | null, extensionCreator: () => Extension, deps: any[], )
packages/plugins/codeblock/src/hooks/use-extension.ts:5
↓ 5 callersFunctionuseSelectionDrawingRects
()
packages/editor/src/hooks/use-selection-drawing.ts:25
↓ 5 callersFunctionuseSelectionDrawingSelection
()
packages/editor/src/hooks/use-selection-drawing.ts:20
↓ 5 callersFunctionwhenMouse
(handler: React.PointerEventHandler<E>)
packages/ui/src/menu.tsx:1004
↓ 4 callersFunctionaddToElements
(node: Node)
packages/editor/src/plugin/editable.ts:532
↓ 4 callersFunctionbreaks
(str: string)
packages/breaker/src/index.ts:244
↓ 4 callersFunctionbroadcastMessage
(provider: WebsocketProvider, buf: ArrayBuffer)
packages/yjs-websocket/src/index.ts:207
↓ 4 callersFunctioncloneInsertDeltaDeep
(delta: InsertDelta)
packages/yjs-transform/src/clone.ts:5
↓ 4 callersFunctioncomposeRefs
* A utility to compose multiple refs together * Accepts callback refs and RefObject(s)
packages/ui/src/compose-refs.ts:21
↓ 4 callersMethodcopy
(range?: Range)
packages/editor/src/plugin/editable.ts:136
↓ 4 callersFunctioneditorRangeToRelativeRange
( sharedRoot: Y.XmlText, editorRoot: Node, range: BaseRange, )
packages/yjs-transform/src/position.ts:234
↓ 4 callersFunctiongetAnimationName
(styles?: CSSStyleDeclaration)
packages/ui/src/presence.tsx:142
↓ 4 callersFunctiongetDecorateStore
(editor: Editor)
packages/editor/src/plugin/decorate.ts:44
↓ 4 callersFunctiongetMatches
(e: Editable, path: Path)
packages/editor/src/plugin/with-editable.tsx:407
↓ 4 callersFunctiongetMentionTriggerData
(editor: Editor)
packages/plugins/mention/src/weak-map.ts:11
↓ 4 callersFunctiongetOptions
(editor: Editor)
packages/plugins/heading/src/options.ts:25
↓ 4 callersFunctiongetOptions
(editor: Editor)
packages/plugins/codeblock/src/options.ts:22
↓ 4 callersFunctiongetRowStore
(element: GridRow)
packages/plugins/table/src/row/store.ts:12
↓ 4 callersFunctiongetSlashToolbarStore
(editor: Editor)
packages/plugins/toolbar/src/slash/store.ts:33
↓ 4 callersFunctiongetSlashTriggerData
(editor: Editor)
packages/plugins/toolbar/src/slash/weak-map.ts:11
↓ 4 callersFunctiongetStore
(editor: Editor)
packages/editor/src/plugin/locale.ts:15
↓ 4 callersFunctiongetStore
(editor: Editable)
packages/plugins/toolbar/src/side/store.ts:35
↓ 4 callersFunctiongetThumbSize
(sizes: Sizes)
packages/ui/src/scroll-area.tsx:979
↓ 4 callersFunctionhandleMouseDown
(event: React.MouseEvent<HTMLDivElement>, holder: ResizerHolder)
packages/ui/src/resizer.tsx:40
↓ 4 callersFunctionreadImageElement
(url: string, base64 = false)
packages/plugins/image/src/utils.ts:42
↓ 4 callersFunctionrenderButton
()
packages/ui/src/toolbar.tsx:19
↓ 4 callersFunctionsetTextIndent
(editor: Editor, blockEntry: NodeEntry<Indent>, size: number)
packages/plugins/indent/src/utils.ts:4
↓ 4 callersFunctiontoInt
(value?: string)
packages/ui/src/scroll-area.tsx:970
next →1–100 of 1,380, ranked by callers