Tag Info

New answers tagged

1

Turns out you have to have a <p> tag in the div to prevent that.


1

Well, I found the solution. Apparently this bug appeared after I made a system update. The reason why I did not connect this bug with a plugin update is because I did not write any new entries on the days after the update. After I deactivated ACF the issue was gone. Apparently the issue also disappears if one upgrades to ACF pro. You can read about it ...


-1

I had the same issue and I fixed by installing TinyMCE Advanced. After you install this plugin, you just go to the plugin settings and enable the option to stop removing tags and others.


0

This has solved my issue mysqli_query ($connection, "SET NAMES 'utf8'"); http://stackoverflow.com/questions/1707792/issue-with-utf-8-encoding-using-php-mysql


0

addMenuItem() adds to tinymce's toolbar, which isn't used by WP by default, and uses context to add to the particular (sub)menu. You're adding a MenuButton, and you can access the button through the editor's buttons array, keyed by the button name: add_action( 'admin_print_footer_scripts', function () { ?> <script type="text/javascript"> ...


0

That looks like it is an error due to TinyMCE (editorremov I believe) not being loaded yet. Either hook to the admin_footer action instead of admin_head (interestingly you have declared the in_footer option as true and it is still not working) or declare the editorremov dependency when enqueuing your script: wp_enqueue_script( 'features', plugin_dir_url( ...


2

Per this answer, the key to getting the styles to appear in the dropdown is to unset($settings['preview_styles']); add_filter( 'tiny_mce_before_init', 'fb_mce_before_init' ); function fb_mce_before_init( $settings ) { // customize as desired // unset the preview styles unset($settings['preview_styles']);` return $settings; }


0

My colleague (Talha) solved it. Some files in wp-include weren't uploaded properly because i was using FTP (Filezilla), I re uploaded the entire folder using cpanel and it worked!



Top 50 recent answers are included