monsieurbiz / SyliusRichEditorPlugin

This plugin add a rich editor on fields to be able to drag and drop elements and edit it.
MIT License
65 stars 35 forks source link

Media manager compatibility #221

Closed maximehuran closed 1 month ago

maximehuran commented 2 months ago

Depending on #224

Demo

The first part of the demo shows the rich editor image management without Media Manager. Then I required the plugin and reload the page. Everything is compatible, and automatically switch to the media manager. The second part of the video shows an image setup and a video element setup.

https://github.com/monsieurbiz/SyliusRichEditorPlugin/assets/11380627/ff33cc31-9e2d-4f8c-9345-5ee1ce0c1757

Case when the Media manager installed but content was saved before the use of it

You don't need to do something, everything is compatible as shown in the video.

If you want the form compatible, you need to copy the overriden form theme https://github.com/monsieurbiz/SyliusRichEditorPlugin/pull/221/commits/f036d6ae2f8150bc354f68ba241fae8dc4b03406

Else the preview image will not be shown.