rash icon indicating copy to clipboard operation
rash copied to clipboard

Storing RASH documents via browser

Open essepuntato opened this issue 7 years ago • 1 comments

By using the Core layer of RAJE (i.e. by opening a RASH document that includes the editor script with a browser) it should be possible to save the RASH document edited by means of the usual save button of the browser. There are two possible alternatives (in order of preference):

  1. we store the RASH_source HTML by intercepting the save event in the browser and by subtituting the HTML page visualised with the RASH_source;
  2. we store the RASH_view (which is visualised) adding a meta tag saying explicitly that the HTML document is a RASH_view file.

In the latter case, RAJE core is expected to recognise the RASH_view file, and to convert it back as a RASH_source (storing it in an appropriate variable). If this option will be chosen, then it should result in appropriately extending ROCS so as to handle the case of submitting RASH_view documents.

essepuntato avatar Apr 28 '17 13:04 essepuntato