Plugin and vendor images are now also precompiled
@ -41,5 +41,8 @@ module AgendaDuLibreRails
|
||||
config.action_dispatch.default_headers['X-Frame-Options'] = 'ALLOWALL'
|
||||
|
||||
config.active_record.raise_in_transactional_callbacks = true
|
||||
|
||||
# In rails 4, plugin and vendor images need to be precompiled
|
||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||
end
|
||||
end
|
||||
|
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 120 B |
After Width: | Height: | Size: 105 B |
After Width: | Height: | Size: 111 B |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 101 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 535 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 65 KiB |
@ -0,0 +1,21 @@
|
||||
(function() {
|
||||
$(document).ready(function() {
|
||||
return tinyMCE.init({
|
||||
schema: 'html5',
|
||||
menubar: false,
|
||||
language: 'fr_FR',
|
||||
selector: 'textarea.description',
|
||||
content_css: '/assets/application-49e7e5af3b02eaa9e0c86ce8722922fd79170115d3e29f8696296467642c48f3.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);
|
@ -0,0 +1,21 @@
|
||||
(function() {
|
||||
$(document).ready(function() {
|
||||
return tinyMCE.init({
|
||||
schema: 'html5',
|
||||
menubar: false,
|
||||
language: 'fr_FR',
|
||||
selector: 'textarea.description',
|
||||
content_css: '/assets/application-6670b0eea8f83814e96dbe243e5b8d2407e1db887d5495c5f02add0132ecf236.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);
|
After Width: | Height: | Size: 354 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 323 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 328 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 53 B |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 43 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 491 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 139 B |
After Width: | Height: | Size: 93 B |
After Width: | Height: | Size: 146 B |
After Width: | Height: | Size: 79 B |
After Width: | Height: | Size: 76 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 299 B |
After Width: | Height: | Size: 93 B |