froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.29k stars 672 forks source link

The `direction` option does not work when also using the `language` option. (JSFiddle included) #4372

Open dcporter44 opened 2 years ago

dcporter44 commented 2 years ago
Expected behavior.

direction option should work when using languages other than English

Actual behavior.

When the language option is set to something other than English, the direction option does not do anything.

Steps to reproduce the problem.

Here is a jsfiddle: https://jsfiddle.net/74etz2o9/8/ If you remove the language option, the direction works correctly.

Editor version.

v3 and v4

OS.

MacOS

Browser.

Chrome 96

AkshayCM commented 2 years ago

Thank you for your feedback. The request has been reported to the product management team for evaluation and consideration for an upcoming release.

kaniansky commented 11 months ago

To anyone dealing with his problem, change t&&t.direction&&(e.opts.direction=t.direction) into t&&t.direction&&e.opts.direction==='auto'&&(e.opts.direction=t.direction) in froala_editor.min.js