Skip to content

Commit

Permalink
Merge pull request #256 from Georiviere/tiny_mce_code
Browse files Browse the repository at this point in the history
Add option to see code source in flatpage
  • Loading branch information
babastienne committed May 3, 2024
2 parents 9ae8928 + edb53ec commit 6fb099d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions georiviere/flatpages/static/js/tinymce.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ tinyMCE.init({
relative_urls : false,
remove_script_host : false,
plugins: [
'autolink lists link image',
'autolink lists link image code',
'media table paste wordcount',
'visualblocks preview anchor'
],
menubar: false,
image_caption: true,
toolbar: 'undo redo | styleselect | blockquote | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | link image media | indent outdent | visualblocks',
toolbar: 'undo redo | styleselect | blockquote | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | link image media | indent outdent | visualblocks | code',
formats: {
informationFormat: {
block: 'div', classes: 'information'
Expand Down

0 comments on commit 6fb099d

Please sign in to comment.