Quicktags on all textarea.. Not working on plugin?

it you’re not seeing the buttons, try to call QTags._buttonsInit(); right after you call the quicktags( settings ); function.

quicktags(settings);
QTags._buttonsInit();

Following also works for me

qt_editor = new QTags( { 'id': 'my_editor', 'buttons': 'strong,em,link' } );
QTags._buttonsInit();

Also, it seems that adding a button via QTags.addButton() function also makes your toolbar to display

qt_editor = new QTags( { 'id': 'my_editor', 'buttons': 'strong,em,link' } );
QTags.addButton( 'my_button', 'my button', '<br />' );

Leave a Comment