|
@@ -31,7 +31,6 @@ export default {
|
|
|
this.editor.config.onchange = (newHtml) => {
|
|
|
this.$emit("input", newHtml);
|
|
|
};
|
|
|
- this.editor.config.placeholder = "请输入回答";
|
|
|
// 编辑器不需要的菜单
|
|
|
this.editor.config.excludeMenus = ["emoticon", "video", "code"];
|
|
|
this.editor.config.showLinkImg = false; //关闭网络路径图片方式
|
|
@@ -52,6 +51,7 @@ export default {
|
|
|
this.editor.config.zIndex = 0;
|
|
|
// 创建编辑器
|
|
|
this.editor.create();
|
|
|
+ this.editor.$textContainerElem.css("height", "700px !important"); //设置高
|
|
|
},
|
|
|
|
|
|
setContent(val) {
|
|
@@ -72,5 +72,5 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style>
|
|
|
+<style scoped>
|
|
|
</style>
|