Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text editing moving to nested DIV #1577

Open
AndrewPixel opened this issue May 27, 2021 · 0 comments
Open

Text editing moving to nested DIV #1577

AndrewPixel opened this issue May 27, 2021 · 0 comments

Comments

@AndrewPixel
Copy link

I have some html which looks like this

This is some sample speech bubble text.

What happens is that if I select the text and start editing it all works well until I delete all the text. If I then press the backspace key once more the caret "moves" into the first DIV within DIV.handle. If you then start typing the text appears within DIV.handle. Unfortunately DIV.handle is a small button that displays off DIV.speech which allows you to drag the text box about the window.

Is there some way to keep text out of child DIVs of DIV.speech? That is, it should only always be in the root level of DIV.speech.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant