Think I've mannaged to figure out that I'd need to add in an "if 
button.selection" command around this area but not really sure where to go 
from there.

EditorToolbar.onCommand = function(name){
        var button = EditorToolbar.buttons[name];
        return function(){
                var parameter = false;
                if (button.prompt) {
                        var parameter = this.target.queryCommandValue(name);
                        parameter = prompt(button.prompt,parameter);
                }
                if (parameter != null) {
                        this.target.execCommand(name, false, parameter);
                        EditorToolbar.onUpdateButton.call(this);
                }
                return false;
        }
}




On Tuesday, June 17, 2014 1:11:11 AM UTC-7, Arc Acorn wrote:
>
> Hey I was wondering if anyone knew a quick way to add a drop down 
> selection to EasyEdit?
> https://github.com/huggyfee/VisualTW2/raw/master/VisualTW2.html
>
> I find myself using the exact same 15 foreground font colors all the time, 
> so it would be nice to just have a list rather than entering hex codes all 
> the time.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to