Jump to:

518 Posts in 248 Topics by 261 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Showing my HTML Editor Problem In Opera v.11.01

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 1380 Views
  • Graphicator
    Avatar
    Community Member
    62 Posts

    Showing my HTML Editor Problem In Opera v.11.01 Link to this post

    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?

  • hagar
    Avatar
    Community Member
    1 Post

    Re: Showing my HTML Editor Problem In Opera v.11.01 Link to this post

    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?

    1380 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.