Skip to content

Commit 8f4f29a

Browse files
committed
Removing theme css from tinymce.
1 parent 15231fe commit 8f4f29a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Resources/public/js/tinymce/tinymce.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
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,
@@ -250,7 +250,7 @@
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]',

0 commit comments

Comments
 (0)