truerte-react
v0.0.6
Published
TrueRTE React Component
Readme
Official TrueRTE React component
About
This package is a thin wrapper around TrueRTE to make it easier to use in a React application.
- If you need full editor docs, see: TrueRTE Documentation.
- For the React quick start, see: TrueRTE React Installation and Usage Guide.
- For the React technical reference, see: TrueRTE React API Reference (Props).
- For imperative
useRefcontrol patterns, see: TrueRTE React useRef Feature Control.
Installation
npm install truerte-reactQuick Example
import { Editor } from "truerte-react";
export default function App() {
return (
<Editor
useLucideIcons={true}
init={{
height: 500,
plugins: "lists link table code",
toolbar: "undo redo | bold italic underline | bullist numlist | link table | code",
}}
/>
);
}truerte-react now loads bundled TrueRTE core assets from the installed package by default.
If you need script URL loading, provide truerteScriptSrc (or set bundleCoreEditor={false} to use the CDN fallback).
Issues
Have you found an issue with truerte-react or do you have a feature request?
- Open an issue
- Submit a pull request
Note: For core editor issues in TrueRTE itself, please use the TrueRTE repository.
Repository
- React wrapper: github.com/TrueRTE/truerte-react
- Core editor: github.com/TrueRTE/truerte
License
MIT
