Don't use shorthand binding in textarea example (#3256)

pull/3276/head
craigglennie 5 years ago committed by Conduitry
parent b6e875ba03
commit 0a3818fb9b

@ -1,12 +1,12 @@
<script>
import marked from 'marked';
let value = `Some words are *italic*, some are **bold**`;
let text = `Some words are *italic*, some are **bold**`;
</script>
<style>
textarea { width: 100%; height: 200px; }
</style>
<textarea bind:value></textarea>
<textarea bind:value={text}></textarea>
{@html marked(value)}
{@html marked(text)}
Loading…
Cancel
Save