Allow user to choose 'Visual inline' display view mode

Created on 30 May 2019, over 5 years ago
Updated 25 April 2024, 5 months ago

Problem/Motivation

The 'visual inline mode' when comparing two revisions of a node displays the default template instead of the full template.

e.g. node--default.html.twig instead of node--full.html.twig

The default view mode in Drupal is "full" even if full is not enabled.
See https://www.drupal.org/project/drupal/issues/2844203 🌱 Improve/Simplify situation around Default/Full view modes/view displays Active for the Default/Full view modes issue.

Proposed resolution

The getViewModeOptionsByBundle() and related methods returns the wrong data.
As a workaround for D8, is to allow choosing the view modes.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Kirst25

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

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