1.4.1 • Published 4 months ago

clasor-remote-editor v1.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 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.4.1

4 months ago

1.3.2

7 months ago

1.3.1

8 months ago

1.3.0

12 months ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago