From e22513e69859e0562d216622985b063c09aa5826 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 01 七月 2024 16:08:29 +0800
Subject: [PATCH] chore:更换ueditor

---
 public/static/UEditorPlus/dialogs/table/edittd.html |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/public/static/UEditorPlus/dialogs/table/edittd.html b/public/static/UEditorPlus/dialogs/table/edittd.html
index 49a52f7..6c3abe9 100644
--- a/public/static/UEditorPlus/dialogs/table/edittd.html
+++ b/public/static/UEditorPlus/dialogs/table/edittd.html
@@ -2,12 +2,13 @@
 <html>
 <head>
     <title></title>
-    <script type="text/javascript" src="../internal.js"></script>
+    <script type="text/javascript" src="../internal.js?04dbe7f0"></script>
     <style type="text/css">
         .section {
             text-align: center;
             margin-top: 10px;
         }
+
         .section input {
             margin-left: 5px;
             width: 70px;
@@ -21,13 +22,13 @@
 </div>
 <script type="text/javascript">
     var tone = $G("J_tone"),
-            colorPiker = new UE.ui.ColorPicker({
-                editor:editor
-            }),
-            colorPop = new UE.ui.Popup({
-                editor:editor,
-                content:colorPiker
-            });
+        colorPiker = new UE.ui.ColorPicker({
+            editor: editor
+        }),
+        colorPop = new UE.ui.Popup({
+            editor: editor,
+            content: colorPiker
+        });
     domUtils.on(tone, "click", function () {
         colorPop.showAnchor(tone);
     });
@@ -39,18 +40,18 @@
         colorPop.hide();
     });
     colorPiker.addListener("picknocolor", function () {
-        tone.value="";
+        tone.value = "";
         colorPop.hide();
     });
-    dialog.onok=function(){
-        editor.execCommand("edittd",tone.value);
+    dialog.onok = function () {
+        editor.execCommand("edittd", tone.value);
     };
 
     var start = editor.selection.getStart(),
         cell = start && domUtils.findParentByTagName(start, ["td", "th"], true);
-    if(cell){
-        var color = domUtils.getComputedStyle(cell,'background-color');
-        if(/^#/.test(color)){
+    if (cell) {
+        var color = domUtils.getComputedStyle(cell, 'background-color');
+        if (/^#/.test(color)) {
             tone.value = color
         }
 
@@ -58,4 +59,4 @@
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>

--
Gitblit v1.8.0