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
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/nodeTransform.js:14
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/format.js:25
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/dom/html.js:47
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/ui.js:72
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/shortcuts.js:35
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel * @param {import('../../section/constructor').ConstructorReturnType} [product] - Initial editor
src/core/logic/shell/pluginManager.js:96
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/component.js:38
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/_commandExecutor.js:49
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/commandDispatcher.js:45
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/shell/focusManager.js:19
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/panel/finder.js:65
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/panel/viewer.js:46
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/logic/panel/menu.js:35
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel * @param {Object} options - Toolbar options * @param {"toolbar"|"toolbar_sub"} options.keyName
src/core/logic/panel/toolbar.js:43
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel * @param {SunEditor.FrameContext} fc - Frame context object
src/core/section/documentType.js:54
Method
constructor
* @param {SunEditor.Instance} facade - Editor instance (Public API) * @param {Object} config - Initial configuration * @param {ProductType} config
src/core/kernel/coreKernel.js:104
Method
constructor
* @param {import('../section/constructor').ConstructorReturnType} product - Constructor product
src/core/kernel/store.js:48
Method
constructor
* @param {SunEditor.Kernel} kernel
src/core/kernel/kernelInjector.js:14
Method
constructor
* @constructor * @param {import('./contextProvider').default} contextProvider * @param {import('./optionProvider').default} optionProvider * @pa
src/core/config/eventManager.js:26
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel * @param {import('../section/constructor').ConstructorReturnType} product
src/core/config/optionProvider.js:84
Method
constructor
* @constructor * @param {import('../section/constructor').ConstructorReturnType} product
src/core/config/contextProvider.js:59
Method
constructor
* @constructor * @param {SunEditor.FrameContext} frameContext - Frame context
src/core/config/instanceCheck.js:11
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel
src/core/event/eventOrchestrator.js:45
Method
constructor
* @constructor * @param {import('../eventOrchestrator').default} inst
src/core/event/support/defaultLineManager.js:15
Method
constructor
* @constructor * @param {import('../eventOrchestrator').default} eventOrchestrator
src/core/event/support/selectionState.js:19
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {AudioGalleryPluginOptions} pluginOptions
src/plugins/browser/audioGallery.js:42
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FileBrowserPluginOptions} pluginOptions
src/plugins/browser/fileBrowser.js:54
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FileGalleryPluginOptions} pluginOptions
src/plugins/browser/fileGallery.js:43
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {VideoGalleryPluginOptions} pluginOptions
src/plugins/browser/videoGallery.js:43
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {ImageGalleryPluginOptions} pluginOptions
src/plugins/browser/imageGallery.js:42
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/command/blockquote.js:16
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/command/list_bulleted.js:23
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/command/list_numbered.js:23
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {ExportPDFPluginOptions} pluginOptions - plugin options
src/plugins/command/exportPDF.js:26
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FileUploadPluginOptions} pluginOptions - plugin options
src/plugins/command/fileUpload.js:66
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {CodeBlockPluginOptions} pluginOptions - Configuration options fo
src/plugins/command/codeBlock.js:50
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/popup/anchor.js:31
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {DrawingPluginOptions} pluginOptions
src/plugins/modal/drawing.js:44
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {AudioPluginOptions} pluginOptions
src/plugins/modal/audio.js:71
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {LinkPluginOptions} pluginOptions
src/plugins/modal/link.js:48
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {EmbedPluginOptions} pluginOptions
src/plugins/modal/embed.js:174
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {MathPluginOptions} pluginOptions
src/plugins/modal/math.js:52
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {ImagePluginOptions} pluginOptions
src/plugins/modal/image/index.js:102
Method
constructor
* @param {import('../index').default} main - The main Image_ plugin instance. * @param {import('../render/image.html').ModalReturns_image} modalEl -
src/plugins/modal/image/services/image.size.js:28
Method
constructor
* @param {import('../index').default} main - The main Image_ plugin instance.
src/plugins/modal/image/services/image.upload.js:19
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {VideoPluginOptions} pluginOptions
src/plugins/modal/video/index.js:150
Method
constructor
* @param {import('../index').default} main - The main Video plugin instance.
src/plugins/modal/video/services/video.upload.js:16
Method
constructor
* @param {import('../index').default} main - The main Video plugin instance. * @param {import('../render/video.html').ModalReturns_video} modalEl -
src/plugins/modal/video/services/video.size.js:31
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FontSizePluginOptions} pluginOptions - Configuration options for
src/plugins/input/fontSize.js:129
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/input/pageNavigator.js:20
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {AutocompletePluginOptions} pluginOptions
src/plugins/field/autocomplete.js:129
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {BackgroundColorPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/backgroundColor.js:29
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/plugins/dropdown/list.js:19
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {ParagraphStylePluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/paragraphStyle.js:32
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FontPluginOptions} pluginOptions - plugin options
src/plugins/dropdown/font.js:24
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {HRPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/hr.js:36
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {LayoutPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/layout.js:25
Method
constructor
* @param {SunEditor.Kernel} kernel - The Kernel instance * @param {AlignPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/align.js:21
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {LineHeightPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/lineHeight.js:27
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {FontColorPluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/fontColor.js:29
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {TemplatePluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/template.js:25
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {BlockStylePluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/blockStyle.js:32
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {TextStylePluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/textStyle.js:26
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance * @param {TablePluginOptions} pluginOptions - Plugin options
src/plugins/dropdown/table/index.js:73
Method
constructor
* @param {import('../index').default} main Table index
src/plugins/dropdown/table/services/table.selection.js:34
Method
constructor
* @param {import('../index').default} main Table index
src/plugins/dropdown/table/services/table.resize.js:26
Method
constructor
* @param {import('../index').default} main Table index * @param {{ * mergeButton: HTMLButtonElement, * unmergeButton: HTMLButtonElement, *
src/plugins/dropdown/table/services/table.cell.js:26
Method
constructor
* @param {import('../index').default} main Table index * @param {{ * columnButton: HTMLButtonElement, * rowButton: HTMLButtonElement, * ope
src/plugins/dropdown/table/services/table.grid.js:24
Method
constructor
* @constructor * @param {import('../index').default} main Table index * @param {Object} options - Options * @param {import('../index').TablePlug
src/plugins/dropdown/table/services/table.style.js:27
Method
constructor
* @param {import('../index').default} main Table index
src/plugins/dropdown/table/services/table.clipboard.js:14
Method
constructor
* @constructor * @param {SunEditor.Kernel} kernel - The Kernel instance
src/interfaces/plugins.js:34
Method
context
()
src/core/config/contextProvider.js:99
Method
controllerAction
* @hook Module.Controller * @type {SunEditor.Hook.Controller.Action}
src/modules/contract/Figure.js:823
Method
controllerAction
* @hook Module.Controller * @type {SunEditor.Hook.Controller.Action}
src/modules/contract/HueSlider.js:146
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/command/fileUpload.js:165
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/popup/anchor.js:85
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/modal/audio.js:220
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/modal/link.js:167
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/modal/math.js:271
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/dropdown/table/index.js:570
Method
controllerAction
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Action}
src/plugins/dropdown/table/services/table.style.js:132
Method
controllerAction
* @abstract * Executes the method that is called when a button is clicked in the `controller`. * @param {HTMLButtonElement} target Action button e
src/interfaces/contracts.js:76
Method
controllerClose
* @hook Module.Controller * @type {SunEditor.Hook.Controller.Close}
src/modules/contract/HueSlider.js:160
Method
controllerClose
@hook Module.Controller
src/plugins/command/codeBlock.js:227
Method
controllerClose
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Close}
src/plugins/modal/link.js:204
Method
controllerClose
* @hook Modules.Controller * @type {SunEditor.Hook.Controller.Close}
src/plugins/modal/math.js:289
Method
controllerClose
* @optional * This function is called before the `controller` is closed. * @returns {void}
src/interfaces/contracts.js:92
Method
controllerOn
* @optional * This function is called after the `controller` is opened. * @param {HTMLFormElement} form Controller form element * @param {Node|R
src/interfaces/contracts.js:85
Function
copyFormatAttributes
(originEl, copyEl)
src/helper/dom/domUtils.js:258
Function
create
* Creates a new instance of the SunEditor * @example * // Create with a DOM element * const editor = SUNEDITOR.create(document.getElementById('e
src/suneditor.js:77
Function
createElementBlacklist
(list)
src/helper/converter.js:333
Function
createElementWhitelist
(list)
src/helper/converter.js:324
Function
createFullPlugin
(key, opts = {})
test/unit/core/logic/shell/pluginManager.spec.js:279
Function
createMockDragEvent
(type = 'dragover', customProps = {})
test/__mocks__/editorMock.js:1451
Function
createMockInputEvent
(inputType = 'insertText', customProps = {})
test/__mocks__/editorMock.js:1413
Function
createTooltipInner
(text)
src/helper/dom/domUtils.js:612
Function
cssRules
()
test/unit/helper/env.spec.js:43
Function
defaultOnSelect
* @description Default select handler. Creates a span element with the trigger text + key. * @param {{key: string}} item - The selected data item. *
src/plugins/field/autocomplete.js:24
Function
defaultRenderItem
* @description Default render function for dropdown items. * @param {{key: string, name?: string}} item - The data item. * @returns {string} HTML st
src/plugins/field/autocomplete.js:14
Method
destroy
* @description Cleans up resources.
src/plugins/command/codeBlock.js:297
← previous
next →
1,501–1,600 of 1,891, ranked by callers