Skip to content

Theme customizer#82

Merged
skrolikowski merged 5 commits intofusioncms:nightlyfrom
kaidesu:theme-customizer
Jul 1, 2020
Merged

Theme customizer#82
skrolikowski merged 5 commits intofusioncms:nightlyfrom
kaidesu:theme-customizer

Conversation

@kaidesu
Copy link
Contributor

@kaidesu kaidesu commented Jul 1, 2020

What does this implement or fix?

Refactored the way the theme customizer displays previews. Instead of sending theme option values within the URL query string, it now makes a POST request to the customize endpoint, which then forwards the request to the desired page. It then takes the content of the request and replaces the contents of the iFrame, effectively updating the preview without any reloads 👍

  • Added new helper function theme_preview to determine if the current request is in preview mode due to customizing

Does this close any currently open issues?

Screenshots

Screen Shot 2020-07-01 at 1 47 01 PM

  • All javascript/scss resources are compiled for production

@skrolikowski skrolikowski merged commit 288e5ee into fusioncms:nightly Jul 1, 2020
@kaidesu kaidesu deleted the theme-customizer branch July 2, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Theme Customizer

2 participants