From cf2391a86bdea88196d49cd33949570f74c0985d Mon Sep 17 00:00:00 2001 From: rk <94314517@qq.com> Date: 星期一, 22 九月 2025 18:03:46 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- frontWuhu/src/components/common/RichEditor.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontWuhu/src/components/common/RichEditor.vue b/frontWuhu/src/components/common/RichEditor.vue index 1acf8cc..fee81d5 100644 --- a/frontWuhu/src/components/common/RichEditor.vue +++ b/frontWuhu/src/components/common/RichEditor.vue @@ -16,7 +16,7 @@ /> </div> </template> - + <script> import { Editor, Toolbar } from '@wangeditor/editor-for-vue' export default { @@ -129,7 +129,7 @@ console.log(`${file.name} 涓婁紶鍑洪敊`, err, res) }, }, - + } }, mode: 'default', // or 'simple' @@ -145,19 +145,20 @@ this.editor = Object.seal(editor) }, onChange (editor) { + console.log('editor', editor) // debugger this.$emit('edit', this.content.content) // this.value = this.html // console.log(this.content); }, - + // onBlur (editor) { // console.log('onBlur', editor) // this.$emit('edit', this.html) // }, }, - + } </script> -<style src="@wangeditor/editor/dist/css/style.css"></style> \ No newline at end of file +<style src="@wangeditor/editor/dist/css/style.css"></style> -- Gitblit v1.9.3