Injecting a new line from a chrome extension

Hello, we are currently creating a code linter for zoho creator deluge* we would like to be able to insert a new line dynamically from an external source which is a chrome extension,
For the moment codemirror is not included in CDN and the CodeMirror object does not exist, do you have a solution to successfully insert a new line with text from this extension?

There’s no easy way to access the editor API from code that’s injected into the page and not part of the system that set up the editor. You could try manipulating the editable DOM, but that may get messy.

1 Like

Hi, Can you provide an example of dynamically inserting a line from an external source which will be my extension