Do not apply a background-color if "null" + allow 0 width #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's impossible to change the background-color via class because the inline color from style is always preferred. Differentiating "undefined" from "null" allow user to specify when they want no background color to be applied. Especially useful when using Tailwind, Bootstrap.
Also, allowing a 0 width should be possible, for instance to rely instead on borders to display the cursor.
Could use use
falseinstead ofnullhere? Making null and undefined do different things seems likely to trip people up.Yes that's a good idea, done.