1.4.1 • Published 11 months ago

clasor-remote-editor v1.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
11 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

11 months ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago