张延森 5 years ago
parent
commit
9c25d42c2f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/components/Wangedit/Wangedit.jsx

+ 1
- 0
src/components/Wangedit/Wangedit.jsx View File

@@ -70,6 +70,7 @@ class Wangedit extends React.Component {
70 70
         /<[a-zA-Z0-9]+\:[^>]+>[^>]*<\/[a-zA-Z0-9]+\:[^>]+>/ig,
71 71
         /<[a-zA-Z0-9]+\:[^>]+\/>/ig,
72 72
         /<style>[\s\S]*?<\/style>/ig,
73
+        new RegExp('\u2029', 'ig'),     // 替换word分隔符 序号 8233
73 74
       ]
74 75
 
75 76
       return regs.reduce((acc, reg) => {