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

fix(refs dplan-12602): Allow DpEditor to dismiss HTML from Word #1043

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

salisdemos
Copy link
Contributor

@salisdemos salisdemos commented Oct 9, 2024

Ticket DPLAN-12602

Since its really complicated to fetch all edgecases from msOffice Word "html", there now is an option to "protect" the editor by denying the html-input from word.

Additionally I optimized the regex a bit to be not so greedy and to better find breaks like \n or \r

@salisdemos salisdemos self-assigned this Oct 9, 2024
@salisdemos salisdemos added bug Something isn't working enhancement New feature or request labels Oct 9, 2024
Copy link
Contributor

@hwiem hwiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, code review only

@salisdemos salisdemos merged commit 19b9675 into 0.3.x Oct 10, 2024
1 check passed
@salisdemos salisdemos deleted the f_DPLAN-12602-greedy_mso_if branch October 10, 2024 10:06
salisdemos added a commit that referenced this pull request Oct 10, 2024
- domesticate greedy regex in ms-office parser
- Add alert to dismiss pasted html from Word (as editor flag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants