I am aware of the following items for ckeditor:
.setData('text')
.destroy(true)
.replace(instance)
When I use .detroy and .replace it does what is needed however config gets destroyed so it isn't useful. The easiest way I have found is using .setData('') on the instance however this will not work if I run it twice in a row. I.E. .setData('') then .setData('text'). My goal is to have it reset the form inside a function called clearform. I have a workaround but I would like to do this in a single like currently i simply have it setup that if the instance has nothing in it to be run it simply makes it blank otherwise it will push the new data in. This is run in a seperate function outside clearform and would like everything that works to clear the forms of data to be in one function.