Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

br tag is inserted after completly deleting the node name #80

Open
tim-krieger opened this issue Jun 7, 2020 · 5 comments
Open

br tag is inserted after completly deleting the node name #80

tim-krieger opened this issue Jun 7, 2020 · 5 comments

Comments

@tim-krieger
Copy link
Contributor

tim-krieger commented Jun 7, 2020

If you enter a new name for the root node, it is usually displayed in the tab.
But with Chrome (mobile, iPad) and Safari <br> is added to the new name. This happens only after completly deleting the text in the contenteditable div.

@tim-krieger
Copy link
Contributor Author

And this might be a solution for this issue.

@tim-krieger tim-krieger changed the title Wrong name (root node) after replacing br tag is inserted after completly deleting the node name Jun 8, 2020
@tim-krieger
Copy link
Contributor Author

Since different browsers show different behavior here, it might be best to remove html tags completely from the tab.

@cedoor
Copy link
Owner

cedoor commented Jun 12, 2020

Hi @tim-krieger,
I tried Chrome on mobile but I can't reproduce this error. Do you see the tag <br> in the name of the tab?

@tim-krieger
Copy link
Contributor Author

Yes. The bug affects only chrome or safari on iPad.

@cedoor
Copy link
Owner

cedoor commented Jun 12, 2020

Ok, even on Firefox with linux. Thanks! The bug to be solved (with #81) is on mmp library, I'm working on it these days.

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

No branches or pull requests

2 participants