fix(rich-text-editor, editor): DLT-2175 editor loses text formatting while pasting #543
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(rich-text-editor, editor): DLT-2175 editor loses text formatting while pasting
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DLT-2175
https://dialpad.atlassian.net/browse/DP-115096
📖 Description
The email composer does not retain formatting while pasting a text.
💡 Context
Urgent fix required: the email composer does not retain formatting while pasting a text.
For now we're just passing a prop to override custom handler to fix this urgently and allow formatting to be preserved.
Property is set to default false to avoid breaking backwards compatibility.
We need to come up with a fix that tackles the break issue but also preserves formatting on paste for future release.
📝 Checklist
For all PRs:
For all Vue changes:
./scripts/dialtone-vue-sync.sh
script. Read docs here: Dialtone Vue Sync Script🔮 Next Steps
We need to remove this parameter in the future and analyze how to both:
📷 Screenshots / GIFs
Video evidence of fix here