I’m working on a plugin and want to understand how to call a function that transfers styles from local storage to the selected object.
Hello @Mykyta,
Are you looking for this:
const globalStyles = localStorage.getItem('cwicly-global-styles');
Or have I misunderstood the question?
That is, I need to define the currently active object and apply this function which will insert the styles from the local storage.