WordPress.org

Ready to get started?Download WordPress

Forums

preserving modifications to quicktags.js (3 posts)

  1. Selif
    Member
    Posted 4 years ago #

    One of the things that frequently keeps me from upgrading wordpress is that when I do, the quicktags.js file is overwritten and I have to figure out all over again how to implement some custom buttons for the editor that I use fairly often. (note, I never use the "visual" editor)

    Is there any possible way that I can preserve these mods without having to re-implement them with every single new version of WordPress?

    I absolutely *H*A*T*E* having to reinvent the wheel like this every effing time WP is upgraded.

  2. Selif
    Member
    Posted 4 years ago #

    I just updated a blog to 2.9.1 and once again the custom buttons I've added to the quicktags have been wiped out and once again I have to re-invent the wheel and figure out how to re-implement my custom buttons.

    Is there ANY way to preserve these modifications across upgrades?

  3. Why are you making changes to quicktags.js directly? The first rule of customizing any program is NEVER make changes to the core code :)

    You should be able to devise a plugin to do the same. See http://codex.wordpress.org/TinyMCE_Custom_Buttons

Topic Closed

This topic has been closed to new replies.

About this Topic