@kerebron/extension-odt
v0.4.5
Published
## Watch a Demo
Readme
Kerebron - Prosemirror based online editor kit
Watch a Demo
Playground Demo
playground - be nice.
Overview
Using vanilla Prosemirror modules is often impossible because of incompatibilities.
Kerebron forks several prosemirror projects into one monorepo in order to keep them in sync.
Project is inspired on https://tiptap.dev/, but instead of building wrapper around a wrapper it borrows concept of extension and command manager.
It has simplified tooling (deno), fewer dependencies and resulting in lower number of output npm modules.
Work in progress
Build
Build static examples and .wasm files
deno task buildDevelopment
To start example server:
deno task -f server-deno-hono startExamples
TODO
NPM packages are generated using DNT
- https://deno.com/blog/publish-esm-cjs-module-dnt - the easiest way to publish a hybrid npm module for ESM and CommonJS
- https://github.com/denoland/dnt
- https://gaubee.com/article/Publishing-Your-Deno-Project-as-a-Monorepo-using-dnt/
To generate npm packages
deno -A ./build/build_npm.tsRun through docker
docker build . -t editor-test
docker run -it -p 8000:8000 -v $PWD:/usr/src/app editor-testPrerequisites
Install deno
npm install -g denoInstall rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh