Move Preview controls to edit page

Created on 21 February 2023, almost 2 years ago
Updated 19 March 2023, over 1 year ago

Problem/Motivation

During our original planning we talked about moving the preview controls into the node edit page to allow the preview to stand alone without any additional influence / actions. In thinking about ✨ [meta] Address accessibility concerns Active , this solution might also assist us in accessibility. If all controls were navigate-able my screen readers (in one place) then the ability to switch between edit pane and preview pane might be easier.

Right now (if I make the background of the preview bar a solid color) we get our best view of what controls are currently available for the preview page.

As you can see there's a "Back to content editing" link that we could modify to navigate a user back to the content editing portion of the page.

Recently, in ✨ Position the new iFrame so preview and edit are side by side Fixed , we modified the preview to appear in an off-canvas dialog. In addition to not needing to edit node-edit templates, it gives us new real estate dedicated to our preview feature. Perhaps there's a way to move preview controls into dialog.

Proposed resolution

Discuss how we can display preview controls that provide:

  1. The ability to get back to the content editing part of the page.
  2. The ability to switch view modes.

We'll likely run into modifications to the default node preview form and it's ajax driven controls.

Remaining tasks

Discuss and plan

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cosmicdreams Minneapolis/St. Paul

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

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.

Production build 0.71.5 2024