verbb / vizy

A flexible visual editor for Craft CMS
Other
44 stars 8 forks source link

Links get mangled when pasting from a CKEditor field to a Vizy field #297

Closed bleepsandblops closed 5 months ago

bleepsandblops commented 5 months ago

Describe the bug

When copy pasting from a CKEditor field to a Vizy field with Blocks & Rich text, the position of the links in the text change, cf below:

The CKEditor field:

Screenshot 2024-04-25 at 14 35 28

Pasting into Vizy field that has blocks & rich text enabled:

Screenshot 2024-04-25 at 14 35 39

Aware we can plain text paste but the client would like to retain the links here.

Thank you!

Steps to reproduce

  1. Copy from a CKeditor field
  2. Paste into a Vizy field with Rich blocks & Text

Craft CMS version

4.8.9

Plugin version

2.1.18

Multi-site?

No

Additional context

No response

engram-design commented 5 months ago

I've just been testing this, and I can't seem to replicate it! Could you paste here the raw (in a code block) HTML from CKEditor?

engram-design commented 5 months ago

Ah, actually just got this to replicate. Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.18".

engram-design commented 5 months ago

Fixed in 2.1.19