Browse Source

All url edited using tinymce are now absolutes

remotes/origin/master
echarp 2 years ago
parent
commit
9b30db2795
  1. 2
      app/assets/javascripts/setup_tinymce.coffee.erb
  2. 2
      public/assets/.sprockets-manifest-1ecf1692b9cfa13c0271559a479b9688.json
  3. 53815
      public/assets/application-477b6649aabdf5e46769ad060395b9eef59f900d1582bc14af9538374e5819dd.js
  4. BIN
      public/assets/application-477b6649aabdf5e46769ad060395b9eef59f900d1582bc14af9538374e5819dd.js.gz
  5. 26
      public/assets/setup_tinymce-a47edf933da9cf4ecb8e50e40dc68bb8349603e56be1b8e3b189cd46ac0d619b.js
  6. BIN
      public/assets/setup_tinymce-a47edf933da9cf4ecb8e50e40dc68bb8349603e56be1b8e3b189cd46ac0d619b.js.gz

2
app/assets/javascripts/setup_tinymce.coffee.erb

@ -8,7 +8,9 @@ $(document).on 'turbolinks:load', ->
language: 'fr_FR'
selector: 'input.description'
content_css: '<%= asset_path 'application.css' %>'
relative_urls: false
entity_encoding: 'raw'
document_base_url: '/'
add_unload_trigger: true
browser_spellcheck: true
style_formats_autohide: true

2
public/assets/.sprockets-manifest-1ecf1692b9cfa13c0271559a479b9688.json

File diff suppressed because one or more lines are too long

53815
public/assets/application-477b6649aabdf5e46769ad060395b9eef59f900d1582bc14af9538374e5819dd.js

File diff suppressed because one or more lines are too long

BIN
public/assets/application-477b6649aabdf5e46769ad060395b9eef59f900d1582bc14af9538374e5819dd.js.gz

Binary file not shown.

26
public/assets/setup_tinymce-a47edf933da9cf4ecb8e50e40dc68bb8349603e56be1b8e3b189cd46ac0d619b.js

@ -0,0 +1,26 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
width: '100%',
height: '40em',
menubar: false,
branding: false,
language: 'fr_FR',
selector: 'input.description',
content_css: '/assets/application-7676810a8b1f72354c8821c38a3c8729f54bb8ed5ae767e94159b98f4ab74837.css',
relative_urls: false,
entity_encoding: 'raw',
document_base_url: '/',
add_unload_trigger: true,
browser_spellcheck: true,
style_formats_autohide: true,
toolbar: [' cut copy paste | undo redo | link image media charmap table | code visualblocks searchreplace', ' removeformat bold italic strikethrough superscript subscript | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify alignnone'],
plugins: 'lists advlist autolink link image charmap paste print preview table fullscreen searchreplace media insertdatetime visualblocks wordcount code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);

BIN
public/assets/setup_tinymce-a47edf933da9cf4ecb8e50e40dc68bb8349603e56be1b8e3b189cd46ac0d619b.js.gz

Binary file not shown.
Loading…
Cancel
Save