Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use self-encloseing shortcode tags

  • Loading branch information...
commit a6726ec67f9bfe66fba7def502675dd151b114d9 1 parent f4cb790
@dnaber-de authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/admin.js
View
5 js/admin.js
@@ -158,6 +158,9 @@
}
);
+ /**
+ * the dialog triggered by the TinyMCE Button
+ */
ccDialog = {
/**
@@ -216,7 +219,7 @@
//the shortcode
if ( codeblock )
- var sc = '[cc name="' + codeblock + '"]';
+ var sc = '[cc name="' + codeblock + '"/]';
else if ( language )
var sc = '[cc lang="' + language + '"][/cc]';
Please sign in to comment.
Something went wrong with that request. Please try again.