- Issue created by @RichardDavies
- Assigned to lauriii
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
But when viewed outside of the editor, the media item is not wrapped
… this is highly dependent on the CSS of the front-end theme and back-end theme!
I remember that @lauriii spent a lot of time on this in #3264727: [drupalMedia|drupalImage] Allow removing data-align in the UI, and making an image inline → . I think he'll be the best person to answer this.
- First commit to issue fork.
- Merge request !8171CKEditor 5 break text media is center aligned in the editor → (Open) created by Unnamed author
- Status changed to Needs review
11 months ago 3:06am 24 May 2024 - Status changed to Needs work
11 months ago 1:56pm 31 May 2024 - 🇺🇸United States smustgrave
@Gauravvvv did you see comment #2?
Moving back to NW for the answer @Wim Leers was mentioning then determine approach
- 🇧🇷Brazil mabho Rio de Janeiro, RJ
The fact that the
<figure />
tag is showing within CKEditor5, and not outside it (when the image is rendered on the page) seems to be the problem to me. My take on this is: when the image is rendered, no matter what, the<figure />
wrapper should be applied. I wonder what would be the unintended consequences of such a change on legacy websites...