Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Help Icon In the Editor Window #209

Open
BoopathySrinivasan opened this issue Jun 2, 2020 · 1 comment
Open

Hide Help Icon In the Editor Window #209

BoopathySrinivasan opened this issue Jun 2, 2020 · 1 comment

Comments

@BoopathySrinivasan
Copy link

We try to hide the help icon inside the editor window . Is it possible to hide that icon?

@BoopathySrinivasan BoopathySrinivasan changed the title HIde Help Icon In the Editor Window Hide Help Icon In the Editor Window Jun 2, 2020
@MarineLohezic
Copy link

MarineLohezic commented Oct 15, 2020

Hi,

I did that by adding :

// Remove help buttons
    const toolboxes = Array.from(document.getElementsByClassName('highed-toolbox-bar-icon'));
    for (const toolbox of toolboxes) {
      (toolbox as HTMLElement).addEventListener('click', () => {
        const helpElement = document.getElementsByClassName('highed-toolbox-help');
        if (helpElement[0]) {
          helpElement[0].remove();
        }
      });
    }

(angular - DrawerEditor)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants