Forum Replies Created

Viewing 1 replies (of 1 total)
  • A temporary fix for this is to change it from an ID selector to a class…

    in /wp-content/plugins/tinymce-templates/tinymce-templates.php

    Around Line 207:
    change to:

    printf(
    	$button_html,
    	'button-tinymce-templates',
    	'button button-tinymce-templates',
    	esc_attr( $editor_id ),
    	esc_attr( __( 'Insert Template', 'tinymce_templates' ) ),
    	'dashicons dashicons-edit',
    	'margin-top: 3px;',
    	esc_html( __( 'Insert Template', 'tinymce_templates' ) )
    );

    in /wp-content/plugins/tinymce-templates/js/tinymce-templates.js
    Around Line 11:
    change to:

    $('.button-tinymce-templates').bind('click', function(e){
    	e.preventDefault();
    	tinymceTemplates.get_template_list();
    	tinymceTemplates.open();
    });
Viewing 1 replies (of 1 total)