Thanks for the provided details. I will try to answer the questions in the order they have been asked:
- If my understanding is correct, the goal is to insert a custom tag inside the Editor. This however is not supported at the moment and there is no workaround with the current API. It is important to note that when the Editor encounters an unsupported tag(which is set through the [value] input or otherwise), this tag is removed along with all of its contents.
- Currently the Editor does not provide any way of retrieving the cursor position. However based on this StackOverflow thread I have created a sample StackBlitz app which shows how to get the cursor position - https://stackblitz.com/edit/angular-rfudnb?file=app/app.component.ts.
If having any of these features as built-in is important for you, please consider submitting a feature request on our Feedback Portal:
We keep a close eye on it as it is one of our main indicators on what is in high demand. When a feature is highly requested, we adjust our priorities and work accordingly so it gets developed faster.
I hope this helps. Please let me know if further assistance is needed.
Progress is here for your business, like always. Read more
about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.