0

In my functions.php I have following:

function myplugin_tinymce_buttons_2($buttons)
{

  $remove = array('formatselect', 'justifyfull', 'forecolor');

  return array_diff($buttons,$remove);
}
add_filter('mce_buttons_2','myplugin_tinymce_buttons_2');

The dropdown style menu and color selector are succesfully gone, but the align justify -button sticks. I have tried 'alignfull', 'justify' and 'full', but nothing seems to remove it.

How do I get rid of it?

  • Have you tried alignjustify? – TheDeadMedic Sep 24 '15 at 12:30
  • No I had not. Write answer, I accept. Cheers! – Jaakko Karhu Sep 24 '15 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.