agenda-libre-ruby/public/assets/tinymce-fb2c7afeceed105e20f394c3c531154ca1a8399a2b410be3ed99aeaca4419ba4.js

22 lines
1014 B
JavaScript
Raw Normal View History

(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
branding: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-31446b61376e114e9c8dd48e3beb3218fd819e0de7fb8bb309580ce7e688bb5d.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' cut copy paste | undo redo | searchreplace | link image media charmap table | code visualblocks preview fullscreen', ' removeformat | bold italic strikethrough | superscript subscript | bullist numlist | alignleft aligncenter alignright alignjustify alignnone | outdent indent'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);