Fix typo in examples/editor (#2350)
* Small typo prevented Markdown Editor example from working
This commit is contained in:
parent
eaa1c13664
commit
1aaa2ff568
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ var Editor = {
|
||||||
view: function() {
|
view: function() {
|
||||||
return [
|
return [
|
||||||
m("textarea.input", {
|
m("textarea.input", {
|
||||||
oninput: function (e) { state.update(e.traget.value) },
|
oninput: function (e) { state.update(e.target.value) },
|
||||||
value: state.text
|
value: state.text
|
||||||
}),
|
}),
|
||||||
m(".preview", m.trust(marked(state.text))),
|
m(".preview", m.trust(marked(state.text))),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue