mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
refs https://github.com/TryGhost/Team/issues/1097 - added `customThemeSettingKeys` as an argument to `preview.handle()` because we can't know which keys should be allowed through up-front - added `custom` as a supported setting in the preview header data - `custom` should be a JSON object containing any custom theme settings - we parse the object but only set properties on `@custom` that are known custom theme setting keys - if parsing fails or it's not an object then no custom data is set - updated `updateLocalTemplateOptions()` to pull `.custom` off of the preview data and pass it through so it's accessible on `@custom` as an override to the saved custom data |
||
---|---|---|
.. | ||
apps | ||
auth | ||
mega | ||
members | ||
notifications | ||
permissions | ||
routing | ||
rss | ||
settings | ||
sitemap | ||
theme-engine | ||
themes | ||
url | ||
labs.test.js | ||
slack.test.js | ||
xmlrpc.test.js |