Skip to content
New issue

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

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

Already on GitHub? # 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)

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

No branches or pull requests

2 participants