[wp-trac] [WordPress Trac] #39790: When I click on URL button for add an URL to an image a new line is added

WordPress Trac noreply at wordpress.org
Thu Nov 28 08:43:02 UTC 2024


#39790: When I click on URL button for add an URL to an image a new line is added
-------------------------------+-------------------------
 Reporter:  asimioni           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Editor             |     Version:  4.7.2
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------

Comment (by nathan001):

 @asimioni This issue appears to stem from the editor or toolbar behavior,
 where clicking the URL button unintentionally inserts a new line after the
 selected image. Such behavior is often caused by the editor adding a
 block-level element, such as a <p> tag, after the image when interacting
 with certain toolbar options. It could also be due to an event triggered
 by the button click, which might not be properly handled, leading to the
 insertion of unwanted content.

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


More information about the wp-trac mailing list