Closed farling42 closed 1 year ago
Possiblywrapping TextEditor::getContentLink to intercept JournalEntryPage with a type of 'pdf'
Perhaps require holding down ALT, CTRL or SHIFT when dragging to trigger this.
JournalEntryPage.prototype.link() creates the actual string.
When #9 is implemented, prefer to use the CODE (if defined) rather than the NAME in the link.
Implemented in V0.9.0
Intercept a drop of a JournalEntryPage that contains a PDF to create a
@PDF
link instead of the usual@UUID
link.The created link should be like
@PDF[${codeOrName}|page=1]{${pdfData.name}}