dokuwiki-plugin-prosemirror icon indicating copy to clipboard operation
dokuwiki-plugin-prosemirror copied to clipboard

Copy and Paste Removes Links

Open racquetmaster opened this issue 10 months ago • 2 comments

Issue Description

I'm trying to copy and paste content that includes a link from one section of the document to another. I'm expecting the content to copy as it existed before. What actually happened is any links were removed.

racquetmaster avatar Jan 04 '25 15:01 racquetmaster

Please consider fixing this bug. It is seriously limiting the usability of the editor.

ReactiveMatter avatar May 12 '25 16:05 ReactiveMatter

Related issue: it is not possible to copy just a link in Prosemirror editor window. The HTML in clipboard does not contain any directly pasteable text and looks something like this:

<p data-pm-slice="1 1 [&quot;bullet_list&quot;,null,&quot;list_item&quot;,null]"><a data-type="interwikilink" data-inner="lorem ipsum" data-resolvedurl="https://example.com" data-resolvedclass="interwikilink interwiki" data-resolvedimage=""></a></p>

annda avatar Nov 13 '25 12:11 annda