We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When applying style (in this issue is foreground color) via applyStyle to the empty field and typing some text, text stays in default color.
applyStyle should be able to change style for the future editing.
window.addEventListener('DOMContentLoaded', function() { let field = document.createElement("math-field"); //field.value = '2+2=4'; //uncommenting this causing applyStyle working field.addEventListener('mount', function(e){ field.applyStyle({color:'#ff0000'},{range:[0,-1]}); }); document.body.appendChild(field); });
The text was updated successfully, but these errors were encountered:
b4e1904
arnog
No branches or pull requests
Current behaviour.
When applying style (in this issue is foreground color) via applyStyle to the empty field and typing some text, text stays in default color.
Expected behaviour.
applyStyle should be able to change style for the future editing.
The text was updated successfully, but these errors were encountered: