Parse Markdown pasted into the Content Editor
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Release notes
Problem to solve
Sometimes Markdown content destined for the Wiki is created outside of GitLab. In the "classic" Wiki editor, pasting valid Markdown was no problem because the raw source was preserved and only rendered when the content was submitted. In the Content Editor, the pasted content retains its Markdown formatting but ends up getting treated as plain text. This results in the need to manually reformat every line to remove Markdown syntax and re-format it using the WYSIWYG tools.
Proposal
When content is pasted into the Content Editor, parse the Markdown syntax as if it were typed directly into the editor.
For example, if my clipboard contains
# A heading
Some content followed by a
- list of
- some items
- and another item
The result of pasting it into the Content Editor should not be plain text with the same formatting, rather styled text in the editor.
Testing
Please run package-and-qa
in MR and notify the SET in case of any failures. No changes to E2Es required, provided a lower level (integration/system) test coverage is in place.