Allow content creators to preview exactly how content will appear on the site after it's saved

Created on 6 September 2014, over 10 years ago
Updated 28 March 2025, 12 days ago

Problem/Motivation

#1510544: Allow to preview content in an actual live environment β†’ greatly improved Drupal's content preview ability.

However, as pointed out in #1510544-131: Allow to preview content in an actual live environment β†’ and other comments, it's still not a completely accurate preview. Because the previewed content isn't actually saved anywhere, when you go to the new "full page" preview in Drupal 8, you won't see new menu items that were created for the content, it won't appear in views that it's supposed to appear in after it's saved, etc.

Proposed resolution

Change the "preview" functionality so that it actually works on saved drafts only (whether those are intentionally saved by the content creator via a "Save draft and preview" button or something more complicated involving autosave is TBD).

Use the forward-draft revision system so that a draft can still be saved in this instance when someone is editing already published content.

Modify Views and other systems to be able to treat these saved drafts as the actual published content, only in the case of a content creator who is viewing the site in "preview" mode.

Remaining tasks

All of them :)

User interface changes

No gigantic ones, but a few small ones likely as mentioned above.

API changes

Probably....

✨ Feature request
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

entity system

Created by

πŸ‡ΊπŸ‡ΈUnited States David_Rothstein

Live updates comments and jobs are added and updated live.
  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for sharing your idea for improving Drupal.

    We are working to decide if this proposal meets the Criteria for evaluating proposed changes. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or there is no community support. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • πŸ‡¬πŸ‡§United Kingdom catch

    Workspaces in core actually provides this functionality now wholesale.

    The remaining bits are πŸ“Œ Allow for / implement simplified content workflow with workspaces Active and πŸ“Œ Rewrite the node preview functionality on top of workspaces Postponed: needs info , so we can safely close this one as outdated.

Production build 0.71.5 2024