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

Can't edit any text fields on Firefox #1

Open
bootmii opened this issue Mar 10, 2021 · 3 comments
Open

Can't edit any text fields on Firefox #1

bootmii opened this issue Mar 10, 2021 · 3 comments

Comments

@bootmii
Copy link

bootmii commented Mar 10, 2021

This is an issue with your code, it shouldn't depend on Chromium

@bootmii
Copy link
Author

bootmii commented Mar 10, 2021

The other issue, of course, is that hyphen, semicolon and equals sign won't work in live mode, but that one isn't your fault.

@bootmii
Copy link
Author

bootmii commented Mar 10, 2021

here's what it looks like on my end
image

@ellapollack
Copy link
Owner

Thanks for the bug report! I haven't supported Firefox because it doesn't support the contenteditable= "plaintext-only" setting for text input fields. Without this, browsers tend to play fast-and-loose with newline characters and do things like adding trailing newlines and inserting duplicate carriage return \r characters and sometimes using <br> instead of \n. But because the scale format relies on \n characters to delimit scale intervals, this behavior led to extra notes being added in the scale and extra characters being added to scale interval expressions.

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

2 participants