refactor: split document pane runtime

This commit is contained in:
lix-2026
2026-05-26 00:47:51 +08:00
parent b4d7360cd7
commit 6197ca5d3a
5 changed files with 199 additions and 146 deletions
+5
View File
@@ -142,6 +142,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/mnote-browser-runtime/document-conflict-panel-runtime.js",
get(web_shell::document_conflict_panel_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/document-pane-runtime.js",
get(web_shell::document_pane_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/document-tiptap-conversion-runtime.js",
get(web_shell::document_tiptap_conversion_runtime_asset),
@@ -563,6 +567,7 @@ mod tests {
"/api/mnote-browser-runtime/tree-live-controller.js",
"/api/mnote-browser-runtime/tree-shell-runtime.js",
"/api/mnote-browser-runtime/document-conflict-panel-runtime.js",
"/api/mnote-browser-runtime/document-pane-runtime.js",
"/api/mnote-browser-runtime/document-tiptap-conversion-runtime.js",
"/api/mnote-browser-runtime/document-editor-adapter-runtime.js",
] {