fix(core): some editor issues (#13096)

fix AI-313, BS-3611

#### PR Dependency Tree


* **PR #13096** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Improved performance and resource management in code block
highlighting by using a shared highlighter instance across all code
blocks.
* Enhanced the text rendering component with additional reactive
capabilities.

* **Style**
* Updated the comment sidebar header with a new background color for
improved visual consistency.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Peng Xiao
2025-07-08 18:38:07 +08:00
committed by GitHub
parent 81a76634f2
commit 072fff1460
3 changed files with 41 additions and 8 deletions
@@ -20,7 +20,7 @@ export const header = style({
height: '40px',
position: 'sticky',
top: 0,
backgroundColor: cssVarV2('layer/background/overlayPanel'),
backgroundColor: cssVarV2('layer/background/primary'),
zIndex: 2,
});