Expected behavior and actual behavior.
Elements with attributes "contenteditable" are not yet implemented in plusnew.
Please support this atttribute.
Steps to reproduce the problem.
<currentValue.Observer>{currentValueState =>
<span
key="newChip"
contenteditable="true"
onkeydown={(event) => {
// Prevent default line-breaks
if (event.key === 'Enter') {
event.preventDefault();
}
if (event.currentTarget !== null) {
const value = (event.currentTarget as HTMLDivElement).textContent;
if (value !== null) {
if (value.length > 0) {
currentValue.dispatch(value);
}
}
}
}}>
{currentValueState}
</span>
}</currentValue.Observer>
Specifications like the version of the project or browser version
"plusnew": "0.6.57",
Expected behavior and actual behavior.
Elements with attributes "contenteditable" are not yet implemented in plusnew.
Please support this atttribute.
Steps to reproduce the problem.
Specifications like the version of the project or browser version
"plusnew": "0.6.57",