This file provides a function for initiating the download of a file, plus a Dialog component for initiating the upload of a file.
Source
Classes
Members
staticconstant
downloadFile
Immediately initiates the download of the contents of the Lurch document stored in the given TinyMCE editor. Technically, it creates an invisible link that would initiate the download, clicks that link, and then discards it.
If a filename is not provided, it is lifted from the document, and if none is there, a default one is provided.