From ce27de392196b6d67fafa672cb96e791e10467e6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 07 二月 2025 18:05:12 +0800
Subject: [PATCH] 2025-02-07

---
 src/tabviews/custom/components/editor/braft-editor/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/custom/components/editor/braft-editor/index.jsx b/src/tabviews/custom/components/editor/braft-editor/index.jsx
index 5729372..4f70285 100644
--- a/src/tabviews/custom/components/editor/braft-editor/index.jsx
+++ b/src/tabviews/custom/components/editor/braft-editor/index.jsx
@@ -63,9 +63,9 @@
       } else {
         _data = [_data]
       }
-    } else if (config.html) {
-      if (/blank_space_\d+/ig.test(config.html)) {
-        config.html = config.html.replace(/blank_space_\d+/ig, (w) => {
+    } else if (_config.html) {
+      if (/blank_space_\d+/ig.test(_config.html)) {
+        _config.html = _config.html.replace(/blank_space_\d+/ig, (w) => {
           let n = +w.replace(/blank_space_/ig, '')
           if (n) {
             return new Array(n).fill('&nbsp;').join('')

--
Gitblit v1.8.0