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

Move cursor footnotes/references #105

Closed gspinaci closed 7 years ago

gspinaci commented 7 years ago
  1. Add new reference and footnote move caret to start of the new generated element in bottom page
  2. Refer to already existent reference move caret after the generated reference anchor
gspinaci commented 7 years ago

Reference done.

Moving "update content" functions outside from the adding methods, is now possible moving caret where we want to, using:

tinymce.activeEditor.selection.select(tinymce.activeEditor.dom.select(CSS3_SELECTOR)[0])
tinymce.activeEditor.selection.collapse(false)