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
readAuthMessage
( decoder: decoding.Decoder, y: Y.Doc, permissionDeniedHandler: PermissionDeniedHandler, )
packages/yjs-protocols/src/auth.ts:24
Function
readStateVector
(adapter: MongoAdapter, docName: string)
packages/yjs-websocket/src/server/mongodb/utils.ts:171
Function
readSyncMessage
( decoder: decoding.Decoder, encoder: encoding.Encoder, doc: Y.Doc, transactionOrigin: unknown, writ
packages/yjs-protocols/src/sync.ts:104
Function
redirects
()
apps/docs/next.config.js:33
Function
redoDepth
(state: cmState.EditorState)
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:130
Function
removeNode
(sharedRoot: Y.XmlText, editorRoot: Node, op: RemoveNodeOperation)
packages/plugins/yjs/src/apply-to-yjs/node/remove-node.ts:5
Function
removePendingPromise
(promise: CellablePromise<T>)
packages/editor/src/hooks/use-cancellable-promises.ts:34
Function
removeStoredPosition
(editor: YjsEditor, key: string)
packages/plugins/yjs/src/plugin/with-yjs.ts:115
Function
removeText
(sharedRoot: Y.XmlText, editorRoot: Node, op: RemoveTextOperation)
packages/plugins/yjs/src/apply-to-yjs/text/remove-text.ts:5
Function
renderItem
(item: ContextMenuItem, index: number)
packages/plugins/context-menu/src/components/context-menu.tsx:22
Function
renderLabel
()
packages/plugins/list/src/styles.tsx:27
Function
reverseRelativePosition
(editor: Editor, x: number, y: number)
packages/editor/src/plugin/editable.ts:1096
Function
reviveNodeOnClient
(key, val)
apps/docs/src/pages/[[...markdownPath]].js:21
Function
runLoop
()
packages/ui/src/observe-element-rect.ts:67
Function
scrollIntoView
(editor: Editor, range = editor.selection)
packages/editor/src/plugin/editable.ts:1102
Function
sendCursorData
(editor: YCursorEditor<T>, data: T)
packages/plugins/yjs/src/plugin/cursors-editor.ts:36
Function
sendCursorPosition
( editor: YCursorEditor<T>, range: Range | null = editor.selection, )
packages/plugins/yjs/src/plugin/cursors-editor.ts:29
Function
sendSelection
(range: T | null)
packages/yjs-protocols/src/awareness-selection.ts:47
Function
set
(editor: Editor, stack: HistoryStack = { undos: [], redos: [] })
packages/plugins/history/src/history-stack.ts:36
Function
setConsumedHTMLNodes
(node: HTML, consumed: boolean = false)
packages/deserializer/src/markdown.ts:259
Function
setDecorateOpen
(editor: Editable, open: boolean)
packages/plugins/toolbar/src/side/store.ts:106
Function
setItems
(editor: Editor, items: SlashToolbarItem[])
packages/plugins/toolbar/src/slash/store.ts:52
Function
setItems
(editor: Editable, items: ToolbarItem[])
packages/plugins/toolbar/src/toolbar/store.ts:57
Function
setItems
(editor: Editable, items: SideToolbarItem[])
packages/plugins/toolbar/src/side/store.ts:101
Function
setItems
(editor: Editable, items: ToolbarItem[])
packages/plugins/toolbar/src/inline/store.ts:83
Function
setItems
(editor: Editable, items: ContextMenuItem[])
packages/plugins/context-menu/src/store.ts:88
Method
setMaxListeners
(count: number)
packages/editor/src/plugin/emitter.ts:32
Method
setMeta
* 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
Function
setNextText
(text: Omit<T, 'text'>)
packages/deserializer/src/markdown.ts:245
Function
setOpen
(editor: Editable, open: boolean)
packages/plugins/toolbar/src/side/store.ts:96
Function
setOptions
(editor: Editor, options: TaskListOptions)
packages/plugins/list/src/task/options.ts:16
Function
setOptions
(editor: Editor, options: UnorderedListOptions)
packages/plugins/list/src/unordered/options.ts:16
Function
setOptions
(editor: Editor, options: OrderedListOptions)
packages/plugins/list/src/ordered/options.ts:16
Function
setPersistence
(persistence_: Persistence | null)
packages/yjs-websocket/src/server/persistence.ts:93
Function
setSearchValue
(editor: Editor, searchValue: string)
packages/plugins/toolbar/src/slash/store.ts:57
Function
setSearchValue
(editor: Editor, searchValue: string)
packages/plugins/mention/src/store.ts:24
Function
setup
({ onLoad })
packages/config/esbuild-plugin-styled-components/index.js:10
Function
splitNode
(sharedRoot: Y.XmlText, editorRoot: Node, op: SplitNodeOperation)
packages/plugins/yjs/src/apply-to-yjs/node/split-node.ts:13
Function
storeLocalChange
(editor: YjsEditor, op: Operation)
packages/plugins/yjs/src/plugin/with-yjs.ts:68
Function
storePosition
(editor: YjsEditor, key: string, point: Point)
packages/plugins/yjs/src/plugin/with-yjs.ts:104
Function
storedPositionsRelative
(editor: YjsEditor)
packages/plugins/yjs/src/plugin/with-yjs.ts:133
Function
stringifyNodeOnServer
(key, val)
apps/docs/src/pages/[[...markdownPath]].js:180
Function
subscribe
()
apps/docs/src/components/mdx/sandpack/download-button.tsx:10
Method
synced
* @type {boolean}
packages/yjs-websocket/src/index.ts:469
Function
throttledUpdateActiveLink
()
apps/docs/src/components/layout/use-toc-highlight.tsx:51
Function
toCommaSeparatedList
( array: Item[], renderCallback: (item: Item, index: number) => React.ReactNode, )
apps/docs/src/utils/to-comma-separated-list.tsx:6
Function
toDOMNode
* Find the native DOM element from a Editor node.
packages/editor/src/plugin/editable.ts:402
Function
toDOMPoint
* Find a native DOM selection point from a Editor point.
packages/editor/src/plugin/editable.ts:418
Function
toDOMRange
* 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
Function
toEditorNode
* Find a Editor node from a native DOM `element`.
packages/editor/src/plugin/editable.ts:499
Function
toEditorPoint
* Find a Editor point from a DOM selection's `offsetNode` and `domOffset`.
packages/editor/src/plugin/editable.ts:898
Function
toEditorRange
* Find a Editor range from a DOM range or selection.
packages/editor/src/plugin/editable.ts:1008
Function
toJSON
()
packages/plugins/codeblock/src/plugin/yjs/range.ts:22
Function
toMarkdown
(value: Content[], plugins: MarkdownSerializerPlugin[] = [])
packages/serializer/src/markdown.ts:109
Function
toMarkdownWithEditor
(editor: Editor, value: Content[])
packages/serializer/src/markdown.ts:127
Function
toMdast
(value: Value, plugins: MarkdownDeserializerPlugin[] = [])
packages/deserializer/src/markdown.ts:192
Function
toMdastWithEditor
(editor: Editor, value: Value)
packages/deserializer/src/markdown.ts:238
Function
toRects
(editor: Editor, range: Range, relative = true)
packages/editor/src/plugin/selection-drawing.ts:94
Function
toRects
()
packages/plugins/yjs/src/plugin/with-cursors.tsx:54
Function
toRelativePosition
(editor: Editor, x: number, y: number)
packages/editor/src/plugin/editable.ts:1089
Function
toggleHint
()
apps/docs/src/components/mdx/challenges/challenge.tsx:39
Function
toggleSolution
()
apps/docs/src/components/mdx/challenges/challenge.tsx:46
Function
transformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/text.ts:53
Function
transformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/html.ts:117
Function
transformWithEditor
(editor: Editor, node: Node = editor)
packages/serializer/src/markdown.ts:83
Function
transformWithEditor
(editor: Editor, node: DOMNode, options: HTMLDeserializerOptions = {})
packages/deserializer/src/html.ts:75
Function
transformWithEditor
(editor: Editor, node: Content | Root)
packages/deserializer/src/markdown.ts:165
Function
transformer
(tree)
apps/docs/plugins/remark-smartypants.js:14
Function
triggerSelect
(event: React.MouseEvent)
packages/ui/src/color-picker/item.tsx:64
Function
undoDepth
(state: cmState.EditorState)
packages/plugins/codeblock/src/plugin/yjs/undomanager.ts:127
Function
unmount
(editor: Editor, component: React.FC)
packages/editor/src/plugin/solt.ts:49
Method
update
* @param {cmView.ViewUpdate} update
packages/plugins/codeblock/src/plugin/yjs/remote-selecton.ts:105
Method
update
(update: cmView.ViewUpdate)
packages/plugins/codeblock/src/plugin/yjs/sync.ts:136
Function
updateHandler
(update: Uint8Array, origin: string, doc: WSSharedDocInterface)
packages/yjs-websocket/src/server/utils.ts:32
Function
useActiveSection
()
apps/docs/src/hooks/usePathWithoutQuerystring.ts:3
Function
useDragData
()
packages/editor/src/hooks/use-drag.ts:60
Function
useEvent
(type: T, handler: EventHandler<T>)
packages/editor/src/hooks/use-event.ts:5
Function
useFilePicker
( options: Omit<OpenFileDialogOptions, 'onChange' | 'onError'> = {}, )
packages/ui/src/file-picker.ts:37
Function
usePlaceholders
()
packages/editor/src/hooks/use-placeholder.ts:16
Function
useRect
* 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
Function
useRemoteClientIds
(editor: Editor, isShallow = true)
packages/plugins/yjs/src/hooks/use-remote-client-ids.ts:6
Function
useRowContentHeight
(element: GridRow)
packages/plugins/table/src/row/store.ts:34
Method
waitForConnection
(callback: Function, interval: number)
packages/yjs-websocket/src/index.ts:358
Method
waitSend
(message: any, callback: Function)
packages/yjs-websocket/src/index.ts:378
Function
with
(transform: TextSerializerWithTransform<T>, options: T)
packages/serializer/src/text.ts:34
Function
with
(transform: HTMLSerializerWithTransform<T>, options: T)
packages/serializer/src/html.ts:98
Function
with
(transform: MarkdownSerializerWithTransform<T>, options: T)
packages/serializer/src/markdown.ts:64
Function
with
(transform: HTMLDeserializerWithTransform<T>, options: T)
packages/deserializer/src/html.ts:56
Function
with
( transform: MarkdownDeserializerWithTransform<T>, options: T, )
packages/deserializer/src/markdown.ts:143
Function
withAlignHTMLDeserializerTransform
packages/plugins/alignment/src/deserializer/html.ts:4
Function
withAlignHTMLSerializerTransform
packages/plugins/alignment/src/serializer/html.ts:4
Function
withBackgroundColorHTMLDeserializerTransform
packages/plugins/font/src/background-color/deserializer/html.ts:6
Function
withBackgroundColorHTMLSerializerTransform
( next, serializer, customOptions = {}, )
packages/plugins/font/src/background-color/serializer/html.ts:4
Function
withBlockquoteHTMLDeserializerTransform
( next, serializer, )
packages/plugins/blockquote/src/deserializer/html.ts:4
Function
withBlockquoteHTMLSerializerTransform
( next, serializer, customOptions = {}, )
packages/plugins/blockquote/src/serializer/html.ts:5
Function
withBlockquoteMarkdownDeserializerTransform
( next, self, )
packages/plugins/blockquote/src/deserializer/markdown.ts:7
Function
withBlockquoteMarkdownSerializerTransform
( next, self, )
packages/plugins/blockquote/src/serializer/markdown.ts:5
Function
withBlockquoteTextSerializerTransform
( next, serializer, )
packages/plugins/blockquote/src/serializer/text.ts:4
Function
withCodeBlockHTMLDeserializerTransform
packages/plugins/codeblock/src/deserializer/html.ts:29
Function
withCodeBlockHTMLSerializerTransform
(next, serializer, customOptions)
packages/plugins/codeblock/src/serializer/html.ts:40
← previous
next →
1,201–1,300 of 1,380, ranked by callers