v1.7.4 编辑框换行符统一为\n
This commit is contained in:
@@ -105,7 +105,11 @@ export default {
|
||||
activeSidebar: DEFAULT_MENU_LASTMESSAGES,
|
||||
contacts: [],
|
||||
menus: [],
|
||||
editorTools: [],
|
||||
editorTools: [
|
||||
{ name: "emoji" },
|
||||
{ name: "uploadFile" },
|
||||
{ name: "uploadImage" },
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -793,8 +797,9 @@ export default {
|
||||
flatData.forEach(({ name, src }) => (emojiMap[name] = src));
|
||||
},
|
||||
initEditorTools(data) {
|
||||
//this.editorTools = data;
|
||||
this.editorTools = data;
|
||||
this.$refs.editor.initTools(data);
|
||||
//this.$refs.editor.initTools(data);
|
||||
},
|
||||
/**
|
||||
* 初始化左侧按钮
|
||||
|
||||
Reference in New Issue
Block a user