joditor
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

joditor

Like Notion, it is a WYSIWYG editor with multiple features.


Install

npm

npm install joditor

yarn

yarn add joditor

How to use

import React from "react";
import Joditor from "joditor";

const Editor = () => {
  return (
    <div>
      <Joditor onSubmit={(dom) => {}} onCancel={() => {}} />
    </div>
  );
};

Props

title Type Default Description
onSubmit func null submit callback. has dom as argument (dom)=> ...
onCancel func null cancel callback. ()=> ...

Package Sidebar

Install

npm i joditor

Weekly Downloads

0

Version

0.2.4

License

MIT

Unpacked Size

2.07 MB

Total Files

18

Last publish

Collaborators

  • minsu10