Skip to content

Conversation

@smsochneg
Copy link
Contributor

There is a problem when users paste content that was copied from browser and which contains markup.
Added a function that checks if pasted html has only divs and spans on higher level that don't have classname and contain only text content. Than it extracts text from it and processes as regular markup

@smsochneg smsochneg requested a review from d3m1d0v February 15, 2023 13:15
@smsochneg smsochneg force-pushed the parse-markup-from-html branch from e36d626 to 665eef9 Compare February 15, 2023 13:18
@yc-ui-bot
Copy link
Contributor

Preview is ready.

@d3m1d0v d3m1d0v merged commit 6a4628f into master Feb 15, 2023
@d3m1d0v d3m1d0v deleted the parse-markup-from-html branch February 15, 2023 14:52
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

Successfully merging this pull request may close these issues.

4 participants