Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with page plugins/directionality.md #659

Closed
ArabGenius opened this issue Mar 5, 2018 · 1 comment
Closed

Problem with page plugins/directionality.md #659

ArabGenius opened this issue Mar 5, 2018 · 1 comment

Comments

@ArabGenius
Copy link

affected page: https://www.tinymce.com/docs/plugins/directionality/

Hello
I cant init tinymce as RTL

this is my code

tinymce.init({
  mode : "exact",
  elements : "text_ar",
  directionality : 'rtl',
  language: 'ar',
  branding: false,
  height: 400,
  theme: 'modern',
  plugins: 'print preview fullpage searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern help',
  toolbar1: 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify  | numlist bullist outdent indent  | removeformat | ltr rtl',
  image_advtab: true
 });
@r12s
Copy link
Contributor

r12s commented Mar 8, 2018

Hi @ArabGenius including the following in your init (as you've done above) will default the content of the editor right-to-left, and change the language of menu bars, etc, to Arabic.

directionality: 'rtl',
language: 'ar',

_grab 2018-03-08_05-05-34_pm

We're unable to provide support in the docs, please ask your question in the TinyMCE Community https://community.tinymce.com/ Thanks!

@r12s r12s closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants