From 875de1cea8906c8807d6e2b95eb92b7bd0830b98 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Tue, 15 Sep 2026 21:13:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=88=9B=E5=BB=BA=E7=BC=96=E8=BE=91):=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=94=BB=E5=B8=83=E6=96=87=E5=AD=97=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E3=80=81=E6=AE=B5=E8=90=BD=E6=8E=92=E7=89=88=E4=B8=8E?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/index.html | 41 ++--- assets/webui/ofdgo.css | 37 ++++- assets/webui/ofdgo.js | 306 +++++++++++++++++++++++++------------ assets/webui/ofdgo_edit.js | 184 ++++++++++++++++++---- go.mod | 2 +- internal/webui/wasm.go | 116 +++++++++++++- ofdgo_editor.go | 148 ++++++++---------- ofdgo_editor_batch.go | 226 +++++++++++++++++++++++++++ ofdgo_editor_text.go | 138 +++++++++++++++++ ofdgo_page.go | 1 + ofdgo_text.go | 20 ++- 11 files changed, 962 insertions(+), 257 deletions(-) create mode 100644 ofdgo_editor_batch.go create mode 100644 ofdgo_editor_text.go diff --git a/assets/webui/index.html b/assets/webui/index.html index b4b5508..c40cd20 100644 --- a/assets/webui/index.html +++ b/assets/webui/index.html @@ -61,8 +61,9 @@ 文件 -
+
+ @@ -73,25 +74,36 @@ - - + - + 对象
- +
pt
文字
+
+ + + + 段落 +
- + @@ -163,22 +175,11 @@
- +
-
- - -
-
- -
- - -
-
-