You are not logged in.
Pages: 1
Hey,
I would like to write a plugin for Xinha. I have looked around and have not been able to find any documentation on it.
How do I create a new plugin that will function similar to InsertPicture?
I tried copying a plugin folder, but it caused xinha to crash without errors...
Any ideas?
Thanks,
David
Offline
Learn by example. You need to know (well) Javascript. Perhaps look at a simpler plugin first, SuperClean or CharCounter.
You mean to tell me their is *no* documentation anywhere for making plugins???
Offline
gogo wrote:Learn by example. You need to know (well) Javascript. Perhaps look at a simpler plugin first, SuperClean or CharCounter.
You mean to tell me their is *no* documentation anywhere for making plugins???
There is none. We don't have much in the way of user documentation, let alone API documentation. The code is commented though.
Making plugins is not really hard provided you can program in Javascript in an object oriented manner (if you cannot, then learn that first), just look at some of the small ones to get the idea, InsertWords (very simple), InsertSmiley, CharacterMap, BackgroundImage, and for a bit more look at SuperClean, and Linker.
James Sleeman
Offline
Hi dlublink.
I found looking at the code for the 'Quick Tag Editor' Plugin was a fairly easy way to understand plugins. Take a look at it and I'm sure you'll be well on your way within minutes.
Offline
Hi dlublink.
I found looking at the code for the 'Quick Tag Editor' Plugin was a fairly easy way to understand plugins. Take a look at it and I'm sure you'll be well on your way within minutes.
I have 2 years experience in java and 2 hours in javascript. I manged to use InsertPicture to do what I needed.
Thanks for the help,
David
Offline
Pages: 1