Closed moughxyz closed 5 years ago
Added a min-height to the text div so that it isn't 0 on Firefox when the div is empty.
<div className={ "content " + (this.state.noteEmpty ? "w-100" : "") }
contentEditable="true"
suppressContentEditableWarning="true"
ref={ this.content }
style={{ outline: "0px solid transparent", minHeight: "1em", wordWrap: "break-word" }}
onKeyDown={ this.onKeyDown.bind(this) }
onKeyUp={ this.onKeyUp.bind(this) }>
{ this.state.content }
</div>
Clicking inside the bullet yields no result.
Firefox 66.0.3