Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.41k stars 316 forks source link

In RTL the scrollbars are positioned for LTR #524

Open bibiali opened 1 year ago

bibiali commented 1 year ago

I'm submitting a...

Reproduction steps

  1. Load EasyMDE with direction: 'rtl' in the config
  2. In the textarea, type multiple lines until the scrollbar shows, notice the scrollbar is appearing on the right-hand-side when it should be on the left for Left-to-Right languages.

Many of the styles in tinymce css use directional properties for style rules. They should move to logical properties, inset-inline-start instead of left and so on.

Version information

Browser type and version: Chrome latest EasyMDE version: v2.16.1

melloware commented 5 months ago

Toolbars should also move to the right:

image

Here is what SunEditor looks like in RTL.

image