king
2025-02-07 726ef579edf490469398a977fb621e70bd0c816d
src/tabviews/custom/components/editor/braft-editor/index.jsx
@@ -64,9 +64,9 @@
        _data = [_data]
      }
    } 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 (/\$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('')
          }
@@ -273,9 +273,9 @@
          })
        }
        if (/blank_space_\d+/ig.test(item.$html)) {
          item.$html = item.$html.replace(/blank_space_\d+/ig, (w) => {
            let n = +w.replace(/blank_space_/ig, '')
        if (/\$blank_space_\d+\$/ig.test(item.$html)) {
          item.$html = item.$html.replace(/\$blank_space_\d+\$/ig, (w) => {
            let n = +w.replace(/blank_space_|\$/ig, '')
            if (n) {
              return new Array(n).fill(' ').join('')
            }