Opened 9 years ago

Closed 9 years ago

#53 closed defect (invalid)

formatting does not work sometimes (timing issue?)

Reported by: anzenews Owned by: gogo
Priority: high Milestone:
Component: Xinha Core Version:
Severity: major Keywords: timing
Cc: mokhet@…

Description (last modified by gogo)

Sometimes when I fire up a page in FireFox? 1.0 (Linux) I get a Xinha editor that uses wrong formatting (not the one that I supply through config.pageStyleSheets). If I try to apply some formatting (justify center, formatblock,...) I get this error:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/xinha/htmlarea.js :: anonymous :: line 3005" data:no]
by execCommand(justifycenter)

If I refresh the page everything is back to normal again (sometimes - not always).

With multiple editors on the page it happens that some are working and some not.

Update: it looks as this only happens when I use TableOperations plugin.

I gave it a bit higher priority as I think it is quite an important issue...

Attachments (1)

.2 (0 bytes) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by anonymous

  • Cc mokhet@… added

comment:2 Changed 9 years ago by gogo

  • Description modified (diff)

This likely indicates that some other error has happened previous and Xinha has not completed initialization. Does anything else appear in the javascript console?

comment:3 Changed 9 years ago by gogo

  • Resolution set to invalid
  • Status changed from new to closed

No response, closing invalid, possibly isn't an issue any longer.

Changed 8 years ago by anonymous

Note: See TracTickets for help on using tickets.