Home Forums Newsletter Plugin Support RTL support in Block Editor

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>';
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.