-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: value空值判断问题 #12
fix: value空值判断问题 #12
Conversation
This reverts commit eccd50f.
87d1f54
to
0282413
Compare
src/v-editor.vue
Outdated
this.$emit('input', value) | ||
// NOTE: 输入内容为空时,返回空字符串。空的quote和table都算内容为空 | ||
// WARNING: editor.txt.text()返回的是去掉标签的html内容 | ||
// 这意味着空table的时候返回一堆' ...' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
table 是 tab的意思?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
table是通过menu插入的表格。wangEditor源码里默认生成的table每一个格子里都有一个空格 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已完善注释
745bfa8
to
9b56c9d
Compare
9b56c9d
to
bc19ff4
Compare
bc19ff4
to
1a4422c
Compare
Why
How
见xmind
Xmind