You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
This consistently happens in Chrome (v42.0.2311.135) on Windows.
Go to http://mindmup.github.io/bootstrap-wysiwyg/
type in some text
select some of the text –> it is highlighted blue
while still holding down the mouse button, move the pointer out of the edit box
move the pointer –> more of the text is selected and highlighted blue
let go of the mouse button
click the U –> only the text up to where the pointer left the edit box is underlined
I fixed this in my code by binding the mouseup event to my parent div instead of to the contenteditable div. That way the current selection is saved even when the pointer is out of the edit box.
That is probably not a very good general solution though since you do not know what the parent div is going to be.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This consistently happens in Chrome (v42.0.2311.135) on Windows.
Go to http://mindmup.github.io/bootstrap-wysiwyg/
type in some text
select some of the text –> it is highlighted blue
while still holding down the mouse button, move the pointer out of the edit box
move the pointer –> more of the text is selected and highlighted blue
let go of the mouse button
click the U –> only the text up to where the pointer left the edit box is underlined
I fixed this in my code by binding the mouseup event to my parent div instead of to the contenteditable div. That way the current selection is saved even when the pointer is out of the edit box.
That is probably not a very good general solution though since you do not know what the parent div is going to be.
The text was updated successfully, but these errors were encountered: