essepuntato / rash

Research Articles in Simplified HTML (RASH) Framework includes a markup language defined as a subset of HTML+RDF for writing scientific articles, and related tools to convert it into different formats, to extract data from it, etc.
https://w3id.org/people/essepuntato/papers/rash-peerj2016.html
ISC License
82 stars 24 forks source link

Storing RASH documents via browser #86

Open essepuntato opened 7 years ago

essepuntato commented 7 years ago

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.

gspinaci commented 7 years ago

Using Chrome All TinyMCE needed plugins aren't added in the result package