[wp-trac] [WordPress Trac] #62241: HTML API: Fix the position update after changing the modifiable text when length differs

WordPress Trac noreply at wordpress.org
Fri Oct 18 13:29:20 UTC 2024


#62241: HTML API: Fix the position update after changing the modifiable text when
length differs
--------------------------------------+---------------------
 Reporter:  gziolo                    |       Owner:  gziolo
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  HTML API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by gziolo):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59250" 59250]:
 {{{
 #!CommitTicketReference repository="" revision="59250"
 HTML API: Fix the position update after changing the modifiable text when
 length differs

 There was an edge case detected for updating the text placed without the
 wrapping HTML tag with `set_modifiable_text`.

 Props gziolo, jonsurrell.
 Fixes #62241.
 }}}

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


More information about the wp-trac mailing list