RichTextEditor Demo
Home Pricing
TypeScript TypeScript API Available

Full type safety, async initialization, and IntelliSense support. Install via npm or use the JavaScript API directly.

    npm install ts-rich-text-editor

    import { createRichTextEditor } from "ts-rich-text-editor";

    const editor = await createRichTextEditor("#editor", { toolbar: "full" });

Demo
Basic Examples
Default Toolbar
Basic Editor
Responsive Toolbar
Multiple editors
Skinning RichTextEditor
Powerful table support
Cleaning pasted content
UI language
Setting the max length
Editor Size
Editor Size
Editor Auto Grow
Resizing Customization
Inserting Content
Paste from Word
Paste from Excel
Paste plain text
File Upload
Embed Video
Code Snippets
Drag and Drop
Drag & drop images
Drag & drop Content
Typing
Keyboard Shortcuts
Tab Spaces
Enter Key
Plugins
Built-In Plugins
Export as PDF
APIs
Get & Set HTML
Insert HTML Button
Custom Toolbar
Custom Button
Custom Dropdown
Custom Dialog
JavaScript API
Read-Only Mode
Docs
Documents
Home
Installation (div)
Installation (textarea)
Configuration
Configuration Reference
Setting and Getting data
Other FAQ List
Javascript API
Initialization
All Commands
All Properties
All Methods
Handle Event
Upload files
Javascript Method List
execCommand
attachEvent
detachEvent
getHTMLCode
setHTMLCode
getPlainText
getReadOnly
setReadOnly
isCommandEnabled
isCommandActive
setContentCssText
setPreviewCssText
insertRootParagraph
insertByTagName
surroundByTagName
insertElement
surroundElement
insertText
insertHTML
selectControl
selectDoc
collapse
delete
focus
commitBookmark
clearHistory
notifySelectionChange
htmlEncode
htmlDecode
getDocument
getEditable
getSelection
getSelectedControl
getSelectionElement
getSelectedText
createToolbarButton
createToolbarDropDown
createDialog
closeCurrentPopup
setImageForCommand
JS Event List
exec_command
change
selectionchange