Directionality Plugin
Toolbar buttons for setting the left-to-right or right-to-left direction of content.
Contribute to this page + toolbar button
This plugin adds directionality controls to the toolbar, enabling TinyMCE to better handle languages written from right to left. It also adds a toolbar button for each of its values, ltr
for left-to-right text and rtl
for right-to-left text.
Type: String
Possible Values: ltr
, rtl
Directionality plugin example
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "directionality",
toolbar: "ltr rtl"
});
Was this article helpful? Yes - No
Well, that's awkward . Would you mind opening an issue or helping us out?
Thanks for the feedback!
Can't find what you're looking for? Let us know.
Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.