We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
设置了 maxLength 后,复制多行文字,粘贴后会导致莫名其妙的换行。
复制多行文字,粘贴时不需要在开头插入换行
操作系统 Win 10 浏览器和版本 Chrome 100
v5.1.23
能
官网demo就行: https://www.wangeditor.com/demo/max-length.html
The text was updated successfully, but these errors were encountered:
#4917 这个 pr 确实解决过这个问题,但是下面这一块代码的用意有点迷,只解决了一个node 的情况,而像你触发的两个node就不管了?,我再看看
Sorry, something went wrong.
#5831 对这个 issue 相应的 bug 做了补充,主要的刚刚说的,解决只处理了一个 node 的情况以及外部 text 粘贴 splitNode 产生不必要字符的问题
个 pr 确实解决过这个问题,但是下面这一块代码的用意有点迷,只解决了一个node 的情况,而像你触发的两个node就不管了?,我再看看
好的,需要在编辑器的底层实现进行优化修复这个问题是吗?那么我关注一下,啥时候修复好了,通知我更新版本就可以吗
是的,如果解决并更新了会通知相关issue的。
No branches or pull requests
bug 描述
设置了 maxLength 后,复制多行文字,粘贴后会导致莫名其妙的换行。
你预期的样子是?
复制多行文字,粘贴时不需要在开头插入换行
系统和浏览器及版本号
操作系统 Win 10
浏览器和版本 Chrome 100
wangEditor 版本
v5.1.23
demo 能否复现该 bug ?
能
在线 demo
官网demo就行: https://www.wangeditor.com/demo/max-length.html
最小成本的复现步骤
The text was updated successfully, but these errors were encountered: