MCPcopy Index your code

hub / github.com/editablejs/editable / functions

Functions1,380 in github.com/editablejs/editable

↓ 2 callersMethodflushDocument
* Internally y-mongodb stores incremental updates. You can merge all document * updates to a single entry. You probably never have to use this.
packages/yjs-websocket/src/server/mongodb/persistence.ts:182
↓ 2 callersFunctionfragmentToString
(fragment: Descendant[])
packages/editor/src/utils/data-transfer.ts:21
↓ 2 callersMethodfromYPos
* @param rpos
packages/plugins/codeblock/src/plugin/yjs/sync.ts:54
↓ 2 callersFunctiongetAbsolutePositionsInTextRange
( absolutePositions: Record<string, Y.AbsolutePosition>, yTarget: Y.XmlText, textRange?: TextRange, )
packages/yjs-transform/src/position.ts:122
↓ 2 callersFunctiongetBeforeText
(editor: Editable, point: Point)
packages/plugins/toolbar/src/slash/plugin/with-slash-toolbar.tsx:77
↓ 2 callersFunctiongetBeforeText
(editor: Editable, point: Point)
packages/plugins/mention/src/plugin/with-mention.tsx:98
↓ 2 callersFunctiongetCheckedState
(checked: boolean)
packages/ui/src/menu.tsx:932
↓ 2 callersFunctiongetCodeMirrorPosition
( doc: Text, { line, column }: { line: number; column?: number }, )
apps/docs/src/components/mdx/sandpack/run-eslint.tsx:8
↓ 2 callersFunctiongetCursorsStore
(editor: Editor)
packages/plugins/yjs/src/store.ts:11
↓ 2 callersFunctiongetEditableChildAndIndex
( parent: DOMElement, index: number, direction: 'forward' | 'backward', )
packages/editor/src/utils/dom.ts:58
↓ 2 callersFunctiongetEditorPath
(sharedRoot: Y.XmlText, editorRoot: Node, yText: Y.XmlText)
packages/yjs-transform/src/location.ts:99
↓ 2 callersFunctiongetFileName
(filePath: string)
apps/docs/src/components/mdx/sandpack/navigation-bar.tsx:23
↓ 2 callersFunctiongetInsertDeltaLength
(delta: InsertDelta)
packages/yjs-transform/src/delta.ts:43
↓ 2 callersFunctiongetInsertLength
({ insert }: DeltaInsert)
packages/yjs-transform/src/delta.ts:39
↓ 2 callersFunctiongetLineRectsByNode
(editor: Editor, node: Node, minWidth = 4)
packages/editor/src/utils/selection.ts:263
↓ 2 callersFunctiongetMinXInRect
(x: number, rect: DOMRect)
packages/editor/src/utils/nearby.ts:88
↓ 2 callersFunctiongetMongoBulkData
( adapter: MongoAdapter, query: T, opts: object, )
packages/yjs-websocket/src/server/mongodb/utils.ts:63
↓ 2 callersFunctiongetNativeEvent
(event: any)
packages/editor/src/utils/event.ts:27
↓ 2 callersFunctiongetOpenState
(open: boolean)
packages/ui/src/menu.tsx:928
↓ 2 callersFunctiongetOptions
(editable: Editable)
packages/plugins/toolbar/src/slash/options.ts:22
↓ 2 callersFunctiongetOptions
(editor: Editor)
packages/plugins/table/src/row/options.ts:11
↓ 2 callersFunctiongetPersistence
()
packages/yjs-websocket/src/server/persistence.ts:97
↓ 2 callersFunctiongetRange
(editor: YCursorEditor<T>, state: CursorState)
packages/plugins/yjs/src/hooks/use-remote-cursor-overlay-positions.tsx:33
↓ 2 callersMethodgetRelativeSelection
(clientID: number)
packages/yjs-protocols/src/awareness-selection.ts:29
↓ 2 callersFunctiongetScrollPosition
(pointerPos: number, dir?: Direction)
packages/ui/src/scroll-area.tsx:464
↓ 2 callersFunctiongetSideAndAlignFromPlacement
(placement: Placement)
packages/ui/src/popper.tsx:457
↓ 2 callersFunctiongetState
(checked: boolean)
packages/ui/src/switch.tsx:171
↓ 2 callersFunctiongetState
(open: boolean)
packages/ui/src/popover.tsx:354
↓ 2 callersFunctiongetStore
(editor: Editor)
packages/editor/src/hooks/use-read-only.ts:11
↓ 2 callersFunctiongetStore
(editor: Editor)
packages/editor/src/hooks/use-focused.ts:12
↓ 2 callersFunctiongetStore
(editor: Editable)
packages/plugins/toolbar/src/toolbar/store.ts:13
↓ 2 callersMethodgetSubDoc
(id: string)
packages/yjs-websocket/src/server/types.ts:9
↓ 2 callersFunctiongetTextMark
(editor: Editor)
packages/plugins/heading/src/options.ts:73
↓ 2 callersFunctiongetThumbOffsetFromScroll
(scrollPos: number, sizes: Sizes, dir: Direction = 'ltr')
packages/ui/src/scroll-area.tsx:1005
↓ 2 callersFunctiongetThumbRatio
(viewportSize: number, contentSize: number)
packages/ui/src/scroll-area.tsx:974
↓ 2 callersFunctiongetUnicodeByteOffset
(str: string, start: number, unicodeOffset: number)
packages/breaker/src/index.ts:173
↓ 2 callersFunctiongetVoidPoint
(editor: Editor, point: Point, reverse: boolean)
packages/models/src/transforms/move.ts:5
↓ 2 callersMethodgetYDoc
* Create a Y.Doc instance with the data persistet in mongodb. * Use this to temporarily create a Yjs document to sync changes or extract data.
packages/yjs-websocket/src/server/mongodb/persistence.ts:63
↓ 2 callersFunctionhandleInserInGrid
(editor: Editor, at: Location | null = editor.selection)
packages/models/src/transforms/utils.ts:42
↓ 2 callersFunctionhandleMouseDown
(e: React.MouseEvent)
packages/plugins/table/src/components/table.tsx:168
↓ 2 callersFunctionhandleMouseUp
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:345
↓ 2 callersFunctionhandleStackItemMeta
(origin: unknown, stackItem: HistoryStackItem)
packages/plugins/yjs/src/plugin/with-history.ts:120
↓ 2 callersFunctionheadingStyle
(isRecipes?: boolean)
apps/docs/src/components/mdx/challenges/challenges.tsx:63
↓ 2 callersFunctioniconCls
(disabled?: boolean, size?: ContextMenuSize)
packages/ui/src/context-menu.tsx:40
↓ 2 callersFunctioninAbsoluteDOMElement
(value: any)
packages/editor/src/utils/dom.ts:126
↓ 2 callersFunctioninsertImage
(editor: Editor, options: Partial<Image>)
packages/plugins/image/src/utils.ts:95
↓ 2 callersFunctioninsertImages
(files: (File | string)[])
packages/plugins/image/src/plugin/with-image.tsx:64
↓ 2 callersFunctionisBetweenX
(x: number, rect: DOMRect)
packages/editor/src/utils/nearby.ts:68
↓ 2 callersFunctionisBetweenY
(y: number, rect: DOMRect)
packages/editor/src/utils/nearby.ts:78
↓ 2 callersFunctionisCodeBlockAwarenessSelection
(value: any)
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:19
↓ 2 callersFunctionisDOMSelection
(value: any)
packages/models/src/utils/dom.ts:64
↓ 2 callersFunctionisObject
(o: unknown)
packages/yjs-transform/src/object.ts:3
↓ 2 callersFunctionisPrecedingX
(rect: DOMRect, node: Node, other: NearbyNode)
packages/editor/src/utils/nearby.ts:29
↓ 2 callersFunctionisSamePoint
(event: React.MouseEvent | MouseEvent | Touch)
packages/editor/src/hooks/use-multiple-click.ts:14
↓ 2 callersFunctionisScrollingWithinScrollbarBounds
(scrollPos: number, maxScrollPos: number)
packages/ui/src/scroll-area.tsx:1026
↓ 2 callersFunctionisSelectedOnCurrentSelection
( editor: Editor, selection: Range, point: Point, compareOnCollapsed = false, )
packages/editor/src/components/content.tsx:672
↓ 2 callersFunctionisSpace
(char: string)
packages/editor/src/utils/text.ts:61
↓ 2 callersFunctionisSpecialCharacters
(char: string)
packages/editor/src/utils/text.ts:67
↓ 2 callersFunctionisTouchEvent
(event: any)
packages/editor/src/utils/event.ts:15
↓ 2 callersFunctionitemCls
(disabled?: boolean, size?: ContextMenuSize)
packages/ui/src/context-menu.tsx:32
↓ 2 callersFunctionkebabCase
(str: string)
packages/serializer/src/utils/dom.ts:1
↓ 2 callersFunctionlinearScale
(input: readonly [number, number], output: readonly [number, number])
packages/ui/src/scroll-area.tsx:1018
↓ 2 callersFunctionmatch
( keys: | string | string[] | ((e: KeyboardEvent) => boolean) | Record<T, string | string[]
packages/editor/src/utils/hotkeys.ts:133
↓ 2 callersFunctionmatchFragmentStringFromHTML
(html: string)
packages/editor/src/utils/data-transfer.ts:45
↓ 2 callersFunctionmatchHighest
(editor: Editor, element: DOMElement, top: number, bottom: number)
packages/editor/src/utils/selection.ts:184
↓ 2 callersFunctiononNearbyY
( x: number, rect: DOMRect, node: Node, nearbyNode: NearbyNode, preceding = true, )
packages/editor/src/utils/nearby.ts:92
↓ 2 callersFunctionopenFileDialog
({ accept = '*', multiple = false, onChange, onError, }: OpenFileDialogOptions)
packages/ui/src/file-picker.ts:10
↓ 2 callersFunctionparseDataTransfer
(dataTransfer: DataTransfer)
packages/editor/src/utils/data-transfer.ts:87
↓ 2 callersFunctionparseFragmentFromString
(fragment: string)
packages/editor/src/utils/data-transfer.ts:31
↓ 2 callersFunctionpermissionDeniedHandler
(provider: WebsocketProvider, reason: string)
packages/yjs-websocket/src/index.ts:105
↓ 2 callersFunctionreadBase64
(file: File | string)
packages/plugins/image/src/utils.ts:38
↓ 2 callersFunctionreadClipboardData
()
packages/editor/src/utils/clipboard.ts:90
↓ 2 callersFunctionreadMessage
(provider: WebsocketProvider, buf: Uint8Array, emitSynced: boolean)
packages/yjs-websocket/src/index.ts:108
↓ 2 callersFunctionrelativeRangeToEditorRange
( sharedRoot: Y.XmlText, editorRoot: Node, range: RelativeRange, )
packages/yjs-transform/src/position.ts:245
↓ 2 callersMethodrelativeSelectionToNativeSelection
( selection: AwarenessRelativeSelection, clientID: number, )
packages/yjs-protocols/src/awareness-selection.ts:30
↓ 2 callersFunctionremoveRow
(path: Path, start = true)
packages/models/src/transforms/delete.ts:68
↓ 2 callersFunctionrender
()
packages/ui/src/context-menu.tsx:66
↓ 2 callersFunctionrenderArrowButton
()
packages/ui/src/color-picker/index.tsx:119
↓ 2 callersFunctionrenderBtn
()
packages/plugins/toolbar/src/side/components/side-toolbar.tsx:419
↓ 2 callersFunctionrenderChildren
()
apps/docs/src/components/layout/sidebar/sidebar-link.tsx:55
↓ 2 callersFunctionrenderColorButton
()
packages/ui/src/color-picker/index.tsx:89
↓ 2 callersFunctionrenderDropdown
()
packages/ui/src/toolbar.tsx:72
↓ 2 callersFunctionrenderItem
(item: SideToolbarItem, index: number)
packages/plugins/toolbar/src/side/components/context-menu.tsx:35
↓ 2 callersFunctionrenderItems
(items: SideToolbarItem[])
packages/plugins/toolbar/src/side/components/context-menu.tsx:73
↓ 2 callersFunctionrenderItems
(items: ContextMenuItem[])
packages/plugins/context-menu/src/components/context-menu.tsx:53
↓ 2 callersFunctionrenderSelect
()
packages/ui/src/toolbar.tsx:94
↓ 2 callersFunctionrightCls
(disabled?: boolean, size?: ContextMenuSize)
packages/ui/src/context-menu.tsx:48
↓ 2 callersFunctionrotateImgWithCanvas
(image: HTMLImageElement, degrees: number)
packages/plugins/image/src/utils.ts:144
↓ 2 callersFunctionsendGAEvent
(isPositive: boolean)
apps/docs/src/components/layout/feedback.tsx:33
↓ 2 callersFunctionsetNode
(sharedRoot: Y.XmlText, editorRoot: Node, op: SetNodeOperation)
packages/plugins/yjs/src/apply-to-yjs/node/set-node.ts:5
↓ 2 callersFunctionsetOpacity
(opacity?: number)
packages/editor/src/components/caret.tsx:49
↓ 2 callersFunctionsetPercentage
(editor: Editor, path: Path, percentage: number)
packages/plugins/image/src/utils.ts:91
↓ 2 callersFunctionsetStoredPosition
( sharedRoot: Y.XmlText, key: string, position: Y.RelativePosition, )
packages/yjs-transform/src/position.ts:114
↓ 2 callersFunctionshouldBreak
(reverse: boolean, start: number, mid: number[], end: number)
packages/breaker/src/index.ts:76
↓ 2 callersFunctionshouldMerge
(op: Operation, prev: Operation | undefined, defaultMerge = false)
packages/plugins/history/src/with-history.ts:200
↓ 2 callersFunctionsizeCls
(size: ContextMenuSize = 'default')
packages/ui/src/context-menu.tsx:24
↓ 2 callersFunctionsliceInsertDelta
(delta: InsertDelta, start: number, length: number)
packages/yjs-transform/src/delta.ts:47
↓ 2 callersFunctionsplitRectsIntoLines
(rects: DOMRect[] | DOMRectList)
packages/editor/src/utils/selection.ts:32
↓ 2 callersFunctionstartServer
(options: ServerOptions)
packages/yjs-websocket/src/server/start.ts:61
↓ 2 callersMethodstoreUpdate
* Store a single document update to the database.
packages/yjs-websocket/src/server/mongodb/persistence.ts:82
← previousnext →201–300 of 1,380, ranked by callers