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

TinyMCE - tools buttons are not enabling #60

Open
2 of 9 tasks
astezenkoMarkupus opened this issue Feb 8, 2024 · 0 comments
Open
2 of 9 tasks

TinyMCE - tools buttons are not enabling #60

astezenkoMarkupus opened this issue Feb 8, 2024 · 0 comments

Comments

@astezenkoMarkupus
Copy link

  • I've read and understood
    the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

CORE - TinyMACE tab - Buttons to remove
I have unchecked "Horizonta line" and "Text color", but I still can't see them in my ACF WYSIWYG editor.

Please describe what you expected to happen and why.

"Horizonta line" and "Text color" are enabled in my ACF WYSIWYG editor.

How can we reproduce this behavior?

  1. Go to CORE - TinyMACE tab - Buttons to remove.
  2. Uncheck "Horizonta line" and "Text color".
  3. Go to the page which has ACF WYSIWYG editor and see that these buttons are still missing.

Technical info

Maybe some other tools button are not enabling too, I didn't tried them all. Some are working fine, like Alignment buttons.
For the "Text color" I've added this code to my theme and it worked just fine:

    add_filter( 'acf/fields/wysiwyg/toolbars' , function( $toolbars ){
        array_unshift( $toolbars['Full'][1], 'forecolor' );
        return $toolbars;
    } );
  • WordPress version: 6.4.3
  • CORE version: 1.0.8
  • If relevant, which editor is affected (or editors):
  • Classic Editor
  • Gutenberg
  • Which browser is affected (or browsers):
  • IE11
  • Edge
  • Chrome
  • Firefox
  • Safari
  • Relevant plugins in case of a bug:
  • Tested with theme:
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

1 participant