Skip to content

Commit

Permalink
improve paragraphs and add reference back to known issue in 7.0 relea…
Browse files Browse the repository at this point in the history
…se notes
  • Loading branch information
FarzadHayat committed Apr 8, 2024
1 parent 99f4d1c commit 77f2ed0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/ROOT/pages/7.0.1-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,13 @@ The {productname} {release-version} release includes an accompanying release of
This **Markdown** release includes the following fixes and improvements.

==== Pasting markdown into some situations would cause the pasted data to be placed in unexpected places.
// #TINY-10766
// #TINY-10766 / TINY-10788 / #TINY-10749

Previously in the **Markdown** plugin, the "markdown-on-paste" feature used the `editor.selection.setContent` function to insert content into the {productname} editor. However, this approach resulted in unexpected cursor behavior, undo levels, and formatting issues.
Previously in the **Markdown** plugin, the "markdown-on-paste" feature used the `editor.selection.setContent` function to insert content into the {productname} editor. This approach resulted in some unnecessary `+ +` characters being appended before and after the pasted text. As a result, the editor experienced some unexpected content placement behavior.

{productname} {release-version} addresses this issue by changing the "markdown-on-paste" feature to use the `editor.insertContent` function instead. As a result, pasted markdown content is now properly formatted as intended and placed in the correct location.
{productname} {release-version} addresses this issue by changing the paste feature to use the `editor.insertContent` function instead. As a result, pasting markdown no longer adds unnecessary `+ +` and the pasted content is placed in the correct location.

NOTE: This fix addresses xref:7.0-release-notes.adoc#known-issues[a known issue] in the xref:markdown.adoc[Markdown premium plugin].

For information on the **Markdown** plugin, see: xref:markdown.adoc[Markdown].

Expand Down

0 comments on commit 77f2ed0

Please sign in to comment.