File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
import InputArea from ' ./InputArea.svelte'
7
7
import Tags from ' ./Tags.svelte'
8
8
import OutputArea from ' ./OutputArea.svelte'
9
- import { text } from ' svelte/internal' ;
10
9
11
10
let time = new Date ()
12
11
let hours = 0
79
78
}
80
79
81
80
function removeSpanByIndex(_ ) {
82
- markup .spans .splice (_ .detail , 1 )
83
- markup = markup
81
+ markup .spans .splice (_ .detail , 1 )
82
+ markup = markup
84
83
}
85
84
86
85
onMount (() => {
93
92
94
93
<div class =" header" >
95
94
<h1 >Put your text here</h1 >
95
+ <h5 >Select the text in</h5 >
96
96
97
97
{#if selectedTag == BIO .NEW }
98
98
<div class =" new-tag" >
105
105
{/if }
106
106
</div >
107
107
108
-
109
108
<InputArea bind:tag ={selectedTag } on:textChanged ={_ => markup = {... markup , text: _ .detail }} on:selectionChanged ={processSelection } bind:value ={markup .text }/>
110
109
111
110
{#if markup .spans .length }
You can’t perform that action at this time.
0 commit comments