Plugin Directory

Changeset 1806290


Ignore:
Timestamp:
01/20/2018 04:13:16 PM (8 years ago)
Author:
gung
Message:

Fix button visual editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simple-syntax-highlighting/trunk/js/ssh-plugin.min.js

    r1806247 r1806290  
    11(function() {
    22    tinymce.PluginManager.add('ssh_code_button', function( ed, url ) {
    3         ed.addCommand('ssh_codessss', function() {
     3        ed.addCommand('ssh_code', function() {
    44            var selected_text = ed.selection.getContent();
    55            var return_text = '';
     
    1111            title: 'Simple Syntax Highlighting',
    1212            icon: false,
    13             cmd : 'ssh_codes'
     13            cmd : 'ssh_code'
    1414        });
    1515    });
Note: See TracChangeset for help on using the changeset viewer.