Closed tienpv222 closed 3 years ago
I did some digging and found the -moz-user-modify
custom property of Firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/user-modify
I tried using it with the revert
value without success, but setting it with read-write
works:
:where([contenteditable]) {
-moz-user-modify: read-write;
}
I am not sure this is the property that causes the bug though, since -moz-user-modify: revert;
does nothing. Also I did not test this thoroughly.
The MDN doc states:
Warning: This property has been replaced by the contenteditable attribute.
Updated in the new version 1.4.1
Thanks for the update!
Reproduce: https://codepen.io/pynnl/pen/VwzOLpx
Tested on:
It works fine on Chrome. However on Firefox, the caret is invisible although the element is still editable.