Optimized markdown preview performance

This commit is contained in:
2025-12-07 00:09:52 +08:00
parent 71ca541f78
commit 281f53c049
25 changed files with 1370 additions and 4075 deletions

View File

@@ -340,7 +340,7 @@ const theme = EditorView.baseTheme({
* - Shows indicator icon at the end
* - Click to preview rendered HTML
*/
export const htmlBlockExtension: Extension = [
export const html = (): Extension => [
htmlBlockPlugin,
htmlTooltipState,
clickOutsideHandler,