File tree Expand file tree Collapse file tree
Resources/public/js/tinymce Expand file tree Collapse file tree Original file line number Diff line number Diff line change 240240 */
241241
242242 // Get theme to load inside tinymce in order to have no display differences
243- var themeCSS = _ . find ( _ . pluck ( document . styleSheets , 'href' ) , function ( link ) { return link . indexOf ( "themes/" ) !== - 1 } ) ;
243+ // var themeCSS = _.find(_.pluck(document.styleSheets, 'href'), function(link){return link.indexOf("themes/") !== -1});
244244
245245 tinymce . claroline . configuration = {
246246 paste_data_images : true ,
250250 'browser_spellcheck' : true ,
251251 'autoresize_min_height' : 100 ,
252252 'autoresize_max_height' : 500 ,
253- 'content_css' : [ themeCSS , home . asset + 'bundles/clarolinecore/css/common/tinymce.css' ] ,
253+ 'content_css' : [ home . asset + 'bundles/clarolinecore/css/common/tinymce.css' ] ,
254254 'toolbar2' : 'styleselect | undo redo | forecolor backcolor | bullist numlist | outdent indent | ' +
255255 'media link charmap | print preview code' ,
256256 'extended_valid_elements' : 'user[id], a[data-toggle|data-parent]' ,
You can’t perform that action at this time.
0 commit comments