@stll/folio-vue
v0.26.0
Published
Vue 3 editor for folio: a Word-document (.docx) editor for the browser, built on @stll/folio-core and ProseMirror.
Downloads
6,660
Maintainers
Readme
@stll/folio-vue
Vue 3 adapter for the folio document editor.
Install
bun add @stll/folio-vue vue@^3.3.0 \
prosemirror-commands@^1.7.1 prosemirror-dropcursor@^1.8.2 prosemirror-gapcursor@^1.4.1 prosemirror-history@^1.5.0 \
prosemirror-inputrules@^1.5.0 prosemirror-keymap@^1.2.3 prosemirror-model@^1.25.9 prosemirror-state@^1.4.4 \
prosemirror-tables@^1.8.5 prosemirror-transform@^1.12.0 prosemirror-view@^1.42.6 y-prosemirror@^1.3.7 \
y-protocols@^1.0.6 yjs@^13.6.31ProseMirror and Yjs packages are required peers, including the collaboration
packages y-prosemirror and y-protocols. Install one compatible copy of each in the host
application so schemas, plugins, editor states, and collaborative documents share
the same runtime. The command above includes the complete editor peer closure.
Import DocxEditor from @stll/folio-vue and load
@stll/folio-vue/editor.css once in your application.
Keyboard shortcuts default to the editor root. Set keyboardShortcuts="document"
only when this editor should own shortcuts across the host page.
