Skip to content
Snippets Groups Projects

Typo3v8compatibility

Merged Fabian Galinski requested to merge typo3v8compatibility into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -7,17 +7,27 @@ tinymce.init({
autoresize_max_height: 500,
plugins: [
'advlist autolink lists charmap hr anchor pagebreak searchreplace wordcount visualblocks visualchars code',
'nonbreaking save table directionality template paste colorpicker autoresize shy contextmenu'
'nonbreaking save table directionality template paste colorpicker autoresize shy contextmenu fullscreen help',
'codemirror'
],
// Currently not in use typo3image
toolbar1: 'undo redo | styleselect | bold italic | typo3image typo3link unlink | ' +
'alignleft aligncenter alignright alignjustify | bullist numlist outdent indent',
'alignleft aligncenter alignright | bullist numlist outdent indent | fullscreen | help | code',
external_plugins: {
codemirror: 'EXT:tinymce4_rte/Resources/Public/Plugins/tinymce-codemirror/plugins/codemirror/plugin.min.js',
shy: 'EXT:tinymce/Resources/Public/JavaScript/TinymcePlugins/shy/plugin.min.js',
typo3filemanager: 'EXT:tinymce4_rte/Resources/Public/Plugins/Typo3FileManager/typo3filemanager.min.js',
shy: 'EXT:tinymce/Resources/Public/JavaScript/TinymcePlugins/shy/plugin.min.js'
},
// Currently not in use typo3image
contextmenu: 'typo3link unlink inserttable | cell row column deletetable'
contextmenu: 'typo3link unlink inserttable | cell row column deletetable',
codemirror: {
indentOnInit: true,
config: {
// provokes problems while doing copy&paste from the source code window
lineNumbers: false
},
path: 'EXT:tinymce4_rte/Resources/Public/Plugins/tinymce-codemirror/plugins/codemirror/CodeMirror/'
},
// Example for adding/changing style formats
@@ -56,6 +66,9 @@ tinymce.init({
// ]
// }
// ],
// Activate this, if you've a lot of "style_formats", which could just be applied to specific tags. This can bring a
// better structure, but if you don't have much, then this option will just confuse the customer.
// style_formats_autohide: true,
// formats: {
// greenBox: {
// block: 'div',
@@ -64,4 +77,4 @@ tinymce.init({
// classes: 'box-green'
// }
// }
});
\ No newline at end of file
});
Loading