Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
editor.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
5 Jan 2016 at 16:37 UTC
Updated:
15 Feb 2023 at 02:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedvilepickle created an issue. See original summary.
Comment #2
swentel commentedThat really does sound as a feature to me (or maybe even works by design), pasting images sounds, well weird :)
Comment #3
Anonymous (not verified) commentedDoing a little more investigation, pasted images lack a data-entity-type and data-entity-uuid attribute which is required for the Drupal dialog to work. If you paste images with normal CKEditor they work fine with its dialog: http://sdk.ckeditor.com/samples/captionedimage.html
It makes sense technically that they lack those attributes since they're not local files and not present in the file_managed table, but the UX still really sucks.
Comment #4
wim leersCan you post screenshots to clarify what you mean?
Depending on what you mean exactly, this could be a duplicate of #2510394: [drupalImage] Setting to still allow linking to an image by URL even when uploads are enabled.
Comment #5
Anonymous (not verified) commentedI can post some images of it happening. It is similar to that issue though. I was pasting an external site image into the WYSIWYG and wanting to manage some of its attributes in the interface. This would be an img that was not uploaded and thus doesn't have a database entry in Drupal.
Comment #6
wim leersRight. So let's solve this in #2510394: [drupalImage] Setting to still allow linking to an image by URL even when uploads are enabled. Can you please post a short screencast showing the problem there? That makes the use case clear to everybody.
Please also see #2510394-4: [drupalImage] Setting to still allow linking to an image by URL even when uploads are enabled — I wonder what your answer is to that concern :)
Comment #7
Anonymous (not verified) commentedI've added a series of screenshots here.
09:34:28 - BUG: Pasted (external) image in the WYSIWYG, right clicking shows no "properies" option and double clicking does nothing
09:35:30 - Pasted (external) image source code
09:36:19 - Normal Drupal upload dialog window
09:37:02 - Correct image display in the WYSIWYG with border and edit options, able to be double clicked and attributes changed
09:43:37 - Correct image source for an uploaded Drupal image