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

RESOLVED WORKSFORME

Status

Calendar
General
RESOLVED WORKSFORME
8 years ago
8 years ago

People

(Reporter: Vasily, Unassigned)

Tracking

Details

(Reporter)

Description

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.