What is the best way to write to the notes field of a flag? I am writing a plugin that when a post/user is flagged it will send the information to a ticketing system and return a ticket id. I want to write that ID to the flag and close the flag.
I just made my first plugin (yay me) and Im happy enough with it, except for one thing.
Right now Im adding a script tag to the page using the Custom HTML & CSS, which works but is rather bleh.
Id like to be able to inject it from code in the plugin some how, so the user doesnt have to add that stuff to the custom html.
The script tag links to the dropbox dropin api stuff, so it wouldnt be a good idea to down it and link locally.
I put it on Github incase that helps....
...if you wanna see it working its on c9.....
OH, and its a button for composer that allows you to pick a file from github using its chooser dropin and add its link to the post.