feat(编辑能力): 支持富文本选区与六种格式
build.yaml / build (push) Successful in 54s

This commit is contained in:
xiaoqidun committed 2026-10-14 14:27:17 +08:00
1 parent 71a3a4ee79
commit 61cfb79f25
15 files changed
+2694 -55

No files matched your search

+2
View File
@@ -74,6 +74,7 @@ type Editor struct {
encryption *encryptionState
output *outputOptimization
validatedPaths *renderCache[string, bool]
richIndex *richTextIndex
}
// editorResource 文档内嵌资源
@@ -588,6 +589,7 @@ func (e *Editor) Object(page int, id string) (GraphicObject, error) {
}
object, err := cloneEditorObject(layer.Objects[index])
object.origin = e.objectOrigin(id)
e.attachRichTextSnapshot(page, &object)
return object, err
}