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

Feature Request: Allow disabling of Icon Chooser #139

Open
mlwilkerson opened this issue Aug 7, 2021 · 3 comments
Open

Feature Request: Allow disabling of Icon Chooser #139

mlwilkerson opened this issue Aug 7, 2021 · 3 comments

Comments

@mlwilkerson
Copy link
Member

From the support forum:

In the new version, as noted in this thread there’s now an Add Font Awesome button that shows up on the post edit screen.

Is it possible to remove this? I’m fine with using a filter but as far as I can tell there doesn’t seem to be one. I’ve noticed the should_icon_chooser_be_enabled method, but it says it’s not part of the plugin’s public API.

@mlwilkerson
Copy link
Member Author

I think it would make sense to add a filter that defaults to true, but could be made false.

@mlwilkerson mlwilkerson changed the title Feature Request: Allow disabling of Icon Chooser media button on TinyMCE Feature Request: Allow disabling of Icon Chooser Aug 7, 2021
@mlwilkerson
Copy link
Member Author

Subsequent discussion on the support clarifies that the feature request is to be able to edit a page/post without the Icon Chooser loading at all. This would entail not just the button being absent, but also the JavaScript that powers the Icon Chooser not to be loaded either.

@jonathanstegall
Copy link

I'll keep an eye on this thread and if I get some time in the next few weeks I'll see if I can get a PR together.

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