MCPcopy Create free account

hub / github.com/JiHong88/suneditor / functions

Functions1,891 in github.com/JiHong88/suneditor

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