mcguffin / wp-rainbow-hilite

WordPress Plugin for syntax highlighting with rainbow js
https://wordpress.org/plugins/wp-rainbow-hilite/
GNU General Public License v3.0
13 stars 1 forks source link

Edit options not showing up in MCE - ACF? #2

Open millerpils opened 10 years ago

millerpils commented 10 years ago

Hi guys,

We use ACF on our site and it is my understanding that it may control the MCE editor in some way. I've installed the Rainbow plugin and I'm eager to use it but can't because the edit options don't show up - I just get the bog standard default.

Any ideas?

screen shot 2014-10-09 at 09 49 22

mcguffin commented 10 years ago

This is strange. I tested it together with ACF (both free and pro) and it works. Can you see any script errors? Do you use script minification? (Which one?)

BTW: The MCE toolbar should look like this: xxx

millerpils commented 10 years ago

Thanks for your swift reply.

No script errors at all. I can see it going off to fetch the Rainbow JS and CSS without any problems. No minification going on to my knowledge.

millerpils commented 10 years ago

Take a look in the ACF wysiwyg.php @mcguffin.

/plugins/acf/core/fields/wysiwyg.php

There seems to be some filtering in there?

mcguffin commented 10 years ago

Yes, mce_buttons_2 is filtered just the same way wordpress is doing it. This is the filter I use to add the code controls. As I said before: for me it works perfect together with ACF. Does wp-rainbow-mce.min.js get loaded?

millerpils commented 10 years ago

Ok. It does indeed.

mcguffin commented 10 years ago

Any other MCE related plugins running? (Like shortcode buttons, customization tools and alike) Does it work with ACF switched off?

millerpils commented 10 years ago

Nothing else running but interestingly deactivating all ACF makes no difference...

mcguffin commented 9 years ago

Okay, I'm helpless. Besides "fatigue of material" there is nothing I can guess. The question is, what makes your specific WordPress installation so different from a standard install?