Developed a rich-text editor for svelte called svelte-lexical. It is based on Lexical, an open source framework for creating rich-text editors developed by Facebook.
Here is the GitHub repo: https://github.com/umaranis/svelte-lexical
![](https://i0.wp.com/umaranis.com/wp-content/uploads/2023/04/image.png?resize=744%2C653&ssl=1)
Technical details
- The project is set up as a monorepo using pnpm workspaces.
- ESLint is set up for VS Code.
- 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.
- Build and E2E Tests automatically run in CI on every commit using GitHub Actions.
- NPM package is automatically published on creation of a GitHub release using GitHub Actions.
That’s useful! Will give it a go.