This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TinyMCE Span

Description

Use span tags in posts to style in-line elements like <span>some text like this</span> in the WordPress Visual Editor via. Adds an [SPA] button to the editor. Span CSS can be edited at Dashboard > Settings TineMCE Span.

This is useful for quickly highlighting text, adding preformatted borders around text and giving text a preformatted style. The plugin’s backend admin panel makes it easy to edit the CSS class TinyMCE Span uses.

Plugin activation adds an [SPA] button to the Visual Editor. Clicking it opens a popup text box into which you can place the text you want add your preformatted styling to. No need to worry about subsequent text being accidentally written into the span tags as happens with WordPress citation and quote tags. TinyMCE Span adds a space character after the closing span tag to prevent it.

Effortlessly edit the CSS file used by TinyMCE Span. It comes with a backend editor for it.

This plugin is multisite safe. It has been tested for both network wide activation and deactivation as well as for site-by-site activation and deactivation. Each site gets its own prettyspan class CSS file.

TinyMCE editor has also been tested on development versions of WordPress (WP 3.3 is looking good!).

Supported Languages

  • English

Credits

This plugin is a heavily hacked version of TinyMCE Preformatted by Takayuki Miyauchi.

License

GPL 3. Read license.txt.

This plugin is supplied as-is and comes with no guarantee. Use of this plugin is at the user’s discretion.

Contact

Support

Screenshots

  • Admin Area.
  • Visual Editor.

FAQ

Is this plugin multisite compatible?

Yes. Each site creates its own unique prettyspan.css file.

Does this plugin use the WordPress database?

No. The files created are real and hosted on the site’s server. This is more secure than using the database and makes the generated CSS quicker to load.

Can I make a feature request?

Yes you can. I don’t monitor the WordPress forums often enough to catch requests posted there. Please visit me at the plugin’s homepage to make your request. I will do what I can.

Can I donate to you?

Definitely! 😀

WordPress and web development is my livelihood. I do accept donations but I prefer good ol’ backlinks and word-of-mouth recommendations to potential clients. Visit me at WP ServiceMasters to learn more about what I do.

Changelog

1.2

  • Removed hard coding of wp-content directory. This will ensure the plugin works when the wp-content directory is renamed.
  • Various changes to the backend. Version 1.3 will be visual.
  • Added a CSS subdirectory to the plugin folder to house generated CSS files.
  • Edited the readme file
  • Updated the user license (GPL 3)

1.1

  • Corrected a function name to prevent conflicts with other plugins.
  • Corrected a typo in the Admin backend.

1.0

  • First public release.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Browse the code