Open dcporter44 opened 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.
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
Expected behavior.
direction
option should work when using languages other than EnglishActual behavior.
When the
language
option is set to something other than English, thedirection
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, thedirection
works correctly.Editor version.
v3 and v4
OS.
MacOS
Browser.
Chrome 96