Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
We can't automatically save/restore the listener and therefore developers needs to put the listeners to each LinkAnnotation back after the AnnotatedString is restored. To make the implementation easier and more efficient, we should consider adding some replace/edit methods.
Example of custom AnnotatedString saver that puts back the links interaction listeners after restoration: