JSDOM - getting source location of a node with `nodeLocation(node)` // `parse5` lib helps to serialize and/or parse
By Sandy Halvorson at May 13 2021
JS - onclick function to insert text characters symbol into text input field or textarea at the cursor caret location position
By Clinton Robel at Mar 26 2022