I'm having trouble figuring out how I'm going to be able to insert a word when click on it from the context menu, my code is this : public items: component.ts
<html>
<a> any[] = [
{
text: "hello",
items: [{ text: "Item1.1" }, { text: "Item1.2" }],
},
{
text: "Item2",
},
{
text: "hello2",
}] </a></html>
I wanted, for example, to press hello2 and it would write where I clicked with the mouse.