Dear experts,
I am currently working on a WYSIWYG web editor.
The problem i ran into is a little complicated.
When I select a section of text and click on something on my tools, the command works but immediately the text becomes unselected.
Just like when we select text in any webpage, when we click on something else, the text becomes unselected and everything returns to normal.
Is there a way to suppress the mouse clicks when a text is already selected so that the text will remain selected?
Thanks in advance.