Skip to content

Allow pasting raw content in content editor

Himanshu Kapoor requested to merge himkp-ce-paste into master

What does this MR do and why?

Allow using Ctrl/Cmd + Shift + V to paste raw content in the content editor

Fixes issues:

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

  1. Access content editor in wikis or in issues behind a feature flag :content_editor_on_issues.
  2. Copy some text from Google docs or any rich text document
  3. 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.

Edited by Himanshu Kapoor

Merge request reports