[wp-trac] [WordPress Trac] #36483: Inline image replacement in Post Editor does not replace image
WordPress Trac
noreply at wordpress.org
Mon Apr 11 22:22:25 UTC 2016
#36483: Inline image replacement in Post Editor does not replace image
--------------------------+------------------------------
Reporter: Ipstenu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by azaozz):
Replying to [comment:4 Ipstenu]:
Thanks, yeah, can see it now.
A new bug is that the right sidebar (image info and settings) doesn't get
refreshed/cleared out after deleting an image. Seems caused by the
Backbone update as far as I see.
The image not refreshing after replacing it is tougher. Was able to
reproduce in 4.4 too, but less frequently. Seems the browsers "hold onto"
the image in the editor despite that it is no longer on the server. Can
happen more reliably after deleting an image, no need to replace. Steps:
1. Open the media modal, upload an image and insert it in a post.
2. Edit the image, and delete it permanently.
3. Close the modal by clicking outside or on the top/right close button.
At this point the image is displayed in the editor. After switching to the
Text editor and back (i.e. forcing TinyMCE to reload the post content) the
image is still displayed, although it is not on the server any more. Only
after saving a draft/reloading the page the image will be displayed as
missing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36483#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list