WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 9 months ago

#48092 new defect (bug)

Normal editor on rtl switches shortcode enclosed content and html content

Reported by: BackuPs Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.3
Component: Editor Keywords:
Focuses: rtl Cc:

Description

Hi

i have a found a serious issue in the wp editor using shortcodes. The content of the page and the shortcode switches.

look at the explaining image

https://cl.ly/841c884024d8

https://cl.ly/841c884024d8

i tested this with a default wp install running 20-19 theme and only the rtl tester plugin active to test rtl mode.

Please how to resolve this?

This is a serious issu.

Attachments (2)

wpeditor-rtl.jpg (216.5 KB) - added by BackuPs 9 months ago.
explaining image
wp-editor-bug.jpg (152.4 KB) - added by BackuPs 9 months ago.
another explaining image

Download all attachments as: .zip

Change History (4)

#1 @BackuPs
9 months ago

When you add content before the shortcode it is fixe for the line the shortcode contains. but if you add a special html character then it still is wrong as the special c haracter is splitted

https://cl.ly/6884788e631a

https://cl.ly/6884788e631a

very weird behaviour of the editor in rtl mode.

Version 0, edited 9 months ago by BackuPs (next)

@BackuPs
9 months ago

explaining image

@BackuPs
9 months ago

another explaining image

#2 @SergeyBiryukov
9 months ago

  • Component changed from General to Editor
  • Focuses rtl added
Note: See TracTickets for help on using tickets.