feat(编辑版本): 完善版本与字体操作取消
build.yaml / build (push) Successful in 48s

This commit is contained in:
xiaoqidun committed 2026-10-11 20:17:36 +08:00
1 parent 52d7b6aa64
commit 10e724d57f
13 files changed
+127 -46

No files matched your search

+1 -1
View File
@@ -333,7 +333,7 @@ func (e *Editor) editDocumentsContext(ctx context.Context, edit func(*Reader, []
}
before := e.transactionSnapshot()
reader.documentIndex, reader.doc = index, nil
if err := reader.initRoot(); err != nil {
if err := reader.initRootContext(ctx); err != nil {
return err
}
current := reader.OFD.DocBody[index]