• I’m trying to disable all instances of the HTML editor on my instance and the last remaining one is in the distraction free writing tool.

    I’ve removed the button from the editor, but you can still get to it by using: Alt + Shift + W.

    Is there a way to completely disable distraction free writing? Or perhaps a way to get rid of the html editor in it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve removed the button from the editor

    How did you remove it? Which file did you edit?

    Thread Starter drkknight32

    (@drkknight32)

    I changed the functions.php file with a snippet of code. I forgot where I found it, but it works:

    function myplugin_tinymce_buttons($buttons)
    {
    //removethe following button from tinymce
    $remove=array(‘fullscreen’);

    return array_diff($buttons,$remove);
    }

    add_filter(‘mce_buttons’,’myplugin_tinymce_buttons’);

    Like I said, the keyboard shortcut still functions though

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Distraction Free Writing’ is closed to new replies.