Installation
Install Editora packages for React and web component integrations.
React integration
npm i @editora/core @editora/react @editora/plugins @editora/themes
Web component integration
npm i @editora/core @editora/plugins @editora/themes
UI and icon packages
npm i @editora/ui-core @editora/ui-react @editora/icons @editora/react-icons
Engine baseline
- Node.js
>=18 - Modern evergreen browsers
Optional packages by use case
@editora/toast: notification workflows for save/export/import states@editora/light-code-editor: source/code-editing dialog integration
Verify installation
npm ls @editora/core @editora/react @editora/plugins @editora/themes
Expected result: all packages resolve to the same compatible release line.
Common install issues
- React peer mismatch:
align
reactandreact-domwith wrapper peer range (>=16.8 <21). - Multiple core versions:
enforce a single
@editora/coreversion across app and plugin packages. - Missing theme CSS: import at least one theme stylesheet before rendering the editor.
- Missing plugin UI CSS:
when using
@editora/plugins, import@editora/plugins/styles.css. - Theme order:
import
@editora/themes/themes/default.cssfirst, then optional override themes (dark.css,acme.css).