A rich-text editor for Svelte based on Lexical
Lexical is an extensible text editor framework developed by awesome developers at Facebook. The purpose of this project is to provide Svelte bindings for Lexical and also develop high-level components using Lexical.
Pick one of the demo projects to understand how svelte-lexical
can be incorporated into your project. For instance, use demos/sveltekit
for a SvelteKit and demos/playground
for Svelte.
To run the demo project:
svelte-lexical
librarycd packages/svelte-lexical
pnpm i
pnpm build
cd ../../demos/playground
pnpm dev
pnpm -C demos/playground dev
.Most of the svelte-lexical
functionality is implemented through plugins. See the list of plugins here.