This is a script for Drafts.
let [loc, len] = editor.getSelectedLineRange(),
newStr = 'Hello World';
editor.setTextInRange(loc, len, newStr);
This is a script for Drafts.
let [loc, len] = editor.getSelectedLineRange(),
newStr = 'Hello World';
editor.setTextInRange(loc, len, newStr);