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

8 lines
273 B
JavaScript
Raw Normal View History

$(document).ready(wysihtml5_active);
$(document).on('page:load', wysihtml5_active);
function wysihtml5_active (){
$('.wysihtml5').each(function(i, elem) {
2016-08-24 15:32:41 +02:00
$(elem).wysihtml5({ toolbar:{ "fa": true, "link": false, "color": true }, "locale": "fr-FR" });
});
}