Question

This link: http://www.tinymce.com/wiki.php/TinyMCE3x:%22For_Dummies%22 shows under the headline "Custom Advanced TinyMCE wysiwyg Editor" in the second window behind "theme_advanced_buttons" the names of the buttons you can add to your toolbar. It's a bit different in version 4.x but it works the 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 the justifyleft justifycenter justifyright buttons everything works perfect. So how to find out the right button names for these buttons?

Was it helpful?

Solution

Found the answer here: http://www.tinymce.com/tryit/full.php

alignleft aligncenter alignright alignjustify

works

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top