1.1.1 • Published 5 months ago
rte-ext v1.1.1
Remirror Button Node Extension
This package provides a custom Remirror Node Extension that allows users to insert buttons into a rich text editor (RTE). It demonstrates how to extend the Remirror editor with custom nodes, including the ability to insert and remove button-like components.
Note: This package is not 100% perfect and was created as a test to see whether adding a custom node in an RTE works. Feel free to explore and extend it as needed!
Features
- Adds a custom button node to the Remirror editor.
- Includes the ability to:
- Insert a button node with attributes like
name
andid
. - Display custom button components with icons.
- Remove the button node from the editor.
- Insert a button node with attributes like
- Showcases how to integrate React components into Remirror extensions.
Installation
npm install @your-scope/remirror-button-node-extension