demarches-normaliennes/app/assets/javascripts/bootstrap_wysihtml5.js
2017-04-04 16:59:40 +02:00

7 lines
236 B
JavaScript

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