Closed Chinna2405 closed 4 years ago
Hi, from the information you provided it's hard to understand your problem. Please give us more details and preferably a sample where we could reproduce the issue (for reference see #54).
Okay. I will explain below about my issue.
In my issue, I am trying to add some elements from the list outside the editor by clicking it. But when I typed my whole content in the editor and I chose a place where to insert the element which i am going to click is getting added in the next of whole content but i need to get that element in my cursor position where i have clicked the cursor.
I have tried but couldn't able to get the cursor position.
Please help me to fix the issue.
Thanks in Advance.
Thanks for giving more context, I'm starting to understand your issue, but still need something more, like at least screen or CodePen example. Also I wonder if this is anyhow connected to Angular? Because it seems irrelevant 🤔
I have found a way to insert the selected text in the editor.
this.editor.instance.insertText('selected text');
Thanks for spending your valuable time in this issue.
Are you reporting a feature request or a bug?
Provide detailed reproduction steps (if any)
Expected result
What is the expected result of the above steps?
Actual result
What is the actual result of the above steps?
Other details