I am writing a plugin for the editor TinyMce. In the documentation for writing plugins, the example uses the method editor.insertContent(content); If you call this method, certain content will be inserted into the content at the cursor position. So this editor object somehow knows the position of the cursor in the document. And how can I just find out the position of the cursor? No one came across?
PS I tried console.log (editor); and look for methods there - did not find