Skip to content

toswm128/Joditor

Repository files navigation

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. ()=> ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published