• Resolved MNetto

    (@netto)


    Just a little feature request: Please add the “editor metabox” (new in 2.94) as an option to the admin settings. This would give admins better control over what clients/editors are allowed to use.

    In aspects of flexibility: Instead of disabling Photoswipe for the entire page/post, it would be better to have an option to disable it for each gallery/image individually.

    // Thank you for this great plugin and your support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Disabling for individual galleries or images is not possible since there is no way to add metadata to control that.

    A gallery is created by adding the shortcode [gallery] to a post or with the gallery block in Gutenberg – but this shortcode or the gallery block does not provide an option to add custom data for plugins.

    The same for images: there is no way to add additional metadata to an image which could be used to disable that single image to be used in a lightbox (edit: yes, in the HTML code you could add some custom data-attribute, but this would not be visible in TinyMCE and get lost as soon as one edits the image properties with the image property popup in TinyMCE).

    Even if I would add some global options like “disable for image 2 and 3 on post 35” or “disable for gallery 3 on post 17” the configuration would be quite cumbersome.

    I also don’t see the usecase why one gallery with linked images or one linked image on a page/post should not be displayed in the lightbox while all other galleries are. Do you have an example for that?

    About the metabox: I’ll add an option for this in the next update.

    • This reply was modified 4 years, 7 months ago by Arno Welzel. Reason: Clarification of image properties
    Thread Starter MNetto

    (@netto)

    Thanks for your explanation. Looking forward to the next update.

    The usecase for individual gallery/image setting could be indeed pretty rare.

    Plugin Author Arno Welzel

    (@awelzel)

    Release 2.96 contains an option to disable the editor meta box.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make editor metabox optional’ is closed to new replies.