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
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/lineHeight.js:50
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/fontColor.js:55
Method
active
* @hook Editor.EventManager * @type {SunEditor.Hook.Event.Active}
src/plugins/dropdown/blockStyle.js:53
Method
activeCommands
* @description Returns the active commands array. * @returns {Array<string>}
src/core/logic/shell/commandDispatcher.js:73
Function
addUrlQuery
(url, query)
src/helper/converter.js:478
Method
appendNode
(parentEl, insNode, sibling, originNode)
src/core/logic/dom/format.js:496
Function
applyInlineStylesAll
(wwTarget, includeWW, styles)
src/helper/dom/domUtils.js:491
Method
applyTheme
(target)
src/core/logic/shell/ui.js:186
Function
arrayFilter
(array, validation)
src/helper/dom/domUtils.js:132
Function
arrayFind
(array, validation)
src/helper/dom/domUtils.js:155
Function
arrayIncludes
(array, node)
src/helper/dom/domUtils.js:176
Function
audioUploadHandler
* @callback * @description Custom handler for audio upload requests. * Fired after the `XMLHttpRequest` is sent but before default response processi
src/events.js:631
Method
browserInit
* @optional * Executes the method that is called when a `Browser` module is opened. * @returns {void}
src/interfaces/contracts.js:110
Function
camelToKebabCase
(param)
src/helper/converter.js:220
Function
changeElement
(element, newElement)
src/helper/dom/domUtils.js:282
Function
changeTxt
(node, txt)
src/helper/dom/domUtils.js:303
Function
check
* @description Immediately saves the current state to the history stack if a delayed save is pending. * @param {*} rootKey The key of the root fram
src/core/logic/shell/history.js:281
Method
checkCss
(vNode)
src/core/logic/dom/inline.js:518
Method
checkScrollEnd
()
src/core/section/documentType.js:537
Function
cleanHTML
(html)
src/helper/msOffice.js:752
Function
clearData
()
test/integration/eventOrchestrator.spec.js:37
Method
clearData
(format)
test/setup.js:129
Function
clone
(node, deep = false)
src/helper/dom/domUtils.js:54
Method
close
* @override * @type {PluginBrowser['close']}
src/plugins/browser/audioGallery.js:80
Method
close
* @override * @type {PluginBrowser['close']}
src/plugins/browser/fileGallery.js:81
Method
close
* @override * @type {PluginBrowser['close']}
src/plugins/browser/videoGallery.js:86
Method
close
* @override * @type {PluginBrowser['close']}
src/plugins/browser/imageGallery.js:82
Method
close
* @abstract * @description Executes the method that is called when a `Browser` module is closed. * @returns {void}
src/interfaces/plugins.js:80
Method
colorPickerAction
* @hook Modules.ColorPicker * @type {SunEditor.Hook.ColorPicker.Action}
src/plugins/dropdown/backgroundColor.js:92
Method
colorPickerAction
* @hook Modules.ColorPicker * @type {SunEditor.Hook.ColorPicker.Action}
src/plugins/dropdown/fontColor.js:93
Method
colorPickerAction
* @hook Modules.ColorPicker * @type {SunEditor.Hook.ColorPicker.Action}
src/plugins/dropdown/table/services/table.style.js:124
Method
colorPickerAction
* @optional * Executes the method called when a button of `ColorPicker` module is clicked. * - When applying the `ColorPicker` module globally to
src/interfaces/contracts.js:131
Method
colorPickerHueSliderClose
* @optional * Executes the method called when the `HueSlider` module is closed. * @returns {void}
src/interfaces/contracts.js:145
Method
colorPickerHueSliderOpen
* @optional * Executes the method called when the `HueSlider` module is opened. * @returns {void}
src/interfaces/contracts.js:138
Function
compareElements
(a, b)
src/helper/dom/domQuery.js:252
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/command/fileUpload.js:54
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/popup/anchor.js:20
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/modal/audio.js:57
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/modal/embed.js:89
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/modal/math.js:41
Method
component
* @param {Element} node - The node to check. * @returns {Element|null} Returns a node if the node is a valid component.
src/plugins/modal/image/index.js:80
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/modal/video/index.js:95
Method
component
* @param {HTMLElement} node - The node to check. * @returns {HTMLElement|null} Returns a node if the node is a valid component.
src/plugins/dropdown/table/index.js:47
Method
componentCopy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Copy}
src/plugins/dropdown/table/index.js:232
Method
componentCopy
* @optional * Executes the method that is called when a component copy is requested. * @param {SunEditor.HookParams.CopyComponent} params - Copy c
src/interfaces/contracts.js:227
Method
componentDeselect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Deselect}
src/plugins/popup/anchor.js:77
Method
componentDeselect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Deselect}
src/plugins/dropdown/hr.js:64
Method
componentDeselect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Deselect}
src/plugins/dropdown/table/index.js:200
Method
componentDeselect
* @optional * Called when a container is deselected. * @param {HTMLElement} target - Target element * @returns {void}
src/interfaces/contracts.js:203
Method
componentDestroy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Destroy}
src/plugins/command/fileUpload.js:215
Method
componentDestroy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Destroy}
src/plugins/modal/embed.js:411
Method
componentDestroy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Destroy}
src/plugins/modal/image/index.js:337
Method
componentDestroy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Destroy}
src/plugins/modal/video/index.js:381
Method
componentDestroy
* @hook Editor.Component * @type {SunEditor.Hook.Component.Destroy}
src/plugins/dropdown/hr.js:72
Method
componentDestroy
* @optional * Method to delete a component of a plugin, called by the `FileManager`, `Controller` module. * @param {HTMLElement} target - Target e
src/interfaces/contracts.js:219
Method
componentEdit
* @hook Editor.Component * @type {SunEditor.Hook.Component.Edit}
src/plugins/command/fileUpload.js:204
Method
componentEdit
* @hook Editor.Component * @type {SunEditor.Hook.Component.Edit}
src/plugins/modal/embed.js:403
Method
componentEdit
* @hook Editor.Component * @type {SunEditor.Hook.Component.Edit}
src/plugins/modal/image/index.js:329
Method
componentEdit
* @hook Component * @type {SunEditor.Hook.Component.Edit}
src/plugins/modal/video/index.js:373
Method
componentEdit
* @optional * Executes the method that is called when a component is being edited. * @param {HTMLElement} target - Target element * @returns {vo
src/interfaces/contracts.js:211
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/command/fileUpload.js:182
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/modal/audio.js:241
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/modal/embed.js:395
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/modal/math.js:297
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select} * @param {HTMLIFrameElement|HTMLVideoElement} target
src/plugins/modal/video/index.js:365
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/dropdown/hr.js:56
Method
componentSelect
* @hook Editor.Component * @type {SunEditor.Hook.Component.Select}
src/plugins/dropdown/table/index.js:172
Method
componentSelect
* @abstract * Executes the method that is called when a component of a plugin is selected. * @param {HTMLElement} target - Target component elemen
src/interfaces/contracts.js:195
Method
constructor
(callback)
test/setup.js:6
Method
constructor
()
test/setup.js:18
Method
constructor
(type, options = {})
test/setup.js:97
Method
constructor
()
test/setup.js:119
Method
constructor
(type, eventInitDict = {})
test/__mocks__/editorIntegration.js:67
Method
constructor
(fileBits, fileName, options = {})
test/__mocks__/editorIntegration.js:94
Method
constructor
(type, params = {})
test/integration/eventOrchestrator.spec.js:15
Method
constructor
(k, opts)
test/unit/core/logic/shell/pluginManager.spec.js:145
Method
constructor
(k, pluginOpts)
test/unit/core/logic/shell/pluginManager.spec.js:289
Method
constructor
(k, opts)
test/unit/core/logic/shell/pluginManager.spec.js:333
Method
constructor
()
test/unit/core/logic/shell/pluginManager.spec.js:480
Method
constructor
()
test/unit/core/logic/shell/pluginManager.spec.js:1651
Method
constructor
(kernel)
test/unit/core/kernel/kernelInjector.spec.js:226
Method
constructor
(type, eventInitDict = {})
test/unit/core/event/handlers/handler_ww_dragDrop.integration.spec.js:10
Method
constructor
(fileBits, fileName, options = {})
test/unit/core/event/handlers/handler_ww_dragDrop.integration.spec.js:31
Method
constructor
()
test/unit/plugins/modal/drawing.spec.js:432
Method
constructor
* @description Modal window module * @param {*} inst The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependenc
src/modules/contract/Modal.js:41
Method
constructor
* @constructor * @param {*} host The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {Node
src/modules/contract/Controller.js:76
Method
constructor
* @constructor * @param {*} inst The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {Figu
src/modules/contract/Figure.js:138
Method
constructor
* @constructor * @param {*} host The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {stri
src/modules/contract/ColorPicker.js:96
Method
constructor
* @constructor * @param {*} host The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {Brow
src/modules/contract/Browser.js:91
Method
constructor
* @constructor * @param {import('./ColorPicker').default} inst The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel
src/modules/contract/HueSlider.js:110
Method
constructor
* @constructor * @param {SunEditor.Deps} $ Kernel dependencies * @param {HTMLElement} modalForm Modal <form> * @param {ModalAnchorEditorParams}
src/modules/ui/ModalAnchorEditor.js:71
Method
constructor
* @constructor * @param {SunEditor.Deps} $ Kernel dependencies * @param {SelectMenuParams} params SelectMenu options
src/modules/ui/SelectMenu.js:49
Method
constructor
* @constructor * @param {*} inst The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {ApiM
src/modules/manager/ApiManager.js:30
Method
constructor
* @constructor * @param {*} inst The instance object that called the constructor. * @param {SunEditor.Deps} $ Kernel dependencies * @param {File
src/modules/manager/FileManager.js:23
Method
constructor
* @constructor * @description SunEditor constructor function. * @param {Array<{target: Element, key: *, options: SunEditor.InitFrameOptions}>} mul
src/core/editor.js:25
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/offset.js:90
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/inline.js:25
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/listFormat.js:15
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/selection.js:26
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/char.js:20
← previous
next →
1,401–1,500 of 1,891, ranked by callers