You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate back to parent item ( Content-Type the image was inserted on )
The image is no longer shown, only the filename...
Go into edit mode and click "Save" again
The image is now visible and also excluded from the navigation...
Scenario 2
Open image dialog in TinyMCE editor
Select ( Preview 400x400 )
Go to "Upload" tab
Select an image from the local disk
Click "Insert" or "Upload" and then "Insert"
Navigate to the image and "Settings" tab
Select "Exclude from navigation"
Navigate back to parent item ( Content-Type the image was inserted on )
This time the image is still shown...
Example
Expected
When inserting an image in the TinyMCE editor, I often want to exclude it from the navigation. However doing this in the current state causes the image to disappear from the content.
Open image dialog in TinyMCE editor
Select any image scale or default
Go to "Upload" tab
Select an image from the local disk
Click "Insert" or "Upload" and then "Insert"
Navigate to the image and "Settings" tab
Select "Exclude from navigation"
Navigate back to parent item ( Content-Type the image was inserted on )
NOTE: this happens every time you edit the image. This is likely due to scale recreation on ObjectEdited event but somehow portal_transform doesn't get the updated scales for the image object?
/cc @davisagli maybe you've got some idea where to fix this?
petschki
changed the title
Excluding images inserted in TinyMCE breaks content
Editing images after inserted in TinyMCE breaks content
Jul 9, 2018
Scenarios
Scenario 1
Scenario 2
Example
Expected
When inserting an image in the TinyMCE editor, I often want to exclude it from the navigation. However doing this in the current state causes the image to disappear from the content.
Versions
The text was updated successfully, but these errors were encountered: