Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Get CMS preview working for non inline-editable elements. #936

Merged
merged 1 commit into from
Jan 30, 2022

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Sep 28, 2021

Fixes #905. Depends on silverstripe/silverstripe-admin#1250

This was a feature in an earlier version of the module and most of the code is still in place.

Edit: While this technically depends on the PR from silverstripe-admin, it won't cause any defects if it does get merged in early, and merging it in even without that PR would make it easier for project-specific code to enable previews for elementals.

@emteknetnz
Copy link
Member

emteknetnz commented Jan 27, 2022

Have manually tested this, along with the following PRs

I've installed dnadesign/silverstripe-elemental-userforms which is a non-inline editable content block

Can confirm that split-mode updates as expected after clicking the "Save" button

image

@GuySartorelli you'll need to rebase this PR on top of 4 before this can be merged

Fixes silverstripe#905. Depends on silverstripe/silverstripe-admin#1250
This was a feature in an earlier version of the module and most of the code is still in place.
@GuySartorelli
Copy link
Member Author

@emteknetnz Rebased on 4. Thanks (and @michalkleiner too) for looking at this! It's great to see movement on these preview PRs.

@GuySartorelli
Copy link
Member Author

All of the upstream PRs this work depends on have been merged in.

@emteknetnz emteknetnz merged commit 5298524 into silverstripe:4 Jan 30, 2022
@GuySartorelli GuySartorelli deleted the fix/cms-preview branch January 30, 2022 23:28
menno-rdmkr pushed a commit to busting-bytes/silverstripe-elemental that referenced this pull request Dec 15, 2022
…rstripe#936)

Fixes silverstripe#905. Depends on silverstripe/silverstripe-admin#1250
This was a feature in an earlier version of the module and most of the code is still in place.
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.

CMS preview doesn't work for non-inline-editable blocks (hasn't for a while)
3 participants