Currently I work on application that requires HTML editing. I've managed to 
embed the editor into a window but I have some problems

1. Keyboard didn't work. nsIHTMLEditor provide me 
EditorKeyPress(nsIDOMKeyEvent* aKeyEvent) method but does it mean I have to 
create all editor related events manually and send them to nsIHTMLEditor 
manually?

2. I need to be able to insert a specific text or HTML string a specific mouse 
location. There is nice InsertHTML method, but I don't have a clue how to move 
the insertion point at specific coordinates location. Simply, this feature 
should perform something like drag/drop with a string

3. In netscape/mozilla's composer, double clicking on an item in editor brings 
up a nice property window. Is it possible to reuse this functionality in 
embedded HTML editor and how?

Any help is highly appreciated

-- 
--
Regards,
Waleri

Reply via email to