提交
This commit is contained in:
@@ -496,7 +496,7 @@ export default {
|
||||
},
|
||||
|
||||
async getContent(type, content) {
|
||||
console.log('content at line 498:', content)
|
||||
|
||||
if (type == 'content') {
|
||||
|
||||
content = content.replace(/<(?!\/?(img|b|i|sub|sup|span|strong|em |blue)\b)[^>]+>/g, '');
|
||||
@@ -522,7 +522,7 @@ export default {
|
||||
|
||||
// 获取最终修改后的 HTML
|
||||
content = div.innerHTML;
|
||||
console.log('content at line 486:', content);
|
||||
|
||||
|
||||
|
||||
this.saveContent(content, this.currentContent.am_id);
|
||||
|
||||
Reference in New Issue
Block a user