Hi,
Following another forum member’s request (@mwest226 's request here: Pull CPP files (Online makecode.microbit.org) - #4 by bsiever), I did create an extension with blocks that can be used to save and restore text from flash: https://github.com/bsiever/microbit-pxt-flashstorage .
Here’s an example using it: https://makecode.microbit.org/S34893-47565-25042-23479 (I just put this example together and haven’t tested it on a micro:bit yet).
Bill