当前位置: 首页 > 文档资料 > tinyMCE 帮助文档 >

Directionality plugin

优质
小牛编辑
125浏览
2023-12-01

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"
});