WYSIWYG widget

Black Studio TinyMCE Widget
https://wordpress.org/…ymce-widget/

This plugin adds a WYSIWYG text widget based on the standard TinyMCE WordPress visual editor. This is intended to overcome the limitations of the default WordPress text widget, so that you can visually add rich text contents to your sidebars, with no knowledge of HTML required.

Jak přidat tlačítko do HTML editoru

// Add buttons to html editor
add_action('admin_print_footer_scripts','eg_quicktags');
function eg_quicktags() {
?>
<script type="text/javascript" charset="utf-8">
/* Adding Quicktag buttons to the editor WordPress ver. 3.3 and above
* - Button HTML ID (required)
* - Button display, value="" attribute (required)
* - Opening Tag (required)
* - Closing Tag (required)
* - Access key, accesskey="" attribute for the button (optional)
* - Title, title="" attribute (optional)
* - Priority/position on bar, 1-9 = first, 11-19 = second, 21-29 = third, etc. (optional)
*/
QTags.addButton( 'eg_paragraph', 'p', '<p>', '</p>', 'p' );
QTags.addButton( 'eg_pre', 'pre','<pre lang="php">', '</pre>', 'q' );
</script>
<?php
}

Rich text editor (Tiny MCE) pro popisky tagů. rubrik a dalších taxonomií

The Rich Text Tags - A TinyMCE Editor for Tags, Categories, and Taxonomies
http://wordpress.org/…h-text-tags/

The Rich Text Tags Plugin allows you to edit tag descriptions, category descriptions, and taxonomy descriptions using WordPress' built in rich-text editor. Switch between WYSIWYG and HTML editing modes with the click of a link. Use the WordPress uploader to insert images from your computer or site's Media Library.

Use the WordPress functions tag_description() and category_descrip­tion() in your theme to show the descriptions. To learn how to show taxonomy descriptions, read more on the plugin page. Features

  • Edit term descriptions with WordPress's built-in WYSIWYG editor
  • Works with custom taxonomies (and custom post types, introduced in WP 3.0)
  • Now supports user biography fields!