Version Description
Download this release
Release Info
Developer | miyauchi |
Plugin | TinyMCE Templates |
Version | 4.7.0 |
Comparing to | |
See all releases |
Code changes from version 4.4.3 to 4.7.0
- js/tinymce-templates.js +1 -1
- readme.txt +2 -2
- tinymce-templates.php +2 -2
js/tinymce-templates.js
CHANGED
@@ -8,7 +8,7 @@ var tinymceTemplates;
|
|
8 |
|
9 |
init: function()
|
10 |
{
|
11 |
-
$('
|
12 |
e.preventDefault();
|
13 |
tinymceTemplates.get_template_list();
|
14 |
tinymceTemplates.open();
|
8 |
|
9 |
init: function()
|
10 |
{
|
11 |
+
$(document).on('click', '.button-tinymce-templates', function(e){
|
12 |
e.preventDefault();
|
13 |
tinymceTemplates.get_template_list();
|
14 |
tinymceTemplates.open();
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: miyauchi
|
3 |
Tags: tinymce, Visual Editor, template
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 4.
|
7 |
|
8 |
TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
|
9 |
|
2 |
Contributors: miyauchi
|
3 |
Tags: tinymce, Visual Editor, template
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.7
|
6 |
+
Stable tag: 4.7.0
|
7 |
|
8 |
TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.
|
9 |
|
tinymce-templates.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: TinyMCE Templates
|
|
4 |
Plugin URI: http://miya0001.github.io/tinymce-templates/
|
5 |
Description: TinyMCE Templates plugin will enable to use HTML template on WordPress Visual Editor.
|
6 |
Author: Takayuki Miyauchi
|
7 |
-
Version: 4.
|
8 |
Author URI: http://miya0001.github.io/tinymce-templates/
|
9 |
Domain Path: /languages
|
10 |
Text Domain: tinymce_templates
|
@@ -207,7 +207,7 @@ class TinyMCE_Templates
|
|
207 |
printf(
|
208 |
$button_html,
|
209 |
'button-tinymce-templates',
|
210 |
-
'button',
|
211 |
esc_attr( $editor_id ),
|
212 |
esc_attr( __( 'Insert Template', 'tinymce_templates' ) ),
|
213 |
'dashicons dashicons-edit',
|
4 |
Plugin URI: http://miya0001.github.io/tinymce-templates/
|
5 |
Description: TinyMCE Templates plugin will enable to use HTML template on WordPress Visual Editor.
|
6 |
Author: Takayuki Miyauchi
|
7 |
+
Version: 4.7.0
|
8 |
Author URI: http://miya0001.github.io/tinymce-templates/
|
9 |
Domain Path: /languages
|
10 |
Text Domain: tinymce_templates
|
207 |
printf(
|
208 |
$button_html,
|
209 |
'button-tinymce-templates',
|
210 |
+
'button button-tinymce-templates',
|
211 |
esc_attr( $editor_id ),
|
212 |
esc_attr( __( 'Insert Template', 'tinymce_templates' ) ),
|
213 |
'dashicons dashicons-edit',
|