File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export function MorphemeBox({
7373
7474 const editLabel = localizedStrings [ '%interlinearizer_tokenChip_editMorphemes%' ] . replace (
7575 '{token}' ,
76- token . surfaceText ,
76+ ( ) => token . surfaceText ,
7777 ) ;
7878
7979 return (
@@ -103,6 +103,7 @@ export function MorphemeBox({
103103 aria-label = { editLabel }
104104 className = { formClassName }
105105 style = { formStyle }
106+ tabIndex = { - 1 }
106107 type = "button"
107108 onClick = { ( e ) => {
108109 e . preventDefault ( ) ;
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ export function TokenChip({
414414 < button
415415 aria-label = { localizedStrings [
416416 '%interlinearizer_tokenChip_defineMorphemes%'
417- ] . replace ( '{token}' , token . surfaceText ) }
417+ ] . replace ( '{token}' , ( ) => token . surfaceText ) }
418418 className = { `tw:flex tw:flex-row tw:items-center tw:rounded tw:px-0.5 tw:font-mono tw:text-xs tw:italic tw:text-muted-foreground/50 tw:transition-colors${ disabled ? '' : ' tw:cursor-pointer tw:hover:bg-accent' } ` }
419419 tabIndex = { - 1 }
420420 type = "button"
You can’t perform that action at this time.
0 commit comments