Hi!, currently, there is no way for a plugin to use localStorage. However we’ll keep this in mind for future updates.
For now, the only solution is to use the PluginData storage. If your “favorites” are associated with a File, you can save data directly in the root of the file using methods like:
It would be great to support localStorage per plugin. This would allow for a more seamless experience, especially for things like user preferences, favorites, or settings that should persist across different projects.