#48092 closed defect (bug) (worksforme)
Normal editor on rtl switches shortcode enclosed content and html content
Reported by: | BackuPs | Owned by: | |
---|---|---|---|
Milestone: | 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
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)
Change History (6)
This ticket was mentioned in Slack in #core-editor by itsjusteileen. View the logs.
4 years ago
#4
@
4 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
Frankly there's no straightforward way to fix this. Typing shortcodes by hand follows the same rules as typing HTML by hand. 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.
When you add content before the shortcode the shortcode content is fixed but the body content is still wrong in its location
if you add a special html character then it still is wrong as the special character is splitted and the body content is still at the wrong location. It should be behind the shortcode.
https://cl.ly/6884788e631a
very weird behaviour of the editor in rtl mode.