SoleInk is a plugin-based rich-text editor built with React, leveraging the powerful Slate.js framework. This library is designed to be highly customizable and extensible, allowing developers to easily create and integrate custom plugins for a wide range of use cases.
- Rich Text Editing: Supports various text formatting options.
- Plugin-based Architecture: Allows developers to create custom plugins that can be used with the editor.
- Customizable UI: Allows developers to customize the appearance and functionality of the editor.
- Intuitive API: Provides a simple, intuitive API for developers to interact with the editor.
- TypeScript Declarations: Provides TypeScript declaration files for improved development experience and code quality.
To install SoleInk, use npm or yarn:
npm install soleink
# or
yarn add soleink
You can import SoleInk in your project using either a named import or a default import.
import { SoleInk } from "soleink";
import SoleInk from "soleink";
Here's an example of how to use SoleInk in your component:
function MyEditor() {
return <SoleInk />;
}
SoleInk is licensed under the MIT License. See the LICENSE file for more details.