Something went wrong. Try again.
the cms for static site generators on atproto
Something went wrong. Try again.
lichen.page yjs
2 folders · 5 files
README.md
yjs README #
this folder is for building a javascript bundle that contains three packages together in IIFE format so that they can be included into the lichen-markdown frontend as a script tag, which is then used for real-time updating of the textarea when multiple users are editing the same page at once.
The three packages are:
- y-textarea
- y-websocket
- yjs
This folder itself does not need to be included in a lichen-markdown deployment, just the output bundle that it creates, which is created in yjs/dist/yjs-bundle.iife.js
index.html within this folder, is a minimal example showing how yjs-bundle.iife.js can be used on its own.