king
2025-02-07 ce27de392196b6d67fafa672cb96e791e10467e6
2025-02-07
1个文件已修改
6 ■■■■ 已修改文件
src/tabviews/custom/components/editor/braft-editor/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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(' ').join('')