
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@singleware/ui-editor
Advanced tools
Custom HTML element to be used as a WYSIWYG editor, this custom element provides a simple way to edit rich texts using the latest browser technologies.
| Name | Description |
|---|---|
| empty | Automatically assigned when there is content into the editor |
| invalid | Automatically assigned when the editor content is required but there is no content |
| Name | Description |
|---|---|
| empty | Get the empty state from the editor |
| name | Get and set the editor name |
| value | Get and set the editor content |
| defaultValue | Get and set tje editor default value |
| required | Get and set the required state |
| readOnly | Get and set the readOnly state |
| disabled | Get and set the disabled state |
| preserveSelection | Get and set the preserve selection state. |
| paragraphType | Get and set the paragraph tag name |
| deniedTags | Get and set the denied tag list |
| orientation | Get and set the editor orientation mode. Use: row or column value |
| selectedRange | Get the current selection range |
| selectedText | Get the current selection text |
| selectedHTML | Get the current selection HTML |
| selectedStyles | Get the current selection styles |
| Name | Description |
|---|---|
| setRemovalState | Change the removal state of an element. |
| setRenderingState | Change the rendering state of an element. |
| clearSelection | Removes any active selection in the editor content |
| focus | Move the focus to the content child into the editor |
| reset | Reset the content child into the editor to its initial value |
| checkValidity | Check whether the editor content is valid |
| formatAction | Formats the specified tag for the selection or insertion point |
| fontNameAction | Change the font name for the selection or at the insertion point |
| fontSizeAction | Change the font size for the selection or at the insertion point |
| fontColorAction | Change the font color for the selection or at the insertion point |
| lineHeightAction | Change line height for the selection or at the insertion point |
| undoAction | Undoes the last executed command |
| redoAction | Redoes the previous undo command |
| boldAction | Toggles bold on/off for the selection or at the insertion point |
| italicAction | Toggles italics on/off for the selection or at the insertion point |
| underlineAction | Toggles underline on/off for the selection or at the insertion point |
| strikeThroughAction | Toggles strikeThrough on/off for the selection or at the insertion point |
| unorderedListAction | Creates a bulleted unordered list for the selection or at the insertion point |
| orderedListAction | Creates a numbered ordered list for the selection or at the insertion point |
| alignLeftAction | Justifies the selection or insertion point to the left |
| alignCenterAction | Justifies the selection or insertion point to the center |
| alignRightAction | Justifies the selection or insertion point to the right |
| alignJustifyAction | Justifies the selection or insertion point |
| outdentAction | Outdents the line containing the selection or insertion point |
| indentAction | Indents the line containing the selection or insertion point |
| cutAction | Removes the current selection and copies it to the clipboard |
| copyAction | Copies the current selection to the clipboard |
| pasteAction | Pastes the clipboard contents at the insertion point |
| Name | Description |
|---|---|
| toolbar | Element to contain all toolbar controls |
| content | Element to contain all editor data (rich text, html, etc) |
| Name | Description |
|---|---|
| change | Dispatched when the content into the editor is changed |
Using npm:
npm i @singleware/ui-editor
FAQs
Singleware UI editor package.
We found that @singleware/ui-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.