How can Drafts be edited with JavaScript?
I would like to parse the text in a draft according to more complicated rules than what is currently possible with existing widgets, e.g. tm-edit-text-operation.
I have tried this.wiki.setText(…), but it doesn’t work.
What would be the easiest way to change the text field in a Draft Tiddler according to arbitrary rules?
Pekka