frex icon indicating copy to clipboard operation
frex copied to clipboard

Can't edit any text fields on Firefox

Open bootmii opened this issue 3 years ago • 3 comments

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

bootmii avatar Mar 10 '21 09:03 bootmii

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 avatar Mar 10 '21 10:03 bootmii

here's what it looks like on my end image

bootmii avatar Mar 10 '21 10:03 bootmii

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.

ellapollack avatar Mar 12 '21 01:03 ellapollack