- Issue created by @mouse70
- 🇨🇦Canada alberto56
Interesting. I found a similar issue on another module at https://www.drupal.org/project/improve_line_breaks_filter/issues/3326729 → and here is how they fixed it: https://git.drupalcode.org/project/improve_line_breaks_filter/-/commit/2...
- 🇲🇽Mexico mouse70
Hi,
Thanks for the reply. I will review the solution you mention.
Regarding the module version, I have been working with version 2.0 because 3.0 doesn't seem to render correctly on both D9 and D10.
An example of output on D9-D10:
Code in body:
[[{"type":"media","view_mode":"media_large","fid":"1","attributes":{"alt":"","class":"media-image","height":"187","style":"display: block; margin-left: auto; margin-right: auto;","typeof":"foaf:Image","width":"480"}}]] ) )Output:
Array ( [0] => aaa [1] => Array ( [0] => [[{"type":"media","view_mode":"media_large","fid":"1","attributes":{"alt":"","class":"media-image","height":"187","style":"display: block; margin-left: auto; margin-right: auto;","typeof":"foaf:Image","width":"480"}}]] ) ) - 🇨🇦Canada alberto56
Hi @mouse70 thanks, can you please open a separate issue for the rendering problem? That seems pretty major, but unrelated to Ckeditor5 compatibility.
- 🇨🇦Canada alberto56
The rendering problem referenced by @mouse70 has probably been fixed in https://github.com/dcycle/convert_media_tags_to_markup/pull/11/files and released in 3.0.1.
- Status changed to Fixed
almost 2 years ago 9:32pm 3 March 2023 - 🇨🇦Canada alberto56
This should be fixed in https://github.com/dcycle/convert_media_tags_to_markup/pull/12/files in the release 3.0.2
Please comment if the fix does not work for you.
Setting to fixed
Automatically closed - issue fixed for 2 weeks with no activity.