bbPress

Simple, Fast, Elegant

bbPress support forums » Plugins

How to add a button with js_quicktags.js?

(2 posts)
  • Started 1 year ago by intellivision
  • Latest reply from fel64
  • This topic is not resolved

Tags:

  1. edButtons.push(
    	new edButton(
    		'ed_strike'
    		,'STRIKE'
    		,'<strike>'
    		,'</strike>'
    		,'s'
    	)
    );

    I added that (and allowed strikethru functionality via another plugin) but the strike button does not show. Any ideas?

    Posted 1 year ago #
  2. I'm no JSkiddie but that looks like you only define the new edButton when someone pushes an old one. Is that right? Can you look for where the core buttons are defined and just add it to them? This quicktag principle isn't new and I'm positive I saw a guide to adding buttons to quicktags (in wp, but the principle should be the same) - so there should be some documentation out there.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.