yopta-editor-proyecto-miercoles
TypeScript icon, indicating that this package has built-in type declarations

1.1.5Β β€’Β PublicΒ β€’Β Published

Yopta-Editor v1 πŸŽ‰

Yopta-Editor - is an open source notion-like editor πŸ’₯

Screen Shot 2023-01-25 at 16 04 29

Full docs | Get started | API | FAQs | Examples

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 components from library: <YoptaEditor /> and <YoptaRender />.
    <YoptaEditor /> - it's for building beautiful content
    <YoptaRender /> - 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 yopta-editor
or
npm install yopta-editor

Peer dependencies

yarn add react react-dom slate slate-react
or
npm install react react-dom slate slate-react

Quickstart

import { YoptaEditor } from 'yopta-editor';
import { useState } from 'react';

import 'yopta-editor/dist/index.css';

function App() {
  const [editorValue, setEditorValue] = useState([]);

  const onChange = (data) => setEditorValue(data);

  return (
    <div>
      <YoptaEditor value={editorValue} onChange={onChange} />
    </div>
  );
}

Check out other DEMO's πŸ‘‡

❗ Yopta-Editor is on BETA version now. The core functionality works, but you may encounter some bugs. I have big plans for the v2 version with a lot of cool features and improvements. Let's build together the best open source editor ever ☝
Read more about future plans "What's next Lebovski?"

πŸ“ This WYSIWYG editor build on top of Slate JS framework
πŸ’™ SlateJS - is the best tool for building rich-text editors. It has beautiful design and great API

Donation.

If you like this open source project you can support me using Stripe link πŸ’™

Used by

License

MIT LICENSE

Package Sidebar

Install

npm i yopta-editor-proyecto-miercoles

Weekly Downloads

1

Version

1.1.5

License

MIT

Unpacked Size

8.41 kB

Total Files

3

Last publish

Collaborators

  • walter__rodriguez