chapbook icon indicating copy to clipboard operation
chapbook copied to clipboard

Custom style isn't applied on browser refresh

Open klembot opened this issue 6 months ago • 2 comments

Describe the bug Reloading a story doesn't re-apply custom styles correctly.

To Reproduce Create a story with this:

config.style.googleFont: '<link href="https://fonts.googleapis.com/css?family=Audiowide" rel="stylesheet">'
config.style.page.font: 'AudioWide 32'
config.style.dark.page.color: 'yellow-2'
config.style.dark.page.link.color: 'red-4'
--
This text should be yellow!

[[This link should be red!->CLICK ME]]

Play it and then refresh the browser. It should now show default styles.

This doesn't happen in test mode or in local dev.

Expected behavior Should retain custom style.

Stories and screenshots n/a

Environment All

Additional context n/a

klembot avatar Aug 25 '24 02:08 klembot