Permalink
Browse files

Fixed #019254: Compatibility issue with Firefox 11

  • Loading branch information...
1 parent d914478 commit c68814b9fc3366ab1039ce81e5a3bdaded43b8f7 @dpobel dpobel committed Mar 23, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 design/standard/javascript/themes/ez/editor_template.js
@@ -132,6 +132,11 @@
// Init editor
ed.onInit.add(function() {
ed.onNodeChange.add(t._nodeChanged, t);
+
+ // eZ: workaround for http://issues.ez.no/19254 to make TinyMCE/ezoe work in Firefox 11
+ // affects only TinyMCE <= 3.4.5
+ ed.getWin().frameElement.style.display = 'block';
+
ed.addShortcut('ctrl+8', '', ['FormatBlock', false, '<pre>']);
ed.addShortcut('ctrl+9', '', ['FormatBlock', false, '<pre>']);
if ( s.theme_ez_content_css )
@@ -1648,4 +1653,4 @@
});
tinymce.ThemeManager.add('ez', tinymce.themes.eZTheme);
-}(tinymce));
+}(tinymce));

0 comments on commit c68814b

Please sign in to comment.