Home Forums Newsletter Plugin Support Forum RTL support in Block Editor

  • This topic has 1 reply, 1 voice, and was last updated 1 week ago by alik.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253955
    alik
    Participant

    Hello,
    How can I enable/add the text direction button in the TNP Block editor?

    Thank you!

    #254327
    alik
    Participant

    Solution:

    includes/fields.php

    echo 'wp.editor.initialize("options-', $name, '", { tinymce: {toolbar1: "undo redo | formatselect fontselect fontsizeselect | bold italic forecolor backcolor | link unlink | alignleft aligncenter alignright alignjustify | ltr rtl | bullist numlist outdent indent | removeformat | help", fontsize_formats: "11px 12px 14px 16px 18px 24px 36px 48px", plugins: "link textcolor colorpicker directionality", default_link_target: "_blank", relative_urls : false, convert_urls: false}});</script>';
    
    • This reply was modified 1 week ago by alik.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.