Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JiHong88/suneditor
/ functions
Functions
1,891 in github.com/JiHong88/suneditor
⨍
Functions
1,891
◇
Types & classes
460
Function
OnBlur
* Executes the event function of `blur`. * @param {SunEditor.HookParams.FocusBlur} params - Event parameters * @returns {void}
src/hooks/base.js:33
Function
OnClick
* Executes the event function of `click` (sync). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.Hoo
src/hooks/base.js:113
Function
OnClickAsync
* Executes the event function of `click` (async). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.Ho
src/hooks/base.js:121
Function
OnClick_menuTray
(e)
src/core/event/handlers/handler_toolbar.js:107
Function
OnClick_toolbar
(e)
src/core/event/handlers/handler_toolbar.js:131
Function
OnClick_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_mouse.js:74
Function
OnCopy_wysiwyg
(frameContext, e)
src/core/event/handlers/handler_ww_clipboard.js:23
Function
OnCut_wysiwyg
(frameContext, e)
src/core/event/handlers/handler_ww_clipboard.js:41
Function
OnDragEnd_wysiwyg
(dragCursor)
src/core/event/handlers/handler_ww_dragDrop.js:68
Function
OnDragOver_wysiwyg
(fc, dragCursor, _iframeTopArea, _innerToolbar, e)
src/core/event/handlers/handler_ww_dragDrop.js:18
Function
OnDrop_wysiwyg
(fc, dragCursor, e)
src/core/event/handlers/handler_ww_dragDrop.js:83
Function
OnFilePasteAndDrop
* Executes when files are pasted or dropped into the editor (sync). * This event is called for each file. The paste/drop process is automatically st
src/hooks/base.js:221
Function
OnFilePasteAndDropAsync
* Executes when files are pasted or dropped into the editor (async). * This event is called for each file. The paste/drop process is automatically s
src/hooks/base.js:229
Function
OnFocus
* Executes the event function of `focus`. * @param {SunEditor.HookParams.FocusBlur} params - Event parameters * @returns {void}
src/hooks/base.js:26
Function
OnInput
* Executes the event function of `input` (sync). * Called after the input has been processed. * @param {SunEditor.HookParams.InputWithData} params
src/hooks/base.js:171
Function
OnInputAsync
* Executes the event function of `input` (async). * Called after the input has been processed. * @param {SunEditor.HookParams.InputWithData} param
src/hooks/base.js:179
Function
OnInput_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_input.js:42
Function
OnKeyDown
* Executes the event function of `keydown` (sync). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.H
src/hooks/base.js:59
Function
OnKeyDownAsync
* Executes the event function of `keydown` (async). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.
src/hooks/base.js:67
Function
OnKeyDown_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_key.js:24
Function
OnKeyUp
* Executes the event function of `keyup` (sync). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.Hoo
src/hooks/base.js:77
Function
OnKeyUpAsync
* Executes the event function of `keyup` (async). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor.Ho
src/hooks/base.js:85
Function
OnKeyUp_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_key.js:98
Function
OnMouseDown
* Executes the event function of `mousedown` (sync). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEditor
src/hooks/base.js:95
Function
OnMouseDownAsync
* Executes the event function of `mousedown` (async). * Called sequentially on all plugins. Returning a boolean stops the loop. * @param {SunEdito
src/hooks/base.js:103
Function
OnMouseDown_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_mouse.js:15
Function
OnMouseLeave
* Executes the event function of `mouseleave` (sync). * @param {SunEditor.HookParams.MouseEvent} params - Mouse event information * @returns {void
src/hooks/base.js:204
Function
OnMouseLeaveAsync
* Executes the event function of `mouseleave` (async). * @param {SunEditor.HookParams.MouseEvent} params - Mouse event information * @returns {Pro
src/hooks/base.js:211
Function
OnMouseLeave_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_mouse.js:162
Function
OnMouseMove
* Executes the event function of `mousemove`. * @param {SunEditor.HookParams.MouseEvent} params - Mouse event information * @returns {void}
src/hooks/base.js:40
Function
OnMouseMove_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_mouse.js:145
Function
OnMouseUp
* Executes the event function of `mouseup` (sync). * @param {SunEditor.HookParams.MouseEvent} params - Mouse event information * @returns {void}
src/hooks/base.js:188
Function
OnMouseUpAsync
* Executes the event function of `mouseup` (async). * @param {SunEditor.HookParams.MouseEvent} params - Mouse event information * @returns {Promis
src/hooks/base.js:195
Function
OnMouseUp_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_mouse.js:61
Function
OnMousedown
({ target, clientX, clientY })
src/modules/contract/HueSlider.js:310
Function
OnMousemove
({ clientX, clientY })
src/modules/contract/HueSlider.js:322
Function
OnPaste
* Executes the event function of `paste` (sync). * Called sequentially on all plugins. Returning a boolean stops the loop. * Returning `false` wil
src/hooks/base.js:132
Function
OnPasteAsync
* Executes the event function of `paste` (async). * Called sequentially on all plugins. Returning a boolean stops the loop. * Returning `false` wi
src/hooks/base.js:141
Function
OnPaste_wysiwyg
(frameContext, e)
src/core/event/handlers/handler_ww_clipboard.js:13
Function
OnScroll
* Executes the event function of `scroll`. * @param {SunEditor.HookParams.Scroll} params - Event parameters * @returns {void}
src/hooks/base.js:47
Function
OnTouchmove
(event)
src/modules/contract/HueSlider.js:295
Function
OnTouchstart
(event)
src/modules/contract/HueSlider.js:277
Function
RetainFormat
* This method is used to validate and preserve the format of the component within the editor. * - It ensures that the structure and attributes of th
src/hooks/base.js:283
Function
Select
* Executes the method that is called when a component of a plugin is selected. * @param {HTMLElement} target - Target component element * @returns
src/hooks/base.js:240
Function
SetDir
* Executes the method called when the rtl, ltr mode changes. (`editor.ui.setDir`) * @param {string} dir - Direction (`rtl` or `ltr`) * @returns {v
src/hooks/base.js:299
Function
Shortcut
* Executes methods called by shortcut keys. * @param {SunEditor.HookParams.Shortcut} params - Information of the `shortcut` plugin * @returns {voi
src/hooks/base.js:292
Function
TestPlugin
()
test/unit/core/section/constructor.spec.js:723
Function
_CellFormZIndex
* @description Adjusts the z-index of the cell controller form. * @param {boolean} value - If `true`, brings to top; otherwise resets.
src/plugins/dropdown/table/index.js:914
Function
_destroy
* @description Clears the entire history stack and cancels any pending save operations.
src/core/logic/shell/history.js:423
Method
_destroy
* @internal * @description Destroy the HTML instance and release memory
src/core/logic/dom/html.js:2023
Method
_destroy
* @internal * @description Destroy the UI instance and release memory
src/core/logic/shell/ui.js:930
Method
_destroy
* @internal * @description Destroy the Shortcuts instance and release memory
src/core/logic/shell/shortcuts.js:126
Method
_destroy
* @description Destroy the plugin manager
src/core/logic/shell/pluginManager.js:346
Method
_destroy
* @internal * @description Destroy the Component instance and release memory
src/core/logic/shell/component.js:948
Method
_destroy
* @description Destroy the CommandDispatcher
src/core/logic/shell/commandDispatcher.js:235
Method
_destroy
@internal
src/core/logic/panel/finder.js:889
Method
_destroy
* @internal * @description Destroy the Viewer instance and release memory
src/core/logic/panel/viewer.js:886
Method
_destroy
* @internal * @description Destroy the Menu instance and release memory
src/core/logic/panel/menu.js:453
Method
_destroy
* @internal * @description Destroy the Toolbar instance and release memory
src/core/logic/panel/toolbar.js:579
Method
_destroy
* @internal * @description Destroy the DocumentType instance and release memory
src/core/section/documentType.js:638
Method
_destroy
* @description Destroy the kernel and release all resources. * Teardown order (reverse of init): plugins -> logic -> event -> config -> store * Us
src/core/kernel/coreKernel.js:283
Method
_destroy
()
src/core/config/optionProvider.js:481
Method
_destroy
()
src/core/config/contextProvider.js:263
Method
_init
()
src/core/config/eventManager.js:173
Method
_markdownViewAutoHeight
* @internal * @description Adjusts the height of the markdown view area. * @param {HTMLTextAreaElement} md - Markdown area * @param {HTMLTextAre
src/core/logic/panel/viewer.js:760
Function
_offDownFn
* @this {EventManagerThis_handler_ww_mouse}
src/core/event/handlers/handler_ww_mouse.js:51
Method
_reset
()
src/core/kernel/store.js:165
Method
_scrollLineNumbers
* @internal * @this {HTMLElement} Code numbers area * @description Synchronizes scrolling of line numbers with the code editor. * - Keeps the li
src/core/logic/panel/viewer.js:748
Method
_scrollMarkdownLineNumbers
* @internal * @this {HTMLElement} Markdown numbers area * @description Synchronizes scrolling of line numbers with the markdown editor. * @param
src/core/logic/panel/viewer.js:771
Function
_setAutoHeightStyle
(frameHeight)
src/helper/converter.js:592
Function
_setDefaultOptionStyle
(fo, cssText)
src/helper/converter.js:500
Function
_setIframeStyleLinks
(linkNames)
src/helper/converter.js:543
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/blockquote.js:44
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/list_bulleted.js:62
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/list_numbered.js:62
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/exportPDF.js:55
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/fileUpload.js:137
Method
action
* @override * @type {PluginCommand['action']}
src/plugins/command/codeBlock.js:157
Method
action
* @imple Command * @type {PluginCommand['action']}
src/plugins/input/fontSize.js:306
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/list.js:87
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/paragraphStyle.js:69
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/font.js:104
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/layout.js:46
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/align.js:89
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/lineHeight.js:95
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/template.js:46
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/blockStyle.js:109
Method
action
* @override * @type {PluginDropdown['action']}
src/plugins/dropdown/textStyle.js:80
Method
action
* @abstract * @description Executes the main execution method of the plugin. * - It is executed by clicking a toolbar `command` button or calling
src/interfaces/plugins.js:102
Method
action
* @abstract * @description Executes the main execution method of the plugin. * - Called when an item in the `dropdown` menu is clicked. * - MUST
src/interfaces/plugins.js:133
Function
active
()
test/unit/core/logic/shell/pluginManager.spec.js:87
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/command/blockquote.js:30
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/command/list_bulleted.js:48
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/command/list_numbered.js:48
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/command/codeBlock.js:143
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/input/fontSize.js:194
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/backgroundColor.js:55
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/list.js:43
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/font.js:49
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/align.js:48
← previous
next →
1,301–1,400 of 1,891, ranked by callers