mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
b8e2bb7b6d
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 |
||
---|---|---|
.. | ||
api-acceptance | ||
frontend-acceptance | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |