Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baskinwind/rich-editor
/ functions
Functions
366 in github.com/baskinwind/rich-editor
⨍
Functions
366
◇
Types & classes
78
↓ 1 callers
Method
getTable
(block: Block)
src/components/table.ts:24
↓ 1 callers
Function
handleRecallQueue
(editor: Editor)
src/util/update-component.ts:27
↓ 1 callers
Function
indent
(editor: Editor, block: Block)
src/selection/modify-indent.ts:9
↓ 1 callers
Method
init
()
src/editor/manage/article-manage.ts:15
↓ 1 callers
Method
isEmpty
()
src/decorate/index.ts:102
↓ 1 callers
Method
isSame
(decorate?: Decorate)
src/decorate/index.ts:78
↓ 1 callers
Function
loadIframe
()
src/editor/create-editor.ts:26
↓ 1 callers
Method
mergeData
(data?: AnyObject)
src/decorate/index.ts:48
↓ 1 callers
Method
mergeStyle
(style?: AnyObject)
src/decorate/index.ts:23
↓ 1 callers
Function
modifyTable
( editor: Editor, option: { row?: number; col?: number; head?: boolean; }, )
src/selection/modify-table.ts:6
↓ 1 callers
Method
newArticle
(article?: JSONType | Article)
src/editor/manage/article-manage.ts:52
↓ 1 callers
Method
onArrow
(direction: DirectionType, event: KeyboardEvent)
src/operator/index.ts:70
↓ 1 callers
Method
onBackspace
(start: Cursor, end: Cursor, event: KeyboardEvent)
src/operator/index.ts:66
↓ 1 callers
Method
onBlur
(event: FocusEvent)
src/operator/index.ts:21
↓ 1 callers
Method
onClick
(event: MouseEvent)
src/operator/index.ts:23
↓ 1 callers
Method
onCommand
(start: Cursor, end: Cursor, key: string, shift: boolean, event: KeyboardEvent)
src/operator/index.ts:76
↓ 1 callers
Method
onCut
(event: ClipboardEvent)
src/operator/index.ts:45
↓ 1 callers
Method
onDoubleClick
(event: MouseEvent)
src/operator/index.ts:39
↓ 1 callers
Method
onEnter
(start: Cursor, end: Cursor, event: KeyboardEvent)
src/operator/index.ts:62
↓ 1 callers
Method
onKeyDown
(event: KeyboardEvent)
src/operator/index.ts:103
↓ 1 callers
Method
onPaste
(event: ClipboardEvent)
src/operator/index.ts:52
↓ 1 callers
Method
onSave
()
src/operator/index.ts:56
↓ 1 callers
Method
onTab
(start: Cursor, end: Cursor, event: KeyboardEvent)
src/operator/index.ts:60
↓ 1 callers
Function
outdent
(editor: Editor, block: Block)
src/selection/modify-indent.ts:37
↓ 1 callers
Function
paste
(editor: Editor, event: ClipboardEvent)
src/operator/paste.ts:8
↓ 1 callers
Method
receive
(block: Block)
src/components/custom-collection.ts:100
↓ 1 callers
Method
recordSnapshoot
(component: Component)
src/editor/manage/history-manage.ts:103
↓ 1 callers
Method
save
()
src/editor/manage/article-manage.ts:75
↓ 1 callers
Method
sendTo
(block: Block)
src/components/custom-collection.ts:96
↓ 1 callers
Method
setCol
(col: number)
src/components/table.ts:119
↓ 1 callers
Method
setHead
(head: boolean)
src/components/table.ts:127
↓ 1 callers
Method
setHeading
(type: HeadingEnum = HeadingEnum.h1)
src/components/heading.ts:95
↓ 1 callers
Method
setListType
(type: ListType = ListType.ul)
src/components/list.ts:61
↓ 1 callers
Method
setRow
(row: number)
src/components/table.ts:99
↓ 1 callers
Method
setSize
(size: number)
src/components/table.ts:204
↓ 1 callers
Method
styleIsEmpty
()
src/decorate/index.ts:38
↓ 1 callers
Function
update
(editor: Editor, component: Component)
src/util/update-component.ts:64
↓ 1 callers
Function
walkCollection
( structureCollection: StructureCollection<Block>, callback: (block: Block) => boolean, )
src/selection/get-selected-id-list.ts:5
Method
$off
(eventName?: string, fn?: Function)
src/editor/event.ts:16
Function
add
(index: number, ...inline: Inline[] | string[])
src/components/content-collection.ts:71
Function
add
(index: number, ...children: (string | Component)[])
src/components/block.ts:80
Function
add
(index: number, ...blockList: T[])
src/components/structure-collection.ts:32
Function
add
(index: number, string: string)
src/components/plain-text.ts:28
Function
addChildren
(index: number, componentList: T[])
src/components/collection.ts:13
Function
addChildren
(index: number, componentList: T[])
src/components/structure-collection.ts:20
Method
addCol
(index: number)
src/components/table.ts:87
Function
addEmptyParagraph
(bottom: boolean)
src/components/content-collection.ts:163
Function
addEmptyParagraph
(bottom: boolean)
src/components/block.ts:72
Method
addEmptyParagraph
(bottom: boolean)
src/components/table.ts:296
Function
addInto
(collection: StructureCollection<Block>, index: number = -1)
src/components/block.ts:45
Function
addInto
(collection: ContentCollection, index: number = -1)
src/components/inline.ts:11
Function
addLink
()
dev/index.js:111
Method
addRow
(index: number)
src/components/table.ts:77
Function
addTable
()
dev/index.js:130
Function
addText
(text: string, index?: number)
src/components/content-collection.ts:151
Function
bold
()
dev/index.js:86
Method
buildArticle
()
src/factory/index.ts:46
Method
buildArticle
( id: string, getChildren: () => HTMLElement[], style: AnyObject, data: AnyObject, )
src/view/dom-view.ts:26
Method
buildCharacterList
(id: string, text: string, style: AnyObject, data: AnyObject)
src/view/dom-view.ts:313
Method
buildCodeBlock
( id: string, content: string, language: string, style: AnyObject, data: AnyObject, )
src/view/dom-view.ts:232
Method
buildCustomCollection
(tag: string = "div", children: string[] = [])
src/factory/index.ts:50
Method
buildCustomCollection
( id: string, tag: string, getChildren: () => HTMLElement[], style: AnyObject, data: AnyOb
src/view/dom-view.ts:50
Method
buildHeading
(type: HeadingEnum, text?: string)
src/factory/index.ts:67
Method
buildHeading
( id: string, type: HeadingEnum, getChildren: () => HTMLElement[], style: AnyObject, data:
src/view/dom-view.ts:206
Method
buildInlineImage
(src: string)
src/factory/index.ts:83
Method
buildInlineImage
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/dom-view.ts:362
Method
buildList
(type: ListEnum = ListEnum.ul, children: string[] = [])
src/factory/index.ts:54
Method
buildList
( id: string, listType: ListType, getChildren: () => HTMLElement[], style: AnyObject, data
src/view/dom-view.ts:142
Method
buildListItem
(list: HTMLElement, structureType: StructureType)
src/view/dom-view.ts:167
Method
buildParagraph
(text?: string)
src/factory/index.ts:71
Method
buildParagraph
( id: string, getChildren: () => HTMLElement[], style: AnyObject, data: AnyObject, )
src/view/dom-view.ts:180
Method
buildTable
( row: number, col: number, head: string[] = [], children: (string[] | string)[][] = [], )
src/factory/index.ts:58
Method
buildTable
( id: string, getChildren: () => HTMLElement[], style: AnyObject, data: AnyObject, )
src/view/dom-view.ts:75
Method
buildTableCell
( id: string, cellType: "th" | "td", getChildren: () => HTMLElement[], style: AnyObject, d
src/view/dom-view.ts:120
Method
buildTableRow
( id: string, getChildren: () => HTMLElement[], style: AnyObject, data: AnyObject, )
src/view/dom-view.ts:100
Method
buildeAudio
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/dom-view.ts:285
Method
buildeAudio
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/html-view.ts:150
Method
buildeImage
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/dom-view.ts:253
Method
buildeImage
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/html-view.ts:141
Method
buildeVideo
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/dom-view.ts:299
Method
buildeVideo
(id: string, src: string, style: AnyObject, data: AnyObject)
src/view/html-view.ts:156
Function
childHeadDelete
(block: T)
src/components/structure-collection.ts:115
Method
childHeadDelete
(block: Block)
src/components/custom-collection.ts:80
Method
childHeadDelete
(block: Block)
src/components/article.ts:31
Method
childHeadDelete
(tableItem: TableItem)
src/components/table.ts:287
Function
clearStyle
()
dev/index.js:101
Function
clone
()
src/components/block.ts:118
Function
code
()
dev/index.js:98
Function
componentWillChange
()
src/components/block.ts:142
Function
constructor
(text: string = "", editor?: Editor)
src/components/content-collection.ts:40
Function
constructor
(editor?: Editor)
src/components/block.ts:28
Function
constructor
()
src/components/component.ts:56
Function
constructor
(content: string = "", editor?: Editor)
src/components/plain-text.ts:19
Function
constructor
()
src/view/base-view.ts:7
Method
constructor
(component: Component)
src/record/index.ts:7
Method
constructor
(editor?: Editor)
src/factory/index.ts:31
Method
constructor
(content: string = "", language: string = "", editor?: Editor)
src/components/code-block.ts:37
Method
constructor
(src: string = "")
src/components/inline-image.ts:19
Method
constructor
(mediaType: MediaType, src: string, editor?: Editor)
src/components/media.ts:29
Method
constructor
(type: ListType = ListType.ul, children: string[] = [], editor?: Editor)
src/components/list.ts:55
← previous
next →
101–200 of 366, ranked by callers