Allow pasting raw content in content editor
What does this MR do and why?
Allow using Ctrl/Cmd + Shift + V to paste raw content in the content editor
Fixes issues:
- Copy/Pasting comments only works with plain tex... (#406733 - closed)
- Can't paste raw GitLab links in content editor (#406725 - closed)
Screenshots or screen recordings
Pasting rich text (Ctrl/Cmd + V) | Pasting raw text (Ctrl/Cmd + Shift + V) |
---|---|
Screen_Recording_2023-04-06_at_15.36.45 | Screen_Recording_2023-04-06_at_15.36.59 |
How to set up and validate locally
- Access content editor in wikis or in issues behind a feature flag
:content_editor_on_issues
. - Copy some text from Google docs or any rich text document
- Press Cmd/Ctrl + Shift + V to paste raw text.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Himanshu Kapoor