pl.victoria v0.0.7
Victoria Rich Text Editor
A highly customizable and performance-optimized rich text editor built with Lexical, designed for seamless integration into React applications. Easily import and extend functionality with built-in plugins and flexible API, making it ideal for modern web applications requiring rich text editing capabilities.
This project is built on top of Meta's Lexical, an open-source framework for
Installation
Before Deploy
Before deploying the main project, you should uninstall the Lexical and React packages that were installed during testing. This ensures that your production build does not include unnecessary or development-specific dependencies.
Run the following command to uninstall the testing dependencies:
npm uninstall @lexical/clipboard@^0.20.0 @lexical/code@^0.20.0 @lexical/file@^0.20.0 @lexical/hashtag@^0.20.0 @lexical/link@^0.20.0 @lexical/list@^0.20.0 @lexical/mark@^0.20.0 @lexical/overflow@^0.20.0 @lexical/plain-text@^0.20.0 @lexical/react@^0.20.0 @lexical/rich-text@^0.20.0 @lexical/selection@^0.20.0 @lexical/table@^0.20.0 @lexical/utils@^0.20.0 katex@^0.16.11 lodash.debounce@^4.0.8 react@^18.0.0 react-dom@^18.0.0
This ensures that your production build doesn't include any unnecessary dependencies.
Main Project In your main project (after deployment), you need to install the necessary dependencies for the Victoria editor. This can be done by running:
npm install @lexical/clipboard@^0.20.0 @lexical/code@^0.20.0 @lexical/file@^0.20.0 @lexical/hashtag@^0.20.0 @lexical/link@^0.20.0 @lexical/list@^0.20.0 @lexical/mark@^0.20.0 @lexical/overflow@^0.20.0 @lexical/plain-text@^0.20.0 @lexical/react@^0.20.0 @lexical/rich-text@^0.20.0 @lexical/selection@^0.20.0 @lexical/table@^0.20.0 @lexical/utils@^0.20.0 katex@^0.16.11 lodash.debounce@^4.0.8 react@^18.0.0 react-dom@^18.0.0
This ensures that the Victoria editor and its required Lexical packages are correctly installed.
Development To develop and build the package locally, follow the instructions in the package's scripts section.
Scripts
dev: Run the editor locally for development.
build: Build the package with Rollup and prepare for publishing.
watch: Watch for file changes and re-build the package.
clean: Clean the dist folder.
test: Run tests (currently no tests specified).