1.1.16 • Published 2 years ago
publy-editor v1.1.16
Publy Editor
A rich text editor for Publy co. services
Installation:
npm install publy-editor --save-dev
or
yarn add -D publy-editor
Basic Usage :
Add PublyEditor
to your component:
// react 18
import React from 'react'
import ReactDOM from 'react-dom/client'
import { PublyEditor, PublyEditorContextProvider } from 'publy-editor'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<PublyEditorContextProvider>
<PublyEditor editorType='tiptap'/>
</PublyEditorContextProvider>
</React.StrictMode>,
)
// < react 18
import React from 'react';
import ReactDOM from 'react-dom';
import { PublyEditor } from 'publy-editor';
ReactDOM.render(
<React.StrictMode>
<PublyEditorContextProvider>
<PublyEditor editorType='tiptap'/>
</PublyEditorContextProvider>
</React.StrictMode>,
document.getElementById('root'),
);
1.1.16
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.13
2 years ago
1.1.12
2 years ago
1.1.11
2 years ago
1.1.10
2 years ago
1.1.9
2 years ago
1.1.8
2 years ago
1.1.7
2 years ago
1.1.6
2 years ago
1.1.5
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago