Skip to content

修复代码块与数学公式块底框(背景容器与圆角边框)丢失的问题,修复代码块代码预测/补全框透明和被遮挡的问题 - #3145

Open
Sammsai wants to merge 5 commits into
binaricat:mainfrom
Sammsai:main

Conversation

@Sammsai

@Sammsai Sammsai commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

修复代码块与数学公式块底框(背景容器与圆角边框)丢失的问题,修复代码块代码预测/补全框透明和被遮挡的问题

Type of Change

  • Bug fix
  • New feature
  • Refactor / code cleanup
  • Documentation update
  • Build / CI change
  • Other (please describe):

Related Issue (optional)

N/A

Changes Made

Screenshots / Demo

Testing

  • I have tested these changes locally (npm run dev)
  • Linting passes (npm run lint)
  • Tests pass (npm test)
  • Generated capability tool specs are updated when applicable (npm run generate:capability-tools)
  • No new console errors or warnings, if this affects app behavior

Checklist

  • My code follows the existing project style
  • I have added or updated relevant documentation
  • I have not introduced any breaking changes (or I have described them above)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines 297 to 298
sql: "SQL",
tex: "TeX",
toml: "TOML",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant