[wp-trac] [WordPress Trac] #48092: Normal editor on rtl switches shortcode enclosed content and html content

WordPress Trac noreply at wordpress.org
Thu Jul 16 20:55:41 UTC 2020


#48092: Normal editor on rtl switches shortcode enclosed content and html content
--------------------------+-------------------------
 Reporter:  BackuPs       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  5.2.3
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:  rtl
--------------------------+-------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Frankly there's no straightforward way to fix this. Typing shortcodes by
 hand follows the same rules as typing HTML by hand. The "workaround" is to
 add opening and closing tags LTR, but any enclosed text in RTL. Perhaps
 this is the reason why this hasn't been reported earlier, shortcodes have
 been used in WP for many years :)

 Closing as worksforme as this has been the case for many years. Please
 feel free to reopen with a patch or ideas/info on how to solve and whether
 this fits user expectations.

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


More information about the wp-trac mailing list