Permalink
Browse files

Fixed Button Issue

  • Loading branch information...
Donovan Maidens Donovan Maidens
Donovan Maidens authored and Donovan Maidens committed Aug 21, 2015
1 parent a63e666 commit b66855c702681ec2beadfbc4a08602dbbe437dc1
Showing with 227 additions and 227 deletions.
  1. +3 −3 assets/editor_plugin.js
  2. +224 −224 bootshort.php
View
@@ -18,11 +18,11 @@
}
});
- ed.addButton('button', {
+ ed.addButton('btnshort', {
title : 'Add a button',
image : url+'/button.png',
onclick : function() {
- ed.selection.setContent('[btn href="" type="" size="" disabled=""]' + ed.selection.getContent() + '[/btn]');
+ ed.selection.setContent('[btnshort href="" type="" size="" disabled=""]' + ed.selection.getContent() + '[/btnshort]');
}
});
@@ -78,7 +78,7 @@
title : 'Add a Modal Window',
image : url+'/modal.png',
onclick : function() {
- ed.selection.setContent('[modal title=""]' + ed.selection.getContent() + '[/modal]');
+ ed.selection.setContent('[modal title=""]' + ed.selection.getContent() + '[/caroselimg]');
}
});
Oops, something went wrong.

0 comments on commit b66855c

Please sign in to comment.