1.2.0 • Published 5 months ago

clasor-remote-editor v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Clasor Remote Editor User Guide

To install the package use the following command:

npm i clasor-remote-editor

Usage

One simple example:

import React, { useRef } from "react";
import RemoteEditor from "clasor-remote-editor";

const wordEditorRef = useRef<IRemoteEditorRef>(null);

<RemoteEditor
  url="the url of clasor editor"
  editorMode={editorMode} // select editor mode
  ref={wordEditorRef} // pass a ref to editor
  loadData={data} // the data you want to load on init
  onGetData={() => {
    // fires when editor data is ready to read
  }}
/>
1.2.0

5 months ago

1.1.0

10 months ago

1.0.0

10 months ago

0.1.7

10 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

1 year ago

0.1.0

1 year ago