Can we able to add a text in jsoneditor on click event?

612 Views Asked by At

I have integrated jsoneditor in Angular, (npm here: https://www.npmjs.com/package/ng2-jsoneditor).

When a button is clicked I want to add text inside the editor where the cursor is positioned.

I am using jsoneditor in 'code' mode.

0

There are 0 best solutions below