If a file was open in reading mode while trying to grab a recipe (e.g. Editor > Default view for new tabs is set to "Reading view"), Recipe Grabber would fail silently and leave the document blank.
This adds a case for this, in which case it simply appends to the file using the Vault API, rather than trying to manipulate the editor itself.
If a file was open in reading mode while trying to grab a recipe (e.g.
Editor > Default view for new tabs
is set to "Reading view"), Recipe Grabber would fail silently and leave the document blank.This adds a case for this, in which case it simply appends to the file using the Vault API, rather than trying to manipulate the editor itself.
Fixes #29