| Body font | Header font | ||
|---|---|---|---|
![]() |
Q: How to I make a plugin?
Q: What happens when I install a plugin?
A: The system copies the document to your account.
Q: What happens when someone deletes a plugin?
A: Nothing; you should still be able to use it if you installed it. Installing a plugin creates a copy that they can upgrade. Use versions and a changelog to let them know when a plugin has been updated.
Q: How are upgrades handled?
A: Helipad checks the installed version against the original plugin and replaces the content.
Q: What pages are plugins executed on?
A: The dashboard, tag search, document edit and document preview pages.
Title and tags are derived from the document.
http://example.com/your_image.jpg</image>
<code><![CDATA[
/* CSS GOES HERE */
]]>
</code>
</theme>Title and tags are derived from the document. Use a tag called “code” to contain your JavaScript, and one called “style” to contain any CSS your plugin requires.
Set dependsOn to a page element your plugin depends on. For example, I used “document_source” to make sure the word count plugin only runs on the document edit/create pages.