demarches-normaliennes/app/assets/javascripts/bootstrap_wysihtml5.js

8 lines
275 B
JavaScript

$(document).ready(wysihtml5_active);
$(document).on('page:load', wysihtml5_active);
function wysihtml5_active (){
$('.wysihtml5').each(function(i, elem) {
$(elem).wysihtml5({ toolbar:{ "fa": true, "link": false, "color": false }, "locale": "fr-FR" });
});
}