Opened 10 years ago

Closed 9 years ago

#938 closed enhancement (fixed)

Opera support

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version:
Severity: normal Keywords: Opera
Cc:

Description

Here is the exception thrown (Xinha build from 1/29):
JavaScript? TypeError?
message: Statement on line 5549: Could not convert undefined or null to object
Backtrace:

Line 5549 of linked script http://localhost/xinha/XinhaCore.js

if (! this.config.showLoading
! document.getElementById("loading_sub_" + this._textArea.name))

Line 5332 of linked script http://localhost/xinha/XinhaCore.js

this.setLoadingMessage("Register plugin $plugin", "Xinha", {plugin : plugin_names[i]});

Line 5309 of linked script http://localhost/xinha/XinhaCore.js

editor.registerPlugins(plugin_names);

Line 104 of linked script http://localhost/he/default.js

xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);

Line 2694 of linked script http://localhost/xinha/XinhaCore.js

if (Xinha.loadPlugins(plugins, callbackIfNotReady))

Change History (6)

comment:1 Changed 10 years ago by jedi58

don't think it does in any version of Opera or Safari - neither did htmlArea

Safari didn't support contenteditable until 1.3 and I think Opera still doesn't

comment:2 Changed 10 years ago by ray

  • Summary changed from Editor does not come up under Opera 9.10 to Opera 9.10 support

rev [763] contained changes to move towards a support for opera 9.10.
Unfortunately they broke IE (throwing an error and mysteriously breaking the ContextMenu, see #972) while not even remotely enabling editing in Opera

I reverted changeset [736] in [764] because of the problems described above

comment:3 Changed 10 years ago by ray

rev [765]: restored the state of [763] with a fix for #972 (checking in IE for document.designMode returns true, but that's wrong for our purposes).

I also changed the alert in checkSupportedBrowsers() so that it now says that Opera is not yet supported, which is fact!

comment:4 Changed 9 years ago by ray

  • Component changed from Xinha Core to Browsers_Opera
  • Milestone set to 0.96
  • Owner gogo deleted

comment:5 Changed 9 years ago by ray

  • Component changed from Browsers_Opera to Xinha Core
  • Owner set to gogo
  • Type changed from defect to enhancement

comment:6 Changed 9 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Opera 9.10 support to Opera support

changeset:969 and changeset:970 introduce initial support for Opera.

9.2 should work marginally. 9.5 (currently beta) works a bit better.

It has problems largely with selections, and maintaining the cursor.

But I think it should be workable. ImageManager works, as does Linker, at least with a cursory look. Have not looked at other plugins.

Hey, it's better than nothing! Can't let Safari get all the glory :)

I think we will close this ticket as Xinha now has (some) Opera support, and can treat specific issues with Opera as thier own tickets.

Note: See TracTickets for help on using tickets.