WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing the Edit Buttons (3 posts)

  1. ceo
    Member
    Posted 6 years ago #

    Watch this be the most obvious answer, but here I go.

    Right now I am in the midst of creating a new website, of which there are a large number of JAWS users (blind people using text-to-speech). I've had a few people help me poke around and try and break WordPress and we've basically come to the conclusion that it's wonderfully accessible.

    We did find the WYSIWYG less easy to navigate through and unanimously chose the basic editor. With one exception, we didn't run into any difficulties at all; however, the edit buttons are a tiny bit clunky for our use and so I ask, is there a way to remove them from the post/edit page? And if so, how?

    (Side note: I have not poked through WordPress's source code in about two years, so pardon me for being lame and rather rusty.)

  2. shadow
    Member
    Posted 6 years ago #

    The code is now located in /wp-includes/js/quicktags.js

    Just take out whichever tags you do not want, for instance, the following example would remove the link tag if taken out of the code.

    edButtons[edButtons.length] =
    new edButton('ed_link'
    ,'link'
    ,''
    ,'</a>'
    ,'a'
    ); // special case
  3. ceo
    Member
    Posted 6 years ago #

    How come I knew I would know this answer? Thanks so very much for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic