hello guys,
is there any way to get the last element of a selection?
I'm trying to add a icon just after the user selection. I've managed to use getStartElement() but it won't work if the user selects two or more paragraphs for example...
any help would be much appreciated
is there any way to get the last element of a selection?
I'm trying to add a icon just after the user selection. I've managed to use getStartElement() but it won't work if the user selects two or more paragraphs for example...
any help would be much appreciated
