How to use newPosition(element, offset) in Google Document? -


i want place cursor @ beginning of new line after taken position :

var position = document.getcursor(); 

i tried use document.newposition(element, offset) don't know put in element , in offset, if me appreciate it.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -