Adding a layer on top of text

I am working on a kind of a document  editor with keywords.
each keyword is generated in the server on creation and its a random UUID which is not readable.

Then in the editor users have the option to use them and later generate from a form documents.

I would like to add a kind of a div above the text of the keywords that would only be visible for the users using the document and would not be saved to the document on the server side.

I thought of using html divs or something like this.
If anyone has done anything like this let me know


1 Reply

DS Dhanush Sekar Syncfusion Team September 19, 2024 03:55 PM UTC

Hi Noam,


At present, it is not possible to insert a div element above specific text. This is because the Document Editor renders content within a canvas element, and we do not have the capability to retrieve the position of particular text elements.


Regards,

Dhanush S


Loader.
Up arrow icon