@yoopta/editor v4.0.0
Features
- Triggering by "/" to show list of elements and search needed element by typing
- Drag and drop beetween elements
- Redo/Undo your changes (Ctrl-Z/Ctrl-V)
- Offline ready mode
- Shortcuts
- A cool representation of the data in JSON format, so you can easily save the content data to the database and validate
You can import two plugins from library:
<YooptaEditor />
and<YooptaRender />
.<YooptaEditor />
- it's for building beautiful content<YooptaRender />
- it's just for rendering from your saved data, without any editor tools and libraries, so it make you page loading faster - Custom styling ...and other
Install
yarn add yoopta-editor
or
npm install yoopta-editor
Peer dependencies
yarn add react react-dom slate slate-react
or
npm install react react-dom slate slate-react
Quickstart
import { YooptaEditor } from '@yoopta/editor';
import { useState } from 'react';
import 'yoopta-editor/dist/index.css';
function App() {
const [editorValue, setEditorValue] = useState([]);
const onChange = (data) => setEditorValue(data);
return (
<div>
<YooptaEditor value={editorValue} onChange={onChange} />
</div>
);
}
Check out other DEMO's š
- Basic usage
- Offline mode
- Working with media
- Just rendering
- Custom styling
Donation.
If you like this open source project you can support me using Stripe link š
Used by
- Tapflow - The perfect tool for building and selling online courses
- Equalize.team
- Yopage.co - blogging platform
License
MIT LICENSE
13 days ago
17 days ago
18 days ago
20 days ago
20 days ago
22 days ago
1 month ago
1 month ago
29 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
4 months ago
4 months ago
9 months ago
9 months ago
8 months ago
7 months ago
7 months ago
9 months ago
9 months ago
8 months ago
7 months ago
7 months ago
7 months ago
12 months ago
12 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago