Skip to content
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

a标签内有换行,Editor.createEditorState(内容).toHtml()后会生成多个<a>内容</a> #942

Open
JiaweiUTSCHINA opened this issue Oct 29, 2021 · 1 comment

Comments

@JiaweiUTSCHINA
Copy link

{213234
123}

转了一次之后会变成
{213234
123}

这个在href特别长的时候会特别大,这个要怎么处理

@JiaweiUTSCHINA
Copy link
Author

<a href="https://www.baidu.com" target="_blank">{213234<br>123}</a>

转了一次之后会变成

<a href="https://www.baidu.com" target="_blank"><a href="https://www.baidu.com" target="_blank">{213234</a><br/><a href="https://www.baidu.com" target="_blank">123}</a>

这个在href特别长的时候会特别大,这个要怎么处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant