feat(编辑能力): 新增画笔和注解创建,完善水印、印章与链接编辑,优化选取和保存体验
build.yaml / build (push) Successful in 39s

This commit is contained in:
xiaoqidun committed 2026-09-18 08:34:35 +08:00
1 parent ed11ade4e8
commit a8346a6006
23 files changed
+2297 -104

No files matched your search

+6
View File
@@ -138,6 +138,12 @@ func (e *Editor) CopyObjectsToComposite(page int, path ObjectPath, objects []Gra
} else {
owner.patches = append(owner.patches, editorXMLPatch{container.close, container.close, content})
}
} else if owner.node.name.Local == "Appearance" {
if owner.node.open == owner.node.end {
owner.patches = append(owner.patches, editorXMLContent(owner.data, owner.node, content))
} else {
owner.patches = append(owner.patches, editorXMLPatch{owner.node.close, owner.node.close, content})
}
} else {
content, err := editorXMLContainer("Content", nil, content)
if err != nil {