verbb / vizy

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

Embed media doesn't show after switching to HTML and back #240

Closed davorpeic closed 11 months ago

davorpeic commented 11 months ago

Describe the bug

Hi,

it looks like some issue with encoding/re-encoding iframe url, Once embed VT video is added, it shows up ok, swtich to HTML view and back to normal view, video is not loaded anymore, every new switch to HTML I see tags are encoded again, so I will assume they are not returned to original state when switched from HTML->normal

image

Steps to reproduce

  1. Add simple youtube video
  2. switch to HTML view
  3. switch back to normal view

Craft CMS version

4.4.15

Plugin version

2.1.7

Multi-site?

No

Additional context

No response

engram-design commented 11 months ago

Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.7"

engram-design commented 11 months ago

Fixed in 2.1.8