There is an existing WordPress plugin that does this http://wordpress.org/extend/plugins/tinymce-templates/
Related Posts:
- How i can i add a split button or list box to the WordPress TinyMCE instance
- TinyMCE Anchor Button not showing
- Add Shortcode inline inside Gutenberg block
- Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor
- Using post ID in custom tinyMCE button
- Customising the WordPress TinyMce editor and it’s buttons
- Deprecated TinyMCE API call: windowManager.createInstance(..)
- wordpress 3.5 tinymce height
- How can I control the HTML output of my post?
- TinyMCE Plugin Parameter
- TinyMce in WordPress – Getting the “fullscreen” button to stay on the right when customising button layout
- TinyMCE – Add button that changes direction of selected text
- Add a select a class dropdown in tinymce
- TinyMCE Visual Blocks plugin set Show blocks option for all users
- TinyMCE Editor change underline button behavior – u tag instead of span text-decoration underline
- TinyMCE custom plugin, how to make a word automatically selected based on current cursor position?
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Customer Support: TinyMCE stopped working (on some computers)
- Front-end image upload from TinyME [closed]
- How to disable TinyMce’s Paste plugin from turning image URLs into embedded ?
- TinyMCE Advances is removing blanks (” “)
- How to modify VisualComposer’s TinyMCE editor only for a specific shortcode
- mce_external_languages: how does it really work?
- tinymce modal and I18n strings methods
- Get the More QuickTag button back
- prevent caching during tinymce custom button development
- Add custom classes to TinyMCE generated markup
- How to add “Insert/Edit link” button in custom popup tinymce window?
- How to disable TinyMCE from removing span tags
- WordPress automatically adding ” “?
- How to get the input of a TinyMCE editor when using on the front-end?
- Enqueue Script After TinyMCE initialized
- Unable to add “code” button to TinyMCE toolbar
- WordPress 3.2 has broken my TinyMCE code
- wp_editor disable after reaching character count limit
- Is it possible to re-use the image details popup?
- Visual Tab Missing From Editor
- How to use the new Dashicons for custom TinyMCE buttons?
- HTML5, WordPress and Tiny MCE issue – wrapping anchor tag around div results in funky output
- How to disable TinyMCE 4 keyboard shortcuts
- Tiny MCE not adding p tag when saving theme option
- How to add TinyMCE keyboard shortcut
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- WordPress MultiSite Paste from Word Tool Does not work
- data-accordion removed in Visual Editor
- Adding TinyMCE custom buttons when using teeny_mce_before_init
- Remove quicktag buttons but not Visual / Text editor and tabs
- TinyMCE removes iframe attributes width and height
- WordPress tinymce prints empty P tag and break html format
- Append Font Family in TinyMCE
- Disabling TinyMCE keyboard shortcuts altogether
- Bridge WordPress Media API with custom tinyMCE plugin [closed]
- tinyMCE duplicates previous block element when pressing return (visual editor)
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Enable Visual Editor In Comments On CPT Edit Page
- TinyMCE Editor removing and and putting instead
- Add TinyMCE editor to windowManager textbox
- Added custom styles to Visual Editor. Classes are appended and not replaced as intended
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- How can I enable a TINYMCE rich text editor in the admin interface?
- Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End
- How to reset ‘Advance’ tab on table property?
- Add a TinyMCE Core Plugin Using tiny_mce_before_init
- Fontawesome icon vanishes in editor while switching text and visual mode
- editor text cut off when using 2 spaces (after periods)
- How does WordPress remember which editor is being used?
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Advanced tinyMCE insert link error [closed]
- Is it possible to disable the image alignment options in the post editor?
- How to prevent shortcode preview from breaking in tinymce editor?
- tinyMCE 4.0 custom button onclick no longer working
- Custom TinyMCE Editor Formats in Dropdown
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- Can I disable `wp-tinymce.php` load as script?
- wp_editor – Media uploader button to tinymce
- Removing tags around tags
- Editor html formatting is different from view source
- WordPress no longer holding post formatting
- HTML formatting issues when switching between editor tabs
- Stop editor from adding “amp;” after every “&”
- TinyMCE not loading in IE8
- How to close tinymce inline popup
- enable TinyMCE for comment forms
- TinyMCE – Insert media at the beginning of post
- Best Browser for Editing Posts
- Adding a Media Button to the WordPress Content Editor
- Error in backend: Failed to load plugin: tabfocus from url
- Changing code with ( ) when author updates their post (TinyMCE)
- Adding a class to custom TinyMCE button using WPLinks dialog box
- TinyMCE how to add css when inputing a text
- How to force wp excerpt to use br tag?
- TinyMCE errors after 3.7.1 to 3.9.1 upgrade
- WordPress WYSIWYG editor on demand, responsive
- Make videos output as iframes not links
- How to insert image from link in TinyMCE
- Tinymce broken after update
- Problem with Line spacing in wysiwyg editor in WP 3.5.1
- get backend to front end
- wp_insert_post() dont post content like i need it :(
- Why did my get mangled, and how can I keep from happening again?