oscitasthemes / Easy-Bootstrap-Shortcode

Wordpress Easy Bootstrap Shortcode Plugin is bootstrap 3.0 compatible plugin which add icons to wordpress editor (tinyMCE Shortcode Buttons) and one can add bootstrap style to their website just by clicking on tinyMCE editor icon.
GNU General Public License v2.0
43 stars 17 forks source link

Add admin.php and themes.php #5

Open Nikoya opened 11 years ago

Nikoya commented 11 years ago

It can be great to enable this plugin on admin.php and themes.php too (actually limit to post-new.php and post.php)

Cause some settings page can use visual editor so it it's logic to use EBs in it too.

If you are ok i can push it.

Thx

swashata commented 11 years ago

+1 for this. Although I think it would be better to use mce_external_plugins and mce_buttons to to include the script and buttons instead of admin.php and themes.php. This way the shortcode buttons will be enqueued whenever wp_editor with visual editor support is called.

Nikoya commented 11 years ago

Totally true. Your idea is better :)

oscitasthemes commented 11 years ago

Hi, I think if we remove the condition of post.php and post-new.php, then it will solve our problem. what say?