Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanzuckerberg/czi-prosemirror
/ functions
Functions
472 in github.com/chanzuckerberg/czi-prosemirror
⨍
Functions
472
◇
Types & classes
221
↓ 26 callers
Method
map
()
src/SetDocAttrStep.js:39
↓ 22 callers
Function
uuid
()
src/ui/uuid.js:5
↓ 20 callers
Function
makeKeyMapWithCommon
( description: string, common: string )
src/EditorKeyMap.js:63
↓ 17 callers
Method
get
(type: string, title: ?string)
src/ui/Icon.js:39
↓ 13 callers
Function
createCommand
(execute: ExecuteCall)
src/createCommand.js:15
↓ 12 callers
Function
isListNode
(node: Node)
src/isListNode.js:8
↓ 10 callers
Function
clamp
(min: number, val: number, max: number)
src/ui/clamp.js:3
↓ 10 callers
Function
makeKeyMap
( description: string, windows: string, mac: string, common?: ?string )
src/EditorKeyMap.js:49
↓ 9 callers
Function
convertToCSSPTValue
(styleValue: string)
src/convertToCSSPTValue.js:10
↓ 8 callers
Function
applyMark
( tr: Transform, schema: Schema, markType: Mark, attrs?: ?Object )
src/applyMark.js:25
↓ 8 callers
Method
execute
()
src/HTMLMutator.js:25
↓ 8 callers
Function
toCSSColor
(source: any)
src/ui/toCSSColor.js:21
↓ 7 callers
Function
findNodesWithSameMark
( doc: Node, from: number, to: number, markType: MarkType )
src/findNodesWithSameMark.js:19
↓ 6 callers
Function
isCollapsed
(rect: Rect)
src/ui/rects.js:10
↓ 5 callers
Method
destroy
()
src/LinkTooltipPlugin.js:98
↓ 5 callers
Method
disconnect
()
src/ui/SelectionObserver.js:65
↓ 5 callers
Function
fromHTMlElement
(el: HTMLElement)
src/ui/rects.js:34
↓ 5 callers
Method
observe
(el: Element)
src/ui/SelectionObserver.js:74
↓ 4 callers
Method
__renderReactComponent
()
src/ui/CustomNodeView.js:173
↓ 4 callers
Method
_end
()
src/ui/ImageResizeBox.js:132
↓ 4 callers
Method
_hide
()
src/ContentPlaceholderPlugin.js:159
↓ 4 callers
Function
isIntersected
(r1: Rect, r2: Rect, padding: ?number)
src/ui/rects.js:14
↓ 3 callers
Function
canUseCSSFont
(fontName: string)
src/ui/canUseCSSFont.js:5
↓ 3 callers
Function
consolidateListNodes
(tr: Transform)
src/consolidateListNodes.js:39
↓ 3 callers
Function
convertFromHTML
( html: string, schema: ?Schema, plugins: ?Array<Plugin> )
src/convertFromHTML.js:10
↓ 3 callers
Function
convertFromJSON
( json: Object | string, schema: ?Schema, plugins: ?Array<Plugin> )
src/convertFromJSON.js:11
↓ 3 callers
Function
convertMarginLeftToIndentValue
(marginLeft: string)
src/ParagraphNodeSpec.js:116
↓ 3 callers
Method
destroy
()
src/ui/CustomNodeView.js:167
↓ 3 callers
Function
edgeCell
(view: EditorView, event: PointerEvent, side: string)
src/TableResizePlugin.js:456
↓ 3 callers
Function
fromXY
(x: number, y: number, padding: ?number)
src/ui/rects.js:24
↓ 3 callers
Function
getSchema
(editorState: ?EditorState)
src/ui/Editor.js:105
↓ 3 callers
Function
injectStyleSheet
(urlStr: string)
src/ui/injectStyleSheet.js:19
↓ 3 callers
Method
insertHTMLAfter
(html: string, el: Element)
src/HTMLMutator.js:21
↓ 3 callers
Function
isOrderedListNode
(node: Node)
src/isOrderedListNode.js:7
↓ 3 callers
Function
isTextStyleMarkCommandEnabled
( state: EditorState, markName: string )
src/isTextStyleMarkCommandEnabled.js:12
↓ 3 callers
Method
render
()
src/ui/Icon.js:51
↓ 3 callers
Function
renderLaTeXAsHTML
(latex: ?string)
src/ui/renderLaTeXAsHTML.js:25
↓ 3 callers
Function
resolveSelectionValue
(el: Element)
src/ui/SelectionObserver.js:20
↓ 3 callers
Function
toCSSLineSpacing
(source: any)
src/ui/toCSSLineSpacing.js:17
↓ 3 callers
Function
transformAndPreserveTextSelection
( tr: Transform, schema: Schema, fn: (memo: SelectionMemo) => Transform )
src/transformAndPreserveTextSelection.js:23
↓ 3 callers
Function
unwrapNodesFromList
( tr: Transform, schema: Schema, listNodePos: number, unwrapParagraphNode?: ?(Node) => Node )
src/toggleList.js:42
↓ 3 callers
Function
write_text
(path, text)
scripts/build_bin.py:23
↓ 2 callers
Method
_findList
(state: EditorState, type: string)
src/ListToggleCommand.js:50
↓ 2 callers
Method
_getBodyElement
()
src/ContentPlaceholderPlugin.js:137
↓ 2 callers
Method
_insertHTML
( html: string, position: 'before' | 'after', el: Element )
src/HTMLMutator.js:35
↓ 2 callers
Method
_onBlur
()
src/ContentPlaceholderPlugin.js:125
↓ 2 callers
Method
_renderInlineEditor
()
src/ui/ImageNodeView.js:242
↓ 2 callers
Method
_renderInlineEditor
()
src/ui/MathNodeView.js:79
↓ 2 callers
Method
_updateDOM
(node: Node)
src/ui/ListItemNodeView.js:37
↓ 2 callers
Method
_updateDOM
(el: HTMLElement)
src/ui/ImageNodeView.js:391
↓ 2 callers
Method
_updateDOM
(el: HTMLElement)
src/ui/MathNodeView.js:160
↓ 2 callers
Method
_updateMargin
(node: Node)
src/ui/TableNodeView.js:18
↓ 2 callers
Method
apply
(doc: Node)
src/SetDocAttrStep.js:25
↓ 2 callers
Function
batchMouseHandler
( handler: (view: EditorView, pe: PointerEvent) => void )
src/TableResizePlugin.js:528
↓ 2 callers
Function
bindCommands
(...commands: Array<UICommand>)
src/createEditorKeyMap.js:52
↓ 2 callers
Function
buildInputRules
(schema: Schema)
src/buildInputRules.js:62
↓ 2 callers
Function
buildSelectorTextToCSSText
( result: Array<SelectorTextToCSSText>, selectorText: string, cssText: string )
src/patchStyleElements.js:159
↓ 2 callers
Function
clearMarks
(tr: Transform, schema: Schema)
src/clearMarks.js:31
↓ 2 callers
Function
convertFromDOMElement
( el: HTMLElement, schema: ?Schema, plugins: ?Array<Plugin> )
src/convertFromDOMElement.js:12
↓ 2 callers
Function
convertToJSON
(editorState: EditorState)
src/convertToJSON.js:5
↓ 2 callers
Function
createEditorKeyMap
()
src/createEditorKeyMap.js:68
↓ 2 callers
Function
dispose
()
src/ui/resolveImage.js:93
↓ 2 callers
Function
findActiveMark
( doc: Node, from: number, to: number, markType: MarkType )
src/findActiveMark.js:5
↓ 2 callers
Function
findCursorPlaceholderPos
(state: EditorState)
src/CursorPlaceholderPlugin.js:62
↓ 2 callers
Function
findSelectionPlaceholder
(state: EditorState)
src/SelectionPlaceholderPlugin.js:70
↓ 2 callers
Function
getAttrs
(el: HTMLElement)
src/DocNodeSpec.js:14
↓ 2 callers
Function
getRootElement
( id: string, forceCreation: boolean, popUpParams: ?PopUpParams )
src/ui/createPopUp.js:58
↓ 2 callers
Function
hideCursorPlaceholder
(state: EditorState)
src/CursorPlaceholderPlugin.js:95
↓ 2 callers
Function
hideModalMask
()
src/ui/createPopUp.js:51
↓ 2 callers
Function
hideSelectionPlaceholder
( state: EditorState, tr: ?Transform )
src/SelectionPlaceholderPlugin.js:108
↓ 2 callers
Function
isBlankParagraphNode
(node: ?Node)
src/TableMergeCellsCommand.js:13
↓ 2 callers
Function
isBookMarkHref
(href: string)
src/ui/LinkTooltip.js:12
↓ 2 callers
Function
isEditorStateEmpty
(editorState: EditorState)
src/isEditorStateEmpty.js:7
↓ 2 callers
Function
isElementFullyVisible
(el: HTMLElement)
src/ui/isElementFullyVisible.js:5
↓ 2 callers
Function
isInsideListItem
(doc: Node, pos: number)
src/isInsideListItem.js:7
↓ 2 callers
Function
nodeAt
(doc: Node, pos: number)
src/nodeAt.js:5
↓ 2 callers
Function
parseLabel
(input: string)
src/ui/EditorToolbarConfig.js:13
↓ 2 callers
Function
processQueue
()
src/ui/resolveImage.js:27
↓ 2 callers
Function
read_text
(path)
scripts/build_bin.py:12
↓ 2 callers
Function
render
()
src/ui/TableGridSizeEditor.js:63
↓ 2 callers
Function
sanitizeURL
(url: ?string)
src/sanitizeURL.js:5
↓ 2 callers
Function
setCounterLinked
( tr: Transform, pos: number, linked: boolean )
src/consolidateListNodes.js:190
↓ 2 callers
Function
setNodeIndentMarkup
( tr: Transform, schema: Schema, pos: number, delta: number )
src/updateIndentLevel.js:174
↓ 2 callers
Function
setTextAlign
( tr: Transform, schema: Schema, alignment: ?string )
src/TextAlignCommand.js:11
↓ 2 callers
Function
showCursorPlaceholder
(state: EditorState)
src/CursorPlaceholderPlugin.js:72
↓ 2 callers
Function
showSelectionPlaceholder
( state: EditorState, tr: ?Transform )
src/SelectionPlaceholderPlugin.js:84
↓ 2 callers
Method
takeRecords
()
src/ui/SelectionObserver.js:95
↓ 2 callers
Function
toCSS
(val: ?(number | string))
src/ui/EditorFrameset.js:20
↓ 2 callers
Function
toggleBlockquote
( tr: Transform, schema: Schema )
src/toggleBlockquote.js:12
↓ 2 callers
Method
update
(view: EditorView)
src/ContentPlaceholderPlugin.js:38
↓ 2 callers
Method
update
(node: Node, decorations: Array<Decoration>)
src/ui/MathNodeView.js:149
↓ 2 callers
Function
updateResizeHandle
( view: EditorView, cellPos: number, forMarginLeft: boolean )
src/TableResizePlugin.js:472
↓ 2 callers
Function
uploadImageFiles
( view: EditorView, files: Array<File>, coords: ?{x: number, y: number} )
src/ImageUploadPlaceholderPlugin.js:52
↓ 2 callers
Function
wrapNodesWithList
( tr: Transform, schema: Schema, listNodeType: NodeType )
src/toggleList.js:55
↓ 1 callers
Method
_findCodeBlock
(state: EditorState)
src/CodeBlockCommand.js:36
↓ 1 callers
Method
_findHeading
(state: EditorState)
src/HeadingCommand.js:50
↓ 1 callers
Method
_observe
()
src/ui/PopUpManager.js:53
↓ 1 callers
Method
_onFocus
()
src/ContentPlaceholderPlugin.js:118
↓ 1 callers
Method
_show
()
src/ContentPlaceholderPlugin.js:144
↓ 1 callers
Method
_unobserve
()
src/ui/PopUpManager.js:61
next →
1–100 of 472, ranked by callers