MCPcopy Create free account

hub / github.com/JiHong88/suneditor / functions

Functions1,891 in github.com/JiHong88/suneditor

Method#OnLinkPreview
* @description Updates the preview text for the entered audio URL. * - Formats the URL correctly based on the editor’s settings. * @param {InputEv
src/plugins/modal/audio.js:533
Method#OnLinkPreview
* @description Handles link preview input changes. * @param {InputEvent} e - Event object
src/plugins/modal/embed.js:815
Method#OnLinkPreview
(e)
src/plugins/modal/image/index.js:910
Method#OnLinkPreview
* @description Handles link preview input changes. * @param {InputEvent} e - Event object
src/plugins/modal/video/index.js:837
Method#OnMobileScroll_viewport
()
src/core/event/eventOrchestrator.js:965
Method#OnMouseDown_browser
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:614
Method#OnMouseDown_dropdown
* @param {MouseEvent} e - Event object
src/core/logic/panel/menu.js:383
Method#OnMouseDown_statusbar
* @param {MouseEvent} e - Event object
src/core/event/eventOrchestrator.js:863
Method#OnMouseMoveTablePicker
* @description Handles mouse movement within the table picker. * @param {MouseEvent} e The mouse event.
src/plugins/dropdown/table/index.js:834
Method#OnMouseMove_list
* @param {MouseEvent} e - Event object
src/modules/ui/SelectMenu.js:523
Method#OnMousedown_list
* @param {MouseEvent} e - Event object
src/modules/ui/SelectMenu.js:512
Method#OnMousemove_dropdown
* @param {MouseEvent} e - Event object
src/core/logic/panel/menu.js:440
Method#OnMouseout_dropdown
()
src/core/logic/panel/menu.js:391
Method#OnPanelAction
* @description Panel action function * @param {MouseEvent} e event * @returns
src/core/logic/panel/finder.js:375
Method#OnPropsBorderEdit
* @description Handles border style changes in table properties. * @param {string} command The border style command.
src/plugins/dropdown/table/services/table.style.js:817
Method#OnPropsBorderFormatEdit
* @description Handles border format changes in table properties. * @param {string} defaultCommand The default border format command. * @param {st
src/plugins/dropdown/table/services/table.style.js:828
Method#OnRemove
()
src/plugins/modal/drawing.js:451
Method#OnReplaceKeydown
(e)
src/core/logic/panel/finder.js:360
Method#OnResize
* @param {MouseEvent} e - Event object
src/modules/contract/Modal.js:330
Method#OnResizeContainer
* @param {MouseEvent} e Event object
src/modules/contract/Figure.js:1416
Method#OnResizeMouseDown
* @param {string} dir - The direction in which the resize handle is located. * @param {MouseEvent} e - Event object
src/modules/contract/Modal.js:321
Method#OnResizeMouseUp
()
src/modules/contract/Modal.js:369
Method#OnResize_viewport
()
src/core/event/eventOrchestrator.js:930
Method#OnResize_window
()
src/core/event/eventOrchestrator.js:917
Method#OnRowEdit
* @description Handles row operations such as insert and delete. * @param {"insert-above"|"insert-below"|"delete"} command The row operation to perf
src/plugins/dropdown/table/services/table.grid.js:494
Method#OnScrollDragHandler
* @param {HTMLElement} dragHandle Drag handle element * @param {HTMLElement} figureMain Figure container element
src/modules/contract/Figure.js:1407
Method#OnScroll_Abs
()
src/core/event/eventOrchestrator.js:1001
Method#OnScroll_window
()
src/core/event/eventOrchestrator.js:946
Method#OnScroll_wysiwyg
* @param {SunEditor.FrameContext} frameContext - frame context object * @param {SunEditor.EventWysiwyg} eventWysiwyg - wysiwyg event object * @par
src/core/event/eventOrchestrator.js:773
Method#OnSelectionchange_document
* @param {Document} _wd - Wysiwyg document
src/core/event/eventOrchestrator.js:975
Method#OnfileInputChange
({ target })
src/plugins/modal/image/index.js:921
Method#OnfileInputChange
* @param {InputEvent} e - Event object
src/plugins/modal/video/index.js:874
Method#OnloadImg
(oImg, _svgDefaultSize, container)
src/plugins/modal/image/index.js:944
Method#OpenGallery
* @description Opens the audio gallery plugin, if available. * - Calls a function to populate the URL input with the selected audio file.
src/plugins/modal/audio.js:550
Method#OpenGallery
()
src/plugins/modal/image/index.js:934
Method#OpenGallery
* @description Opens the video gallery.
src/plugins/modal/video/index.js:858
Method#Remove
()
src/modules/contract/ColorPicker.js:278
Method#RemoveSelectedFiles
* @description Clears the selected file input and re-enables the URL input. * - Ensures that only one input method (file or URL) is used at a time.
src/plugins/modal/audio.js:568
Method#RemoveSelectedFiles
()
src/plugins/modal/image/index.js:895
Method#RemoveSelectedFiles
* @description Removes selected files from the file input.
src/plugins/modal/video/index.js:822
Method#RenderMathExp
* @description Handles rendering of math expressions in the preview. * @param {InputEvent} e - The input event.
src/plugins/modal/math.js:390
Method#Search
* @param {SubmitEvent} e - Event object
src/modules/contract/Browser.js:638
Method#SetHeaderBookmark
* @description Sets the selected bookmark as the URL. * @param {HTMLElement} item - The selected bookmark element.
src/modules/ui/ModalAnchorEditor.js:505
Method#SetItem
* @description Set browser item * @param {HTMLElement} target - Target element
src/plugins/browser/audioGallery.js:89
Method#SetItem
* @description Set browser item * @param {HTMLElement} target - Target element
src/plugins/browser/fileBrowser.js:104
Method#SetItem
* @description Set browser item * @param {HTMLElement} target - Target element
src/plugins/browser/fileGallery.js:90
Method#SetItem
* @description Set browser item * @param {HTMLElement} target - Target element
src/plugins/browser/videoGallery.js:95
Method#SetItem
* @description Set browser item * @param {HTMLImageElement} target - Target element
src/plugins/browser/imageGallery.js:91
Method#SetMenuAlign
* @param { "none"|"left"|"center"|"right"} value align value
src/modules/contract/Figure.js:1552
Method#SetMenuAs
* @param {"block"|"inline"} value Format style
src/modules/contract/Figure.js:1562
Method#SetRatio
* @description Handles the ratio selection change event. * @param {InputEvent} e - Event object
src/plugins/modal/video/services/video.size.js:235
Method#SetRelItem
* @param {HTMLElement} item - The selected `rel` attribute element.
src/modules/ui/ModalAnchorEditor.js:518
Method#SetResize
* @param {"auto"|number} value Resize value
src/modules/contract/Figure.js:1571
Method#SetUrlInput
* @param {HTMLInputElement} target - The target element.
src/plugins/modal/audio.js:557
Method#SetUrlInput
(target)
src/plugins/modal/image/index.js:938
Method#SetUrlInput
* @description Sets the URL input value when selecting from the gallery. * @param {HTMLInputElement} target - The selected video element.
src/plugins/modal/video/index.js:866
Method#SideClose
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:691
Method#SideOpen
* @param {MouseEvent} e - Event object
src/modules/contract/Browser.js:677
Method#Submit
* @param {SubmitEvent} e Event object
src/modules/contract/ColorPicker.js:262
Method#UploadCallBack
* @description Handles the server response after a file upload. * - If the upload is successful, registers the uploaded audio. * - If an error occ
src/plugins/modal/audio.js:517
Method#UploadCallBack
* @description Handles the callback function for image upload completion. * @param {SunEditor.EventParams.ImageInfo} info - Image information. * @
src/plugins/modal/image/services/image.upload.js:204
Method#UploadCallBack
* @description Handles the callback function for video upload completion. * @param {SunEditor.EventParams.VideoInfo} info - Video information. * @
src/plugins/modal/video/services/video.upload.js:80
Method#__closeMove
()
src/core/event/eventOrchestrator.js:883
Method#__resizeEditor
* @param {MouseEvent} e - Event object
src/core/event/eventOrchestrator.js:874
Method#cellResize
* @description Resizes a table cell. * @param {HTMLElement} col The column element. * @param {HTMLElement} nextCol The next column element. * @p
src/plugins/dropdown/table/services/table.resize.js:254
Method#cellService
()
src/plugins/dropdown/table/services/table.selection.js:55
Method#cellService
()
src/plugins/dropdown/table/services/table.clipboard.js:27
Method#create
* @description Creates an embed component (`IFRAME` or `BLOCKQUOTE`) and inserts it into the editor. * @param {string} originSrc - The origin input
src/plugins/modal/embed.js:602
Method#deleteInfo
* @description Delete info object at `infoList` * @param {number} index index of info object infoList[].index)
src/modules/manager/FileManager.js:230
Method#figureResize
* @description Resizes the table figure. * @param {HTMLElement} figure The table figure element. * @param {HTMLElement} resizeLine The resize line
src/plugins/dropdown/table/services/table.resize.js:349
Method#gridService
()
src/plugins/dropdown/table/services/table.clipboard.js:23
Method#onHoverSelect
(langValue)
src/plugins/command/codeBlock.js:234
Method#onRenderBase64
* @description Inserts an image using a `Base64`-encoded string. * @param {boolean} update - Whether the image is being updated. * @param {Array<{
src/plugins/modal/image/services/image.upload.js:175
Method#onSelectItem
* @description Handles item selection from the dropdown. * @param {{key: string, [x: string]: any}} item - The selected data item. * @returns {boo
src/plugins/field/autocomplete.js:324
Method#removeCopyformt
* @param {import('../../config/eventManager').default} eventManager * @param {Node} ww Wywsiwyg element * @param {Node} button Button element
src/core/logic/shell/_commandExecutor.js:355
Method#rowResize
* @description Resizes a table row. * @param {HTMLElement} row The table row element. * @param {HTMLElement} figure The table figure element. *
src/plugins/dropdown/table/services/table.resize.js:304
Method#selectionService
()
src/plugins/dropdown/table/services/table.resize.js:39
Method#selectionService
()
src/plugins/dropdown/table/services/table.cell.js:42
Method#selectionService
()
src/plugins/dropdown/table/services/table.grid.js:42
Method#selectionService
()
src/plugins/dropdown/table/services/table.style.js:116
Method#selectionService
()
src/plugins/dropdown/table/services/table.clipboard.js:19
Method#serverUpload
* @description Uploads audio files to the server. * - Sends a request to the configured upload URL and processes the response. * @param {SunEditor
src/plugins/modal/audio.js:488
Method#sizeService
()
src/plugins/modal/image/services/image.upload.js:29
Method#sn_getMaintainedNode
* @description Return the parent maintained tag. (bind and use a util object) * @param {boolean} _isRemove is remove anchor * @param {boolean} _is
src/core/logic/dom/inline.js:1697
Method#sn_isMaintainedNode
* @description Check if element is a tag that should be persisted. (bind and use a util object) * @param {boolean} _isRemove is remove anchor * @p
src/core/logic/dom/inline.js:1709
Method#uploadCallBack
* @description Handles the callback after a file upload completes. * @param {XMLHttpRequest} xmlHttp - The XMLHttpRequest object containing the resp
src/modules/ui/ModalAnchorEditor.js:451
Method#uploadCallBack
* @description Handles the file upload completion callback. * - Parses the response and registers the uploaded file. * @param {XMLHttpRequest} xml
src/plugins/command/fileUpload.js:431
FunctionActive
* Executes the method that is called whenever the cursor position changes. * @description Executes the method that is called whenever the cursor pos
src/hooks/base.js:19
FunctionButtonsHandler
(e)
src/core/event/handlers/handler_toolbar.js:13
FunctionCopy
* Executes the method that is called when a component copy is requested. * @param {SunEditor.HookParams.CopyComponent} params - Copy component event
src/hooks/base.js:270
FunctionDeselect
* Called when a container is deselected. * @param {HTMLElement} target Target element * @returns {void}
src/hooks/base.js:247
FunctionDestroy
* Method to delete a component of a plugin, called by the `FileManager`, `Controller` module. * @param {HTMLElement} target - Target element * @re
src/hooks/base.js:261
FunctionDrawItems
* @this {{ thumbnail: ((...args: *) => *), props: Array<*> }} * @description Define the HTML of the item to be put in `div.se-file-item-column`. * -
src/modules/contract/Browser.js:768
FunctionEdit
* Executes the method that is called when a component is being edited. * @param {HTMLElement} target - Target element * @returns {void}
src/hooks/base.js:254
FunctionInit
* Executes when the editor or plugin is initialized. * Called during editor initialization and when `resetOptions` is called. * @returns {void}
src/hooks/base.js:306
FunctionInsertTab
* @description Inserts a tab character at the cursor position in a textarea * @param {KeyboardEvent} e
src/core/event/eventOrchestrator.js:1029
FunctionIsTableCaption
(node)
src/plugins/dropdown/table/shared/table.utils.js:78
FunctionOnBeforeInput
* Executes the event function of `beforeinput` (sync). * Called after validation but before the input is processed. * @param {SunEditor.HookParams
src/hooks/base.js:153
FunctionOnBeforeInputAsync
* Executes the event function of `beforeinput` (async). * Called after validation but before the input is processed. * @param {SunEditor.HookParam
src/hooks/base.js:161
FunctionOnBeforeInput_wysiwyg
(fc, e)
src/core/event/handlers/handler_ww_input.js:12
← previousnext →1,201–1,300 of 1,891, ranked by callers