MCPcopy Create free account

hub / github.com/JiHong88/suneditor / functions

Functions1,891 in github.com/JiHong88/suneditor

↓ 1 callersMethodsearch
* @description Search files * @param {string} keyword - Search keyword
src/modules/contract/Browser.js:246
↓ 1 callersFunctionselectGradientColor
(x)
src/modules/contract/HueSlider.js:423
↓ 1 callersMethodsetJson
* @description Sets the JSON data to the editor content * (see @link converter.jsonToHtml) * @param {Object<string, *>} jsdonData HTML string *
src/core/logic/dom/html.js:1260
↓ 1 callersMethodshow
* @description Shows the editor interface. * @param {string} [rootKey] Root key
src/core/logic/shell/ui.js:380
↓ 1 callersFunctionstripHtml
(html)
src/helper/clipboard.js:62
↓ 1 callersMethodsubmitURL
* @description Create an `image` component using the provided url. * @param {string} url File url * @returns {Promise<boolean>} If return `false`,
src/plugins/modal/image/index.js:437
↓ 1 callersMethodsubmitURL
* @description Create a `video` component using the provided url. * @param {string} url File url * @returns {Promise<boolean>} If return `false`,
src/plugins/modal/video/index.js:659
↓ 1 callersFunctiontoTSValue
(val)
scripts/ts-build/gen-options-dts.cjs:8
↓ 1 callersFunctiontriggerError
(triggerReturn, errorResponse)
test/unit/plugins/modal/image/services/image.upload.spec.js:371
↓ 1 callersMethodupdate
* @description Updates the toolbar state based on the current selection. * - Traverses the DOM from the selection to the root. * - Checks for acti
src/core/event/support/selectionState.js:33
↓ 1 callersFunctionupdateConstructorThis
()
scripts/ts-build/remove-this-params.cjs:10
↓ 1 callersFunctionupdateLangFiles
()
scripts/ts-build/fix-langs.cjs:73
↓ 1 callersFunctionupdateTypeDef
* Create or update _Lang.d.ts file based on en.js
scripts/ts-build/fix-langs.cjs:35
↓ 1 callersFunctionupdateTypedef
* Update typedef.js with extracted button types using marker-based injection * Similar to inject-plugin-jsdoc.cjs pattern * @param {string[]} comman
scripts/check/gen-button-types.cjs:67
↓ 1 callersFunctionwheelPickedColor
(posX, posY)
src/modules/contract/HueSlider.js:359
Method#Action
* The loading bar is executed before `modalAction` is executed. * return type - * `true` : the loading bar and modal window are closed. * `false
src/modules/contract/Modal.js:275
Method#Action
* @param {MouseEvent} e - Event object
src/modules/contract/Controller.js:535
Method#CallBackApi
* @description API callback * @param {XMLHttpRequest} xmlHttp - XMLHttpRequest * @param {(xmlHttp: XMLHttpRequest) => Promise<void>} callBack - Ca
src/modules/manager/ApiManager.js:193
Method#CallBackError
* @param {*} res - response data. * @param {XMLHttpRequest} xmlHttp - XMLHttpRequest object.
src/modules/contract/Browser.js:530
Method#CallBackGet
* @param {XMLHttpRequest} xmlHttp - XMLHttpRequest object.
src/modules/contract/Browser.js:510
Method#CleanElements
* @description Tag and tag attribute check RegExp function. * @param {string} m RegExp value * @param {string} t RegExp value * @returns {string
src/core/logic/dom/html.js:1932
Method#ClearSearch
* @description Clears the search keyword and restores the current folder's item list.
src/modules/contract/Browser.js:650
Method#CloseListener
* @param {KeyboardEvent} e - Event object
src/modules/contract/Modal.js:311
Method#CloseListener_click
* @param {MouseEvent} e - Event object
src/modules/ui/SelectMenu.js:571
Method#CloseListener_key
* @param {KeyboardEvent} e - Event object
src/modules/ui/SelectMenu.js:550
Method#CloseListener_keydown
* @param {KeyboardEvent} e - Event object
src/modules/contract/Controller.js:575
Method#CloseListener_mousedown
* @param {KeyboardEvent} e - Event object
src/modules/contract/Controller.js:596
Method#CloseListener_mousedown
* @param {MouseEvent} e - Event object
src/modules/ui/SelectMenu.js:558
Method#CloseListener_mousedown
* @param {MouseEvent} e - Mouse event
src/core/logic/shell/component.js:762
Method#ContainerResizing
* @description Handles the resizing of the figure container. * @param {MouseEvent} e Mouse event.
src/modules/contract/Figure.js:1462
Method#ContainerResizingESC
* @description Cancels the resizing process when the escape key is pressed. * @param {KeyboardEvent} e Keyboard event.
src/modules/contract/Figure.js:1543
Method#ContainerResizingOff
* @description Finalizes the resizing process of the figure container.
src/modules/contract/Figure.js:1504
Method#DisplayLineBreak
* @param {"t"|"b"} dir - Direction * @param {PointerEvent} e - Pointer event object
src/core/event/eventOrchestrator.js:893
Method#FileInputChange
* @param {InputEvent} e - Event object
src/plugins/modal/audio.js:582
Method#MouseEnter
* @param {MouseEvent} e - Event object
src/modules/contract/Controller.js:554
Method#MouseLeave
* @param {MouseEvent} e - Event object
src/modules/contract/Controller.js:565
Method#OffCellMultiSelect
* @description Stops multi-selection of table cells. * @param {MouseEvent} e The mouse event.
src/plugins/dropdown/table/services/table.selection.js:394
Method#OffCellShift
* @description Handles the removal of shift-based selection.
src/plugins/dropdown/table/services/table.selection.js:426
Method#OffCellTouch
* @description Handles the removal of touch-based selection.
src/plugins/dropdown/table/services/table.selection.js:443
Method#OffFigureContainer
()
src/modules/contract/Figure.js:1591
Method#OnBlur_wysiwyg
* @param {SunEditor.FrameContext} frameContext - frame context object * @param {FocusEvent} e - Focus event object
src/core/event/eventOrchestrator.js:834
Method#OnCanvasMouseDown
* @param {MouseEvent} e - Event object
src/plugins/modal/drawing.js:376
Method#OnCanvasMouseEnter
* @param {MouseEvent} e - Event object
src/plugins/modal/drawing.js:436
Method#OnCanvasMouseLeave
()
src/plugins/modal/drawing.js:423
Method#OnCanvasMouseMove
* @param {MouseEvent} e - Event object
src/plugins/modal/drawing.js:386
Method#OnCanvasMouseUp
()
src/plugins/modal/drawing.js:415
Method#OnCanvasTouchMove
* @param {TouchEvent} e - Event object
src/plugins/modal/drawing.js:407
Method#OnCanvasTouchStart
* @param {TouchEvent} e - Event object
src/plugins/modal/drawing.js:396
Method#OnCellMultiSelect
* @description Handles multi-selection of table cells. * @param {MouseEvent} e The mouse event.
src/plugins/dropdown/table/services/table.selection.js:363
Method#OnChangeFile
* @description Handles file input change events. * @param {InputEvent} e - The change event object.
src/modules/ui/ModalAnchorEditor.js:464
Method#OnChangeFile
* @description Handles the change event when a file is selected. * - Triggers the file upload process. * @param {InputEvent} e - The change event
src/plugins/command/fileUpload.js:445
Method#OnChangeInner
* @description Page number change event handler * @param {InputEvent} e - Event object
src/plugins/input/pageNavigator.js:55
Method#OnChangeInput
* @param {InputEvent} e Event object
src/modules/contract/ColorPicker.js:285
Method#OnChangeRatio
* @description Updates the ratio based on current input values.
src/plugins/modal/image/services/image.size.js:181
Method#OnChangeRatio
* @description Updates the ratio based on current input values.
src/plugins/modal/video/services/video.size.js:247
Method#OnChange_downloadCheck
* @param {InputEvent} e - Event object
src/modules/ui/ModalAnchorEditor.js:584
Method#OnChange_newWindowCheck
* @param {InputEvent} e - Event object
src/modules/ui/ModalAnchorEditor.js:570
Method#OnChange_urlInput
* @param {InputEvent} e - Event object
src/modules/ui/ModalAnchorEditor.js:533
Method#OnClickAsButton
* @param {MouseEvent} e - Event object
src/plugins/modal/drawing.js:458
Method#OnClickAsButton
({ target })
src/plugins/modal/image/index.js:906
Method#OnClickColor
* @param {MouseEvent} e Event object
src/modules/contract/ColorPicker.js:270
Method#OnClickFile
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:560
Method#OnClickHeader
* @param {HTMLElement} ww WYSIWYG element * @param {Event} e Event object
src/core/section/documentType.js:614
Method#OnClickRevert
()
src/plugins/modal/embed.js:833
Method#OnClickRevert
* @description Reverts the size inputs to the original image size.
src/plugins/modal/image/services/image.size.js:188
Method#OnClickRevert
* @description Reverts the size inputs to the original video size.
src/plugins/modal/video/services/video.size.js:195
Method#OnClickSide
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:578
Method#OnClickTablePicker
* @description Executes the selected action when the table picker is clicked.
src/plugins/dropdown/table/index.js:873
Method#OnClickTag
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:538
Method#OnClick_alert
* @param {MouseEvent} e - Event object
src/core/logic/shell/ui.js:911
Method#OnClick_alignButton
()
src/modules/contract/Figure.js:1598
Method#OnClick_asButton
()
src/modules/contract/Figure.js:1602
Method#OnClick_bookmarkButton
()
src/modules/ui/ModalAnchorEditor.js:547
Method#OnClick_browser
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:626
Method#OnClick_dialog
* @param {MouseEvent} e - Event object
src/modules/contract/Modal.js:301
Method#OnClick_list
* @param {MouseEvent} e - Event object
src/modules/ui/SelectMenu.js:534
Method#OnClick_relbutton
* @description Opens the `rel` attribute selection menu.
src/modules/ui/ModalAnchorEditor.js:497
Method#OnClick_resizeButton
()
src/modules/contract/Figure.js:1606
Method#OnCloseListener
* @param {KeyboardEvent} e - Event object
src/core/logic/shell/ui.js:921
Method#OnColorPalette
()
src/modules/contract/ColorPicker.js:254
Method#OnColumnEdit
* @description Handles column operations such as insert and delete. * @param {"insert-left"|"insert-right"|"delete"} command The column operation to
src/plugins/dropdown/table/services/table.grid.js:473
Method#OnCopy_component
* @param {ClipboardEvent} e - Event object
src/core/logic/shell/component.js:778
Method#OnCut_component
* @param {ClipboardEvent} e - Event object
src/core/logic/shell/component.js:797
Method#OnDragClick
* @param {MouseEvent} e - Mouse event
src/core/logic/shell/component.js:748
Method#OnDragEnd
()
src/core/logic/shell/component.js:739
Method#OnDragEnter
()
src/core/logic/shell/component.js:710
Method#OnDragLeave
()
src/core/logic/shell/component.js:716
Method#OnDragStart
* @param {DragEvent} e - Drag event
src/core/logic/shell/component.js:725
Method#OnFindInput
@description Debounced search triggered on find input typing.
src/core/logic/panel/finder.js:333
Method#OnFindKeydown
* @description Find input keydown — ESC to close, Enter/Shift+Enter to navigate. * When liveSearch is off, Enter triggers initial search; subsequent
src/core/logic/panel/finder.js:344
Method#OnFocus_code
* @param {SunEditor.FrameContext} frameContext - frame context object
src/core/event/eventOrchestrator.js:1009
Method#OnFocus_markdown
* @param {SunEditor.FrameContext} frameContext - frame context object
src/core/event/eventOrchestrator.js:1018
Method#OnFocus_urlInput
()
src/modules/ui/ModalAnchorEditor.js:542
Method#OnFocus_wysiwyg
* @param {SunEditor.FrameContext} frameContext - frame context object * @param {FocusEvent} e - Focus event object
src/core/event/eventOrchestrator.js:793
Method#OnInputSize
* @param {"x"|"y"} xy - x or y * @param {KeyboardEvent} e - Event object
src/plugins/modal/embed.js:846
Method#OnInputSize
* @description Handles keyup events on size inputs to calculate proportion. * @param {'x'|'y'} xy - Axis (`'x'` for width, `'y'` for height) * @pa
src/plugins/modal/image/services/image.size.js:159
Method#OnInputSize
* @description Handles keyup events on size inputs to calculate proportion or update ratio selection. * @param {'x'|'y'} xy - Axis (`'x'` for width,
src/plugins/modal/video/services/video.size.js:256
Method#OnKeyDown_component
* @param {KeyboardEvent} e - Event object
src/core/logic/shell/component.js:812
Method#OnKeyDown_dropdown
* @param {KeyboardEvent} e - Event object
src/core/logic/panel/menu.js:398
Method#OnKeyDown_refer
* @param {KeyboardEvent} e - Event object
src/modules/ui/SelectMenu.js:461
← previousnext →1,101–1,200 of 1,891, ranked by callers