I have one scenario where we select the text and a small popup opens for color selection and I have appended this popup at the end of the HTML, now the problem is when I'm going to extend my selection and if that popup is in between that selection the end cursor goes to the end of the HTML because my selection counts the popup HTML, so anyhow can I skip this or avoid for the selection although I'm using user-select property It will avoid the color markup selection but not in the actual selection