agenda-libre-ruby/public/assets/tinymce-fe1156fd03b1a543924116118d1f4e0607f5f5c93ae1c7fc3f6715678aeafa22.js
2016-05-19 21:41:32 +02:00

22 lines
948 B
JavaScript

(function() {
$(document).ready(function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/dev-assets/application-04dae2e3e83d47a4e01f16d1fd7598a83a4d7c9c52947b77c44f3203a27ea744.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('page:receive', function() {
return tinymce.remove();
});
}).call(this);