jquery - How to add text-align buttons to toolbar in TinyMCE 4.x? -
this link: http://www.tinymce.com/wiki.php/tinymce3x:%22for_dummies%22 shows under headline "custom advanced tinymce wysiwyg editor" in second window behind "theme_advanced_buttons" names of buttons can add toolbar. it's bit different in version 4.x works following way:
$('#my_textarea').tinymce({ plugins: 'link,code,preview,autolink', height: 350, width: 750, toolbar: "undo redo | styleselect | bold italic | justifyleft justifycenter justifyright | bullist numlist | link image | preview code" });
except justifyleft justifycenter justifyright
buttons works perfect. how find out right button names these buttons?
found answer here: http://www.tinymce.com/tryit/full.php
"alignleft aligncenter alignright alignjustify" works
Comments
Post a Comment