It is possible:
AJS.$('.jeditor_inst') - returns an array of JEditor-enabled textareas
AJS.$('.jeditor_inst').value - returns the value of the first instance in the array
AJS.$('.jeditor_inst[name="description"]').val() - returns value of the Description field
We have shipped a preview build: http://jiraeditor.com/builds/jeditor-184.108.40.206.jar.
After installation you can use the following functions to get and set value of JEditor instance:
jeditorGetData( fieldname )
jeditorSetData( fieldName, data )
Parameter fieldName here is name of field. For the Description field fieldName would be "description", for the Comment field it would be "comment". For custom fields you need to pass "customfield_id" as fieldName instead of label. For example:
It started as any story starts, on a normal, rainy day. Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs