hello everyone.
i have this BBcode :
- Code:
$(function() {
if (!$.sceditor) return;
$.sceditor.command.set('overline', {
exec : function() {
this.insertText('[table style="display:inline-block;border-top:1px solid;"][tr][td]','[/td][/tr][/table]');
},
txtExec : function() {
this.insertText('[table style="display:inline-block;border-top:1px solid;"][tr][td]','[/td][/tr][/table]');
},
tooltip : 'OVERLINE'
});
toolbar = toolbar.replace(/left/, 'overline,left');
});
- Code:
[table style="display:inline-block;border-top:1px solid;"][tr][td]','[/td][/tr][/table]
i want to shortcut this code
and make it like that :
- Code:
[OVERLINE]','[/OVERLINE]
But with the Ability
i think you know what i meen
thanks a lot ♥