Closed Bug 531517 Opened 15 years ago Closed 14 years ago

There are no possibility to add editor tag in any xul dialog.

Categories

(Calendar :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: divinebird, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.5) Gecko/20091105 Fedora/3.5.5-1.fc11 Firefox/3.5.5
Build Identifier: 0.9, 1.0b1pre, 1.1a1pre

When I create new extension or include in existing code in XUL editor element there is problem. I test different versions of sunbird and have have one this problem. Moreover I tested the Thunderbird on comm-1.9.1 and have this problem when open a letter. Letter dialog also has editor element.

Error in console
uncaught exception: 
[Exception... 
"Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]"
nsresult: "0x80004002 (NS_NOINTERFACE)"  
location: "JS frame :: chrome://global/content/bindings/editor.xml :: get_editingSession :: line 0"  
data: no]

Reproducible: Always

Steps to Reproduce:
1. Include somewhere editor element.
I've tested this by replacing the event dialog item-description with an editor and setting editor.content.designMode = "on". This seems to work for me using the latest 1.0b2pre nightlies.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.