How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
tinyMCE 4.0 custom button onclick no longer working
I don’t think the wrapper should be a problem, as long as the classes of the TD-elements are unique. Did you check the CSS output using FireBug (or Chrome Developer)? The client should be able to style it, like so .tinymce .table .table-header td {}
Not sure if this is a bug, but the behaviour is correct, or at least apparently intentional. a) There is only one dragDropUpload setting in the tinyMCEPreInit object, instead of one flag per editor. b) looking at class-wp-editor.php:139: if ( $set[‘drag_drop_upload’] ) { self::$drag_drop_upload = true; } so, if the setting is set to true … Read more
Change syntax styling of TinyMCE HTML Text Editor
You are in luck. There is a WordPress internal function for that. It’s the wp_editor function. The function does all the work for you. It enqueues the right scripts and style-sheets. Just pass the configuration you want. wp_editor(‘Enter your text here’, ‘editor_id_here’)
I dug this solution up, which adds meta to valid_children (untested): // Prevent TinyMCE from stripping out schema.org metadata // https://snipt.net/jamesw/prevent-tinymce-from-stripping-schemaorg-attributes-in-wordpress/ function schema_TinyMCE_init( $in ) { /** * Edit extended_valid_elements as needed. For syntax, see * http://www.tinymce.com/wiki.php/Configuration:valid_elements * * NOTE: Adding an element to extended_valid_elements will cause TinyMCE to ignore * default attributes for that … Read more
Open Insert/edit link popup
The general recommendation seems to be to downgrade TinyMCE Advanced to version 4.6.7. I just did this myself and it solved the problem. I needed to clean up the HTML of the affected tables by hand though. There’s a topic on the plugin’s support page with some other suggestions.
You could always disable them through css. E.g.: .mce-i-dashicon.dashicons-align-left { display: none; }