Add WYSIWYG to Image Description field
Add WYSIWYG to Image Description field
Add WYSIWYG to Image Description field
I use a lot of CSS to manipulate things in the WP UI. I have this in a plugin – should work as expected. If you are already hooked into the admin CSS then bypass the filter. PHP add_filter (‘admin_enqueue_scripts’, array(&$this, ‘load_custom_wp_admin_style’ )); function load_custom_wp_admin_style() { echo ‘<style type=”text/css” rel=”stylesheet-default-admin”> @import url(‘.WPMSGC_URL.’/assets/css/default-admin.css);’ . $this->options[‘default_admin_css’] . … Read more
CKEditor: Uncaught TypeError: switchEditors.switchto is not a functiononclick
How can I get the post content displayed in a text field that allows to edit posts?
You may need to use the same approach that conditional editor stylesheets require now (for TinyMCE). function my_theme_add_editor_styles() { global $post; $post_type = get_post_type( $post->ID ); $editor_style=”editor-style-” . $post_type . ‘.css’; add_editor_style( $editor_style ); } add_action( ‘pre_get_posts’, ‘my_theme_add_editor_styles’ ); This snippet is from a Hongkiat article describing the process. Note: You would then have a … Read more
The quickfix: Copy the link into a text-editor and add a space before it. And then copy that new text (with the prefixed space) into whereever you want it.
Remove html markup by wordpress
The path in the editor is just for reference, most of the time users do not even bother looking at it and those that do use if to see what html tag there are in. Example: <p> This is just a sample paragraph </p> <span> This is just a sample span </span> <blockquote> This is … Read more
Look how I did it in my Meta Box Class: $editor_settings = array ( ‘textarea_rows’ => 8 , ‘media_buttons’ => FALSE , ‘teeny’ => TRUE , ‘tinymce’ => FALSE // a very minimal setup , ‘quicktags’ => array ( ‘buttons’ => ‘strong,em,link’ ) ); wp_editor( $content, $key, $editor_settings ); $content is the already saved content … Read more
The first few you listed are not WordPress specific, and information about them can be found as follows: inlinepopups tabfocus paste media fullscreen As for the WordPress specific plugins, their source code is here (trac). There are no comments, but here’s my take based on a very cursory read through: wordpress: seems to setup the … Read more