|
|
|
@ -20,6 +20,7 @@ $.fn.barre_outils = function(nom, settings) {
|
|
|
|
|
return $(this)
|
|
|
|
|
.not('.markItUpEditor, .no_barre')
|
|
|
|
|
.markItUp(eval('barre_outils_' + nom), {lang:options.lang})
|
|
|
|
|
.trigger('markItUpEditor.loaded')
|
|
|
|
|
.parent().find('.markItUpButton a').attr('tabindex', -1) // ne pas tabuler les boutons
|
|
|
|
|
.end();
|
|
|
|
|
};
|
|
|
|
@ -35,6 +36,7 @@ $.fn.barre_previsualisation = function(settings) {
|
|
|
|
|
return $(this)
|
|
|
|
|
.not('.pp_previsualisation, .no_previsualisation')
|
|
|
|
|
.previsu_spip(options)
|
|
|
|
|
.trigger('markItUpPreview.loaded')
|
|
|
|
|
.parent().find('.markItUpTabs a').attr('tabindex', -1) // ne pas tabuler les onglets
|
|
|
|
|
.end();
|
|
|
|
|
};
|
|
|
|
|