feat(editor): save leptos island and page aggregate alignment progress

- switch main document flow toward leptos tiptap island host and generated runtime assets

- align page aggregate loading, page head single-source updates, and AI tool result recovery

- add tests and smoke scripts for title sync, AI route recovery, and editor host cutover
This commit is contained in:
lix-2026
2026-04-22 05:57:06 +08:00
parent 5d1c94eb9e
commit 8353aea2f9
105 changed files with 14768 additions and 4186 deletions
+18 -6
View File
@@ -130,12 +130,24 @@ body {
}
/* 调整编辑器内容宽度 */
.bn-editor {
padding-left: 5rem;
padding-right: 5rem;
max-width: 900px;
margin: 0 auto;
}
.bn-editor {
padding-left: 5rem;
padding-right: 5rem;
max-width: 900px;
margin: 0 auto;
}
/* 说明:leptos-tiptap / ProseMirror 需要最基础的 white-space 与换行样式,
否则浏览器输入与光标行为会不稳定,并触发 ProseMirror 警告。 */
.ProseMirror {
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
}
.ProseMirror pre {
white-space: pre-wrap;
}
.dark {
--background: oklch(0.145 0 0);