Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Showing my HTML Editor Problem In Opera v.11.01


Reply


2 Posts   1436 Views

Avatar
Graphicator

Community Member, 62 Posts

31 January 2011 at 8:18pm

I am trying to use the included HTML editor inside the Opera browser. If you preview this video I captured,
http://www.screencast.com/users/GraphicAgenda/folders/Jing/media/4beb70ed-cfe8-457b-a79c-cce803cbb0ef

You can find that the html editor opens up in a new window, but becomes uneditable. Is there any way to fix this?

Avatar
hagar

Community Member, 1 Post

9 January 2012 at 9:58am

Hi.

I have seen the same problem with Opera 11.60.

The error I am having is due to an error in a javascript workaround in a file that is included with Opera. I tried to collect as much information that I could, and submitted a bug report to Opera.

The error message that I get is:

TinyMCE detected. Various fixes applied. See browser.js for details
Uncaught exception: TypeError: 'this' is not coercible to object

Error thrown at line 477, column 5 in <anonymous function>(e) in browser.js:
if( match.call(e.event.target.tagName, /iframe/i) && ( match.call(e.event.target.name, /^mce_editor_\d/ ) || match.call(e.event.target.id, /^mce_editor_\d/ )))

The full code in Opera looks like this:

            postError.call(opera, 'TinyMCE detected. Various fixes applied. See browser.js for details');
            addEventListener.call(opera, 'BeforeScript', function(e){
               indexOf.call=removeEventListener.call=call;
               if( indexOf.call(e.element.src, 'tiny_mce'>-1) ){
                  setTinyMCEVersion(e);
                  sendOperaEvent( 'bjsOnTinyMCEScript', e.element );
               }
            }, false);
            addEventListener.call(opera, 'BeforeEvent.load', function(e){
               match.call=call;
               if( match.call(e.event.target.tagName, /iframe/i) && ( match.call(e.event.target.name, /^mce_editor_\d/ ) || match.call(e.event.target.id, /^mce_editor_\d/ ))){
                  setTinyMCEVersion();
                  sendOperaEvent('bjsOnTinyMCEInstance', e.event.target);
               }
            }, false);
            fixed=true;

Anyone has any idea how to do a fix/workaround for this in the tinycme code?