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
I'll post the download link here as soon as we have the preview build.
We have shipped a preview build: http://jiraeditor.com/builds/jeditor-126.96.36.199.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:
Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events