0.3.3 • Published 7 months ago

moki-editor v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Moki Editor

npm build docus react tiptap

Live Demo

🚀 ClearLove Moki

Introduction

Moki Editor provides a multifunctional editor, written with TipTap + React + Typescript;

  • 😍 DIY Toolbar/InlineBar
  • 💎 Export Json/Html
  • ⚙️ Typescript declaration
  • 💌 Free and open source

TODO

Props

属性描述类型默认值
refEditorEditor/null/
content编辑器内容string/nullnull
editable是否可以编辑Booleantrue
extensions插件配置Array<AnyExtension/AnyExtension[]>[]
isToolBar是否展示工具栏Booleantrue
autofocus是否聚焦Booleantrue
onUpdate文档修改事件((props: { editor: TipTapEditor, transaction: any }) => void)/undefined/
children自定义工具栏内容React.ReactNode/

Test

git clone https://github.com/ClearLuvMoki/Moki-Editor.git
npm install
npm run dev
0.3.3

7 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago