Closed (fixed)
Project:
Gutenberg
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2019 at 23:50 UTC
Updated:
16 May 2019 at 08:59 UTC
Jump to comment: Most recent

Comments
Comment #3
marcofernandes commentedComment #4
marcofernandes commentedWe can’t have image sizes yet on Drupal Gutenberg because when using <img> data-* attributes, Drupal will ignore the `src` attribute and override it with current file entity original url when rendering the content.
this is about to change: https://www.drupal.org/project/drupal/issues/2061377
so I guess we need to wait for it.
Comment #7
marcofernandes commentedWell, actually we can have image sizes but we need to disable "Track images uploaded..." filter.
Since Drupal doesn't have a UI to edit the sources of a File entity, I think we're going to be ok.
Still we need to keep an eye on the core's issue about supporting image styles/sizes on the editor.
Comment #8
marcofernandes commentedNow we have data-* attributes on
<img>tag and with that image styles support.