Skip to content

Improve paste markdown behavior in Content Editor

Enrique Alcántara requested to merge fix-paste-markdown-for-inline-text into master

What does this MR do and why?

It fixes the behavior of pasting inline Markdown in the Content Editor. Inline content is appended to the current block node rather than inserted in a new paragraph.

Screenshots or screen recordings

Before After
pasting_link_before pasting_link_after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Edit Markdown using the Content Editor.
  2. Paste inline content in the current paragraph (make sure the current paragraph has some content).

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 Enrique Alcántara

Merge request reports