docs: Tutorial body had <svelte:body /> even though <svelte:document /> was the subject (#8396)

pull/8402/head
Cavit Ertuğrul Sırt 2 years ago committed by GitHub
parent 33065aa1e6
commit 7e9e78b37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@
const handleSelectionChange = (e) => selection = document.getSelection(); const handleSelectionChange = (e) => selection = document.getSelection();
</script> </script>
<svelte:body /> <svelte:document />
<p>Select this text to fire events</p> <p>Select this text to fire events</p>
<p>Selection: {selection}</p> <p>Selection: {selection}</p>

Loading…
Cancel
Save