File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/outline-jump-nav/src Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,8 @@ export class OutlineJumpNav extends OutlineElement {
210210 anchor . id = `${ jump [ 0 ] } -jump` ;
211211 anchor . setAttribute ( 'href' , `#${ jump [ 0 ] } ` ) ;
212212 anchor . setAttribute ( 'aria-label' , `scroll to ${ jump [ 1 ] } ` ) ;
213+
214+ // insert your preferred string processing here
213215 anchor . innerText = jump [ 1 ] . toUpperCase ( ) ;
214216
215217 li . appendChild ( anchor ) ;
@@ -224,6 +226,8 @@ export class OutlineJumpNav extends OutlineElement {
224226 Object . entries ( this . jumps ) . forEach ( jump => {
225227 const option = document . createElement ( 'option' ) ;
226228 option . setAttribute ( 'value' , `${ jump [ 0 ] } ` ) ;
229+
230+ // insert your preferred string processing here
227231 option . innerText = `${ jump [ 1 ] } ` . toUpperCase ( ) ;
228232 this . select . appendChild ( option ) ;
229233 } ) ;
You can’t perform that action at this time.
0 commit comments