Text direction

This plugin allows you to change the direction of text rtl, ltr for separate blocks of content.

Click on any text block and the text direction change button will appear on the toolbar.


<!DOCTYPE html>
        <title>Article Editor</title>
        <meta charset="utf-8">

        <!-- css -->
        <link rel="stylesheet" href="/your-article-dist-path/article-editor.css" />
        <!-- element -->
        <textarea id="entry">...</textarea>

        <!-- js -->
        <script src="/your-article-dist-path/article-editor.js"></script>
        <script src="/your-article-dist-path/plugins/textdirection.js"></script>

        <!-- call -->
        ArticleEditor('#entry', {
            plugins: ['textdirection'],
            css: '/your-article-dist-path/'