• Hello,

    To support UTF8 Languages, Please replace the the following with the line 31 in file front/shortcode.php.

    @$dom->loadHTML(mb_convert_encoding($c, 'HTML-ENTITIES', 'UTF-8'));

    Also if you plan to add support for RTL languages, the following is the RTL override css for tinymce.css:

    /* tinymce-rtl.css */
    .tern-theme-shortcode .tern-theme-shortcode-title i{margin-left:10px;margin-right:0}
    .tern-theme-shortcode .tern-theme-shortcode-title .desc{border-right:1.5px solid #a8a8a8;margin-right:7px;padding-right:7px;border-left:0;margin-left:0;padding-left:0;}
    .tern-theme-shortcode .tern-theme-shortcode-title .controls{float:left;}
    .tern-theme-shortcode .tern-theme-shortcode-title .controls .btn{margin:0 1px 0 0;}
    .tern-theme-shortcode .tern-theme-shortcode-title .controls .btn.disable{margin-right:10px;}
    .tern-theme-shortcode .tern-theme-shortcode-title .controls .btn span{right:-35px;left:auto}
    .tern-theme-shortcode .tern-theme-shortcode-title .controls .btn span:after{border-color:rgba(96, 0) 165, 111,;right:50%;margin-right:-5px;left:auto;margin-left:0;}
    .tern-theme-shortcode.row_column .row .column{border-left:1px solid #f3f3f3;border-right:0;}
    .tern-theme-shortcode.row_column .row .column:last-of-type{border-left:0;}
    .tern-theme-shortcode .row .column.col-sm-4.col-md-4{padding-right:10px;padding-left:10px;}
    .tern-theme-shortcode .row .column.col-sm-4.col-md-4:first-of-type{padding-right:0;padding-left:0;}
    .tern-theme-shortcode .row .column.col-sm-4.col-md-4:last-of-type{padding-left:0;padding-right:0;}
    .tern-theme-shortcode a.drag:hover ~ .drag-hover{right:0;left:auto}
    .tern-theme-shortcode .place{text-align:right;}
    .tern-theme-shortcode .place i{margin-left:10px;margin-right:0;}

    Best Regards.

    https://www.ads-software.com/plugins/inline-shortcodes-for-bootstrap/

  • The topic ‘UTF8 Language support’ is closed to new replies.