This issues seems to have cropped up for me after a recent WordPress udpate (I'm on 4.9.9) as I haven't had issues before.
wp_editor on the front end using the following code:
$argswp = array( 'textarea_rows' => 10, 'teeny' => false, 'quicktags' => false, 'wpautop' => true, 'media_buttons' => false, 'tinymce' => array( 'theme_advanced_buttons1' => 'custom1', ), ); wp_editor( 'Write your content here...', 'postContent', $argswp ); ?>
I am now having issues that when a regular non-admin user logs in and sees this editor, some buttons don't show and others don't work. For example, selecting insert/edit link causes the page to scroll down but nothing happens, the "pop-up" box that usually appears doesn't work.
After going through all the network requests (once as admin and once as regular user) I can see that regular users are not getting the following
So I tried two things, I first tried to register and enqueue it in my php functions file and then I tried to add it directly to the html of the page as an external stylesheet link. This is the result for both:
The button is now working but they don't seem to be loading correctly now. Help is appreciated!