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
设置maxLength后,添加完超链接后再输入的文字内容还算做超链接的一部分,且无法继续插入超链接 #4696
Comments
这不仅仅是 maxLength 情况下吧,你去掉 maxLength 就不会这样了吗? |
两种情况截图如下,没有maxLength为正常情况@wangfupeng1988 |
这个具体是什么操作的? |
@wangfupeng1988经过测试,1.设置maxLength后,直接插入超链接再输入的文字为超链接一部分(还在a标签内) |
这个是符合预期的。就像在加粗文字后面,继续输入文字,也会跟着加粗。 |
这个会继续优化 |
bug 描述
设置maxLength后,添加完超链接后再输入的文字内容还算做超链接的一部分(链接文本,文字为蓝色),且无法继续插入超链接,回车换行后才可以继续插入
你预期的样子是?
设置maxLength后,添加完超链接后再输入的文字内容不算做超链接的一部分,可以继续插入超链接,与不设置maxLength效果相同
系统和浏览器及版本号
wangEditor 版本
"@wangeditor/editor": "^5.1.14",
"@wangeditor/editor-for-vue": "^1.0.2",
demo 能否复现该 bug ?
能
在线 demo
https://codesandbox.io/live/2f3965d46d8?file=/src/components/MyEditor.vue
最小成本的复现步骤
(请告诉我们,如何最快的复现该 bug)
The text was updated successfully, but these errors were encountered: