2016-03-30 17:39:29 +02:00
|
|
|
(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
return tinyMCE.init({
|
|
|
|
schema: 'html5',
|
|
|
|
menubar: false,
|
|
|
|
language: 'fr_FR',
|
|
|
|
selector: 'textarea.description',
|
2016-05-19 21:41:32 +02:00
|
|
|
content_css: '/dev-assets/application-04dae2e3e83d47a4e01f16d1fd7598a83a4d7c9c52947b77c44f3203a27ea744.css',
|
2016-03-30 17:39:29 +02:00
|
|
|
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);
|