MCPcopy Create free account

hub / github.com/editablejs/editable / functions

Functions1,380 in github.com/editablejs/editable

FunctionreadAuthMessage
( decoder: decoding.Decoder, y: Y.Doc, permissionDeniedHandler: PermissionDeniedHandler, )
packages/yjs-protocols/src/auth.ts:24
FunctionreadStateVector
(adapter: MongoAdapter, docName: string)
packages/yjs-websocket/src/server/mongodb/utils.ts:171
FunctionreadSyncMessage
( decoder: decoding.Decoder, encoder: encoding.Encoder, doc: Y.Doc, transactionOrigin: unknown, writ
packages/yjs-protocols/src/sync.ts:104
Functionredirects
()
apps/docs/next.config.js:33
FunctionredoDepth
(state: cmState.EditorState)
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:130
FunctionremoveNode
(sharedRoot: Y.XmlText, editorRoot: Node, op: RemoveNodeOperation)
packages/plugins/yjs/src/apply-to-yjs/node/remove-node.ts:5
FunctionremovePendingPromise
(promise: CellablePromise<T>)
packages/editor/src/hooks/use-cancellable-promises.ts:34
FunctionremoveStoredPosition
(editor: YjsEditor, key: string)
packages/plugins/yjs/src/plugin/with-yjs.ts:115
FunctionremoveText
(sharedRoot: Y.XmlText, editorRoot: Node, op: RemoveTextOperation)
packages/plugins/yjs/src/apply-to-yjs/text/remove-text.ts:5
FunctionrenderItem
(item: ContextMenuItem, index: number)
packages/plugins/context-menu/src/components/context-menu.tsx:22
FunctionrenderLabel
()
packages/plugins/list/src/styles.tsx:27
FunctionreverseRelativePosition
(editor: Editor, x: number, y: number)
packages/editor/src/plugin/editable.ts:1096
FunctionreviveNodeOnClient
(key, val)
apps/docs/src/pages/[[...markdownPath]].js:21
FunctionrunLoop
()
packages/ui/src/observe-element-rect.ts:67
FunctionscrollIntoView
(editor: Editor, range = editor.selection)
packages/editor/src/plugin/editable.ts:1102
FunctionsendCursorData
(editor: YCursorEditor<T>, data: T)
packages/plugins/yjs/src/plugin/cursors-editor.ts:36
FunctionsendCursorPosition
( editor: YCursorEditor<T>, range: Range | null = editor.selection, )
packages/plugins/yjs/src/plugin/cursors-editor.ts:29
FunctionsendSelection
(range: T | null)
packages/yjs-protocols/src/awareness-selection.ts:47
Functionset
(editor: Editor, stack: HistoryStack = { undos: [], redos: [] })
packages/plugins/history/src/history-stack.ts:36
FunctionsetConsumedHTMLNodes
(node: HTML, consumed: boolean = false)
packages/deserializer/src/markdown.ts:259
FunctionsetDecorateOpen
(editor: Editable, open: boolean)
packages/plugins/toolbar/src/side/store.ts:106
FunctionsetItems
(editor: Editor, items: SlashToolbarItem[])
packages/plugins/toolbar/src/slash/store.ts:52
FunctionsetItems
(editor: Editable, items: ToolbarItem[])
packages/plugins/toolbar/src/toolbar/store.ts:57
FunctionsetItems
(editor: Editable, items: SideToolbarItem[])
packages/plugins/toolbar/src/side/store.ts:101
FunctionsetItems
(editor: Editable, items: ToolbarItem[])
packages/plugins/toolbar/src/inline/store.ts:83
FunctionsetItems
(editor: Editable, items: ContextMenuItem[])
packages/plugins/context-menu/src/store.ts:88
MethodsetMaxListeners
(count: number)
packages/editor/src/plugin/emitter.ts:32
MethodsetMeta
* Persist some meta information in the database and associate it * with a document. It is up to you what you store here. * You could, for exampl
packages/yjs-websocket/src/server/mongodb/persistence.ts:135
FunctionsetNextText
(text: Omit<T, 'text'>)
packages/deserializer/src/markdown.ts:245
FunctionsetOpen
(editor: Editable, open: boolean)
packages/plugins/toolbar/src/side/store.ts:96
FunctionsetOptions
(editor: Editor, options: TaskListOptions)
packages/plugins/list/src/task/options.ts:16
FunctionsetOptions
(editor: Editor, options: UnorderedListOptions)
packages/plugins/list/src/unordered/options.ts:16
FunctionsetOptions
(editor: Editor, options: OrderedListOptions)
packages/plugins/list/src/ordered/options.ts:16
FunctionsetPersistence
(persistence_: Persistence | null)
packages/yjs-websocket/src/server/persistence.ts:93
FunctionsetSearchValue
(editor: Editor, searchValue: string)
packages/plugins/toolbar/src/slash/store.ts:57
FunctionsetSearchValue
(editor: Editor, searchValue: string)
packages/plugins/mention/src/store.ts:24
Functionsetup
({ onLoad })
packages/config/esbuild-plugin-styled-components/index.js:10
FunctionsplitNode
(sharedRoot: Y.XmlText, editorRoot: Node, op: SplitNodeOperation)
packages/plugins/yjs/src/apply-to-yjs/node/split-node.ts:13
FunctionstoreLocalChange
(editor: YjsEditor, op: Operation)
packages/plugins/yjs/src/plugin/with-yjs.ts:68
FunctionstorePosition
(editor: YjsEditor, key: string, point: Point)
packages/plugins/yjs/src/plugin/with-yjs.ts:104
FunctionstoredPositionsRelative
(editor: YjsEditor)
packages/plugins/yjs/src/plugin/with-yjs.ts:133
FunctionstringifyNodeOnServer
(key, val)
apps/docs/src/pages/[[...markdownPath]].js:180
Functionsubscribe
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:10
Methodsynced
* @type {boolean}
packages/yjs-websocket/src/index.ts:469
FunctionthrottledUpdateActiveLink
()
apps/docs/src/components/layout/use-toc-highlight.tsx:51
FunctiontoCommaSeparatedList
( array: Item[], renderCallback: (item: Item, index: number) => React.ReactNode, )
apps/docs/src/utils/to-comma-separated-list.tsx:6
FunctiontoDOMNode
* Find the native DOM element from a Editor node.
packages/editor/src/plugin/editable.ts:402
FunctiontoDOMPoint
* Find a native DOM selection point from a Editor point.
packages/editor/src/plugin/editable.ts:418
FunctiontoDOMRange
* Find a native DOM range from a Editor `range`. * * Notice: the returned range will always be ordinal regardless of the direction of Editor `ra
packages/editor/src/plugin/editable.ts:472
FunctiontoEditorNode
* Find a Editor node from a native DOM `element`.
packages/editor/src/plugin/editable.ts:499
FunctiontoEditorPoint
* Find a Editor point from a DOM selection's `offsetNode` and `domOffset`.
packages/editor/src/plugin/editable.ts:898
FunctiontoEditorRange
* Find a Editor range from a DOM range or selection.
packages/editor/src/plugin/editable.ts:1008
FunctiontoJSON
()
packages/plugins/codeblock/src/plugin/yjs/range.ts:22
FunctiontoMarkdown
(value: Content[], plugins: MarkdownSerializerPlugin[] = [])
packages/serializer/src/markdown.ts:109
FunctiontoMarkdownWithEditor
(editor: Editor, value: Content[])
packages/serializer/src/markdown.ts:127
FunctiontoMdast
(value: Value, plugins: MarkdownDeserializerPlugin[] = [])
packages/deserializer/src/markdown.ts:192
FunctiontoMdastWithEditor
(editor: Editor, value: Value)
packages/deserializer/src/markdown.ts:238
FunctiontoRects
(editor: Editor, range: Range, relative = true)
packages/editor/src/plugin/selection-drawing.ts:94
FunctiontoRects
()
packages/plugins/yjs/src/plugin/with-cursors.tsx:54
FunctiontoRelativePosition
(editor: Editor, x: number, y: number)
packages/editor/src/plugin/editable.ts:1089
FunctiontoggleHint
()
apps/docs/src/components/mdx/challenges/challenge.tsx:39
FunctiontoggleSolution
()
apps/docs/src/components/mdx/challenges/challenge.tsx:46
FunctiontransformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/text.ts:53
FunctiontransformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/html.ts:117
FunctiontransformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/markdown.ts:83
FunctiontransformWithEditor
(editor: Editor, node: DOMNode, options: HTMLDeserializerOptions = {})
packages/deserializer/src/html.ts:75
FunctiontransformWithEditor
(editor: Editor, node: Content | Root)
packages/deserializer/src/markdown.ts:165
Functiontransformer
(tree)
apps/docs/plugins/remark-smartypants.js:14
FunctiontriggerSelect
(event: React.MouseEvent)
packages/ui/src/color-picker/item.tsx:64
FunctionundoDepth
(state: cmState.EditorState)
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:127
Functionunmount
(editor: Editor, component: React.FC)
packages/editor/src/plugin/solt.ts:49
Methodupdate
* @param {cmView.ViewUpdate} update
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:105
Methodupdate
(update: cmView.ViewUpdate)
packages/plugins/codeblock/src/plugin/yjs/sync.ts:136
FunctionupdateHandler
(update: Uint8Array, origin: string, doc: WSSharedDocInterface)
packages/yjs-websocket/src/server/utils.ts:32
FunctionuseActiveSection
()
apps/docs/src/hooks/usePathWithoutQuerystring.ts:3
FunctionuseDragData
()
packages/editor/src/hooks/use-drag.ts:60
FunctionuseEvent
(type: T, handler: EventHandler<T>)
packages/editor/src/hooks/use-event.ts:5
FunctionuseFilePicker
( options: Omit<OpenFileDialogOptions, 'onChange' | 'onError'> = {}, )
packages/ui/src/file-picker.ts:37
FunctionusePlaceholders
()
packages/editor/src/hooks/use-placeholder.ts:16
FunctionuseRect
* Use this custom hook to get access to an element's rect (getBoundingClientRect) * and observe it along time.
packages/ui/src/hooks/use-rect.ts:8
FunctionuseRemoteClientIds
(editor: Editor, isShallow = true)
packages/plugins/yjs/src/hooks/use-remote-client-ids.ts:6
FunctionuseRowContentHeight
(element: GridRow)
packages/plugins/table/src/row/store.ts:34
MethodwaitForConnection
(callback: Function, interval: number)
packages/yjs-websocket/src/index.ts:358
MethodwaitSend
(message: any, callback: Function)
packages/yjs-websocket/src/index.ts:378
Functionwith
(transform: TextSerializerWithTransform<T>, options: T)
packages/serializer/src/text.ts:34
Functionwith
(transform: HTMLSerializerWithTransform<T>, options: T)
packages/serializer/src/html.ts:98
Functionwith
(transform: MarkdownSerializerWithTransform<T>, options: T)
packages/serializer/src/markdown.ts:64
Functionwith
(transform: HTMLDeserializerWithTransform<T>, options: T)
packages/deserializer/src/html.ts:56
Functionwith
( transform: MarkdownDeserializerWithTransform<T>, options: T, )
packages/deserializer/src/markdown.ts:143
FunctionwithAlignHTMLDeserializerTransform
packages/plugins/alignment/src/deserializer/html.ts:4
FunctionwithAlignHTMLSerializerTransform
packages/plugins/alignment/src/serializer/html.ts:4
FunctionwithBackgroundColorHTMLDeserializerTransform
packages/plugins/font/src/background-color/deserializer/html.ts:6
FunctionwithBackgroundColorHTMLSerializerTransform
( next, serializer, customOptions = {}, )
packages/plugins/font/src/background-color/serializer/html.ts:4
FunctionwithBlockquoteHTMLDeserializerTransform
( next, serializer, )
packages/plugins/blockquote/src/deserializer/html.ts:4
FunctionwithBlockquoteHTMLSerializerTransform
( next, serializer, customOptions = {}, )
packages/plugins/blockquote/src/serializer/html.ts:5
FunctionwithBlockquoteMarkdownDeserializerTransform
( next, self, )
packages/plugins/blockquote/src/deserializer/markdown.ts:7
FunctionwithBlockquoteMarkdownSerializerTransform
( next, self, )
packages/plugins/blockquote/src/serializer/markdown.ts:5
FunctionwithBlockquoteTextSerializerTransform
( next, serializer, )
packages/plugins/blockquote/src/serializer/text.ts:4
FunctionwithCodeBlockHTMLDeserializerTransform
packages/plugins/codeblock/src/deserializer/html.ts:29
FunctionwithCodeBlockHTMLSerializerTransform
(next, serializer, customOptions)
packages/plugins/codeblock/src/serializer/html.ts:40
← previousnext →1,201–1,300 of 1,380, ranked by callers