
SunEditor
Modular JavaScript WYSIWYG editor that turns a textarea or div into an HTML editing field, with plugins enabled one by one.
SunEditor is a WYSIWYG HTML editor written in JavaScript. A page creates it on a textarea or a div element, and the plugins the page needs are passed in the options, so the features the page enables are the ones it lists. The editor runs in the visitor’s browser and is installed from npm or loaded from a CDN.
The getting-started guide is on the project site, which says the editor works with plain JavaScript, React, Vue, Angular, Svelte and Web Components. The React binding is a separate package in its own repository.
Worth knowing
The README says an older line on a legacy branch is no longer actively maintained. It also says the editor sanitizes HTML on input, paste and Code View.
Identity
- Status
- Active
- Maintainer
- Yi JiHong4
- Maintained by
- Individual4
- First release
- 20186
Rendering and deploy
- Runs as
- In the browser1
- Install with
- npm, CDN15
Releases
Adoption
Sources
- 2026-11-16: links, Multilingual, Runs as, Install with, License model
suneditor.com/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/JiHong88/suneditor - 2026-11-16: links
suneditor.com/getting-started - 2026-11-16: Maintainer, Maintained by
raw.githubusercontent.com/JiHong88/SunEditor/master/LICENSE.txt - 2026-11-16: Categories, Install with, License
github.com/JiHong88/SunEditor/blob/master/README.md - 2026-11-16: First release
registry.npmjs.org/suneditor - 2026-11-16: Current major version
api.github.com/repos/JiHong88/suneditor/releases - 2026-11-16: Last release
api.github.com/repos/JiHong88/suneditor/releases/latest - 2026-11-16: Contributors
api.github.com/repos/JiHong88/suneditor/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/suneditor - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/suneditor