How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
How to protect parts of my code from TinyMCE modification when switching from text to visual mode?
I’d say the solution is to search through the Editor javascript code, and see how it handles the “tinymce” value in the fields array. Then just to change all links to the existing TinyMCE installation.
How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
TinyMCE strips breaks inside editor
tinyMCE 4.0 custom button onclick no longer working
How to customize the “Insert/edit link” popup box?
wp_editor in thickbox
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 {}
There is no way to add “placeholder” for TinyMCE, but you can set default content for newly created posts. All you need is just to hook default_content filter and return your formatted paragraphs: add_filter( ‘default_content’, ‘wpse8170_get_default_instructions’, 10, 2 ); function wpse8170_get_default_instructions( $content, WP_Post $post ) { if ( $post->post_type == ‘post’ ) { $content=”…. your … Read more
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