Skip to content

Commit 9e538f5

Browse files
committed
Fix input events on contentEditable
1 parent a8d455c commit 9e538f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Flame/HTML/Attribute/Event.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
exports.nodeValue_ = function (event) {
2+
if (event.target.contentEditable)
3+
return event.target.innerText;
4+
25
return event.target.value;
36
}
47

0 commit comments

Comments
 (0)