Reimplement Copy-as-GFM using the prosemirror document model
What does this MR do?
This MR reimplements Copy-as-GFM (which lets you copy any rendered Markdown HTML content, and paste it into Markdown fields as GitLab Flavored Markdown) using the prosemirror document model.
This document model will also power the Tiptap WYSIWYG editor and HTML-to-Markdown conversion in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22177.
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug -
Conforms to the code review guidelines
Edited by Douwe Maan