修复代码块与数学公式块底框(背景容器与圆角边框)丢失的问题,修复代码块代码预测/补全框透明和被遮挡的问题 - #3145
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 18d1bd38d7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| sql: "SQL", | ||
| tex: "TeX", | ||
| toml: "TOML", |
There was a problem hiding this comment.
Keep the existing TeX language alias registered
Removing tex from NOTE_CODE_BLOCK_LANGUAGES means existing notes containing fenced ```tex blocks no longer match the language map passed to codeMirrorPlugin, so they lose the CodeMirror editor/language controls even though isNoteMathLanguageLabel still explicitly recognizes tex as a supported formula format. Preserve the alias for backward compatibility with already-saved notes.
Useful? React with 👍 / 👎.
Summary
修复代码块与数学公式块底框(背景容器与圆角边框)丢失的问题,修复代码块代码预测/补全框透明和被遮挡的问题
Type of Change
Related Issue (optional)
N/A
Changes Made
Screenshots / Demo
Testing
npm run dev)npm run lint)npm test)npm run generate:capability-tools)Checklist