πŸ‡ΊπŸ‡ΈUnited States @callinmullaney

Account created on 28 March 2013, about 11 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States callinmullaney

Thank you @Nigel Cunningham for bringing this to my attention! We had this fixed in 4.9.1 release on our github but wasn't pushed to Drupal. I updated the release and composer should be working for you now.

πŸ‡ΊπŸ‡ΈUnited States callinmullaney

Thank you for the quick response!

πŸ‡ΊπŸ‡ΈUnited States callinmullaney

@josue2591's patches works pretty well. However, I found that the horizontal toolbar still needs to be accounted for. The following CSS did the trick:

[data-fullscreen=fullscreeneditor] .ck .ck.ck-sticky-panel .ck-sticky-panel__content {
  top: 0 !important;
}

.toolbar-horizontal [data-fullscreen=fullscreeneditor].ck.ck-editor,
.toolbar-horizontal [data-fullscreen=fullscreeneditor] .ck .ck.ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky {
  top: var(--gin-toolbar-y-offset) !important;
}
  
[data-fullscreen=fullscreeneditor] .ck .ck.ck-editor__editable {
  max-height: 100%;
}

Note: The solution proposed in #8 does resolve the fullscreen bug reported in this issue. However, remove this top styling would then break the sticky offset happening when it is not in full screen. See attached screenshot for clarification.

πŸ‡ΊπŸ‡ΈUnited States callinmullaney

Thank you @Koustubh Dudhe and @generalredneck - I updated our d.o tags and linked 4.5.0 as our latest release which has D10 support.

πŸ‡ΊπŸ‡ΈUnited States callinmullaney

@hctom I think I'm having a similar issue to the one described above. The selected view modes are not available on the field edit page. There is a `View modes allowed to switch to` field that is set to required but there are no options to select any and the default value select list is empty and only says `-no-change-`.
Using the most recent version of Drupal 9.5.x and the latest version of the module you should be able to do the following to reproduce.
1. Create a paragraph with 3 view modes. default, custom_a, custom_b and make sure they are enabled for said paragraph.
2. Add the view_mode_switch field to the paragraph and select either all view modes or just the custom ones on the field_settings page.
3. On the following field_edit page the previously selected view_modes are not available in the default field value section. Attempting to save the field_settings page results in a drupal message of " View modes allowed to switch to field is required. "

Production build 0.69.0 2024