I've been looking for documentation on plugin development, haven't found any. Does it exist? If not, is this something that's planned? I would be willing to contribute.
I posted a question on the forums that I'll repost here:
Looking at some of the example we have API.addInsertions, API.addEvents, and API.addModifiers
When to use which?
In the following code we see addInsertion with 'customCommentsCode' as the first argument, where :
I've been looking for documentation on plugin development, haven't found any. Does it exist? If not, is this something that's planned? I would be willing to contribute.
I posted a question on the forums that I'll repost here:
Looking at some of the example we have API.addInsertions, API.addEvents, and API.addModifiers
When to use which?
In the following code we see
addInsertion
with 'customCommentsCode' as the first argument, where :Some other examples:
The parameters to addInsertion are: place, callback, priority, pluginInstance
So above 'publiiHead' is a place
I guess one question is what/where are these places? Can we stick any value in there? etc...
The same goes for
addModifiers
this.API.addModifier('postText', this.addDecodingAttribute, 1, this);
In this code how do we know that 'postText' is a valid value, is there a list or something somewhere?
Thank you!