Skip to content

Hiding button options are missing #251

Closed

Description

@Kevin-Darty

Share button:
Yasqe showShareButton option is not recognized (documentation: yasqe-configuration)

Fullscreen button:
AFAIK there is no option to hide it

See

export interface Config extends Omit<EditorOptions, "extraKeys"> {

Custom solution:

.yasqe_fullscreenButton,
.yasqe_share {
  display:  none !important ;
}

Version:

"@matdata/yasqe": "^6.11.0",

Activity

  1. added a commit that references this issue on Oct 29, 2026
    342e5f0
  2. MathiasVDA commented on Oct 29, 2026

    @MathiasVDA
    Collaborator

    Thanks for reporting this, Kevin! You’re right: showShareButton was documented but never implemented, and the fullscreen button had no option at all. #252 adds both:

    new Yasgui(el, {
      yasqe: { showShareButton: false, showFullscreenButton: false },
    });
    

    They also hide the Share and Fullscreen items in the mobile menu and Ctrl+K search. F11 still toggles fullscreen. This will be in the next release; I'll publish it today.

  3. Kevin-Darty commented on Oct 29, 2026

    @Kevin-Darty
    Author

    Thanks for the quick fix and feature 👍
    It's working in version 6.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions