feat: enhance rich text editor with new features and plugins
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 23s

- Added support for additional Lexical plugins: link, markdown, table, and checklist.
- Implemented Markdown shortcuts and transformers for horizontal rules and tables.
- Updated editor theme and styles to accommodate new elements like tables and links.
- Improved the overall functionality of the rich text editor with new matchers for URLs and emails.
This commit is contained in:
2025-10-22 17:22:45 +08:00
parent f29f53dec6
commit 3491ae339d
7 changed files with 1257 additions and 668 deletions

View File

@@ -11,10 +11,13 @@
},
"dependencies": {
"@lexical/code": "^0.37.0",
"@lexical/link": "^0.37.0",
"@lexical/list": "^0.37.0",
"@lexical/markdown": "^0.37.0",
"@lexical/react": "^0.37.0",
"@lexical/rich-text": "^0.37.0",
"@lexical/selection": "^0.37.0",
"@lexical/table": "^0.37.0",
"@lexical/utils": "^0.37.0",
"i18next": "^25.5.3",
"i18next-browser-languagedetector": "^8.2.0",
@@ -35,9 +38,6 @@
"globals": "^16.4.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.44.0",
"vite": "npm:rolldown-vite@7.1.12"
},
"overrides": {
"vite": "npm:rolldown-vite@7.1.12"
"vite": "^7.0.0"
}
}