When editing images using the Source button (clicking on source and typing in a different image) the changes are not made. The preview does change but the final block does not.

Steps to reproduce:

  1. Create a block (https://www.example.com/block/add?destination=/admin/structure/block/blo...)
  2. Insert an image using the image plugin, save and close
  3. Edit the block, enter source, type a different image to be displayed
  4. The preview shows the new image, save and close
  5. Place and view the block and notice that the original image is still shown
  6. Go to edit the block, click image plugin and notice the original image still listed but the preview shows the new image

I did search for existing issues but cannot see any.

It is quite quick to test so please confirm as reproducible.

Comments

serg2 created an issue. See original summary.

wim leers’s picture

This is working as designed. See #2666382: EditorFileReference filter: generate URLs for inline images.

If you want to manipulate HTML yourself manually, you must remove the data- attributes.

A related issue that would make this easier: #2510394: [drupalImage] Setting to still allow linking to an image by URL even when uploads are enabled.