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

Modularising rash.js for being used in RAJE #87

Open essepuntato opened 7 years ago

essepuntato commented 7 years ago

The script "rash.js" must be modularised in order to call specific visualisation functions independently from the others in external applications (such as RAJE).

gspinaci commented 7 years ago

Update addHeaderHTML in order to reuse it from different container.

I.E. normally it's called from the html tag, but if an override is needed (RAJE with TinyMCE) it can be called from #raje_root. In this case, RAJE will update the existing header wrapped in #raje_root (without adding a new one).