Skip to content
프로젝트

소개

Lexical 기반 Svelte용 리치 텍스트 편집기

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Build E2E Tests npm version

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.

Screenshot-Svelte-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-lexical library
    • change directory: cd packages/svelte-lexical
    • install dependencies: pnpm i
    • build the lib: pnpm build
  • Run the demo project
    • change directory: cd ../../demos/playground
    • run dev: pnpm dev

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.

관련 프로젝트 살펴보기

불러오는 중…