Please help. I have many refs in label and when user click on first ref how can i get ref text on main.py? I need python method which can get this ref text.
Label:
markup: True
text: "[ref=first ref]First ref[/ref] ,[ref=second ref]Second ref[/ref]"
on_ref_press: # here I need method that can return ref.text