feat: Add code highlighting feature to the rich text editor
All checks were successful
CI - Build and Push / Build and Push Docker Image (push) Successful in 26s

This commit is contained in:
2025-10-22 10:49:39 +08:00
parent f29f53dec6
commit 654f313ae9
8 changed files with 157 additions and 3 deletions

8
package-lock.json generated
View File

@@ -14,9 +14,11 @@
"@lexical/rich-text": "^0.37.0",
"@lexical/selection": "^0.37.0",
"@lexical/utils": "^0.37.0",
"@types/prismjs": "^1.26.5",
"i18next": "^25.5.3",
"i18next-browser-languagedetector": "^8.2.0",
"lexical": "^0.37.0",
"prismjs": "^1.30.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-i18next": "^16.0.0",
@@ -1342,6 +1344,12 @@
"dev": true,
"license": "MIT"
},
"node_modules/@types/prismjs": {
"version": "1.26.5",
"resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.5.tgz",
"integrity": "sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==",
"license": "MIT"
},
"node_modules/@types/react": {
"version": "19.1.16",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.16.tgz",