[wp-trac] [WordPress Trac] #40911: Replacing an image in the text editor causes text below to get deleted

WordPress Trac noreply at wordpress.org
Sat Jun 3 20:29:05 UTC 2017


#40911: Replacing an image in the text editor causes text below to get deleted
--------------------------+------------------------------
 Reporter:  jpenningroth  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.7.5
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 As far as I see this happens only in latest Chrome, all works as expected
 in Firefox, Edge and IE11. Looks like a bug with the selection in textarea
 elements. Can reproduce in any textarea when some content is inserted from
 JS after deleting something.

 If this is indeed a browser bug, it will be fixed in Chromium.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40911#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list