项目
在 GitHub 查看
umaranis/svelte-lexical
关于
基于 Lexical 的 Svelte 富文本编辑器
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文svelte-lexical
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.

Getting Started
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:
- First build
svelte-lexicallibrary- change directory:
cd packages/svelte-lexical - install dependencies:
pnpm i - build the lib:
pnpm build
- change directory:
- Run the demo project
- change directory:
cd ../../demos/playground - run dev:
pnpm dev
- change directory:
Development Notes
- This project is set up as a monorepo using pnpm workspaces.
- To run a demo in development, execute
pnpm -C demos/playground dev. - ESLint is set up for VS Code.
- The npm package is automatically published on creation of a GitHub release using GitHub Actions.
- Unit testing is set up for the svelte-lexical package using Jest and Testing Library.
- E2E testing is set up for the playground package using Playwright.
- Size Limit controls the library size.
Plugins
Most of the svelte-lexical functionality is implemented through plugins. See the list of plugins here.
探索相关项目
加载中…