feat(编辑能力): 统一文字编辑,完善排版保存
build.yaml / build (push) Successful in 43s

This commit is contained in:
xiaoqidun committed 2026-10-28 12:44:31 +08:00
1 parent e35533859c
commit 89a7ef04c7
23 files changed
+410 -114

No files matched your search

+4 -1
View File
@@ -93,7 +93,10 @@ func decodeOFDChildren(d *xml.Decoder, start xml.StartElement, decode func(*xml.
}
continue
}
if err := decode(d, ofdXMLStart(node)); err != nil {
if node.Name.Local != "TextObject" && node.Name.Local != "Text" {
node = ofdXMLStart(node)
}
if err := decode(d, node); err != nil {
return err
}
case xml.EndElement: