You are not logged in.
Hi folks
I'm working on my plug-in... but I've three problem:
(sorry for my english!)
1) many things in Xinha are done very well.. So I want handler only few cases and left others cases to Xinha...
Example:
if "nothing is selected" do my code;
else if "an image is selected" call original Xinha dialog.....
I've tried to do something like : myEditor._insertImage
but it doesn't work... no error, but the dialog doesn't come...
Can you help me??
2) Now I've two button for handler image.... my plug-in and Xinha _insertImage plug-in....
If i do a doubleClick on image... insertImage is called....
Can I link dClick on my plugIn???
3) the last question...
I like put only my plugin in the toolbar (and use the Xinha plug-in power... 1st question docet)
but I've noticed that if I don't put 'insertImage' in the toolbar, and do a dClick on an image, I get an error: this._insertImage is not a function
So.. I can't use _insertImage if its button is not in toolbar??
ok... it's all...
thanks again!!!
byezzzzz
Offline
I answer myself....
question 1.
Yes.. is possible.... ----> myEditor.execCommand("insertimage");
thanks google!!
byezzzz
Offline
Seems you have solved your own problem, thats great.
[url=http://novablog.co.cc]Nova[/url] // [url=http://venomancer.co.cc]Venomancer[/url]
The future has already arrived. It's just not evenly distributed yet.
Offline
ohh.. yeah...
I'm happy for you :D
Offline