JCE Custom HTML
A simple example plugin for inserting a custom HTML string into JCE
Click here to download, or the Download Zip button on the right.
Install using the Joomla Extensions Installer - https://docs.joomla.org/Installing_an_extension
After installation, assign the plugin to an Editor Profile in Editor Profiles -> Features & Layout.
This plugin is intended as a jumping off point for creating your own simple JCE plugin. This example inserts a simple HTML string which is declared on line 8 of the plugin's editor_plugin.js file:
var html = '<span class="custom">Some HTML</span>'; ed.execCommand('mceInsertContent', false, html);
This string can be edited to insert your own HTML, or the plugin expanded through the addition of custom functions.