Skip to content
Snippets Groups Projects
Commit fe32a80d authored by Lauren's avatar Lauren
Browse files

Reordered the shortcode attributes to match the order in the TinyMCE pop-up....

Reordered the shortcode attributes to match the order in the TinyMCE pop-up. Increased tested up to version number and plugin version number.
parent c4def116
No related branches found
No related tags found
No related merge requests found
{
"version": 3,
"mappings": ";AAQA;;;;uBAIwB;EACtB,eAAe,EAAE,IAAI;;AAEvB,gBAAiB;EACb,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,YAAY;EACrB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,KAAK;EACZ,WAAW,EAAE,OAAO;EACpB,aAAa,EAAE,IAAI;EAEnB,8CACQ;IACJ,UAAU,EAAE,OAAiB;IAC7B,KAAK,EAAE,IAAI;;;AAKnB,eAAgB;EACZ,SAAS,EAAE,GAAG;;AAElB,eAAgB;EACZ,SAAS,EAAE,IAAI;;AAEnB,gBAAiB;EACf,SAAS,EAAE,IAAI;;;AAIjB,iBAAkB;EACd,UAAU,EA1CJ,OAAO;EA2Cb,gDACQ;IACJ,UAAU,EAAE,OAAqB;;AAGzC,iBAAkB;EACd,UAAU,EAhDJ,OAAO;EAiDb,gDACQ;IACJ,UAAU,EAAE,OAAqB;;AAGzC,mBAAoB;EAClB,UAAU,EApDA,OAAO;EAqDjB,oDACQ;IACN,UAAU,EAAE,OAAuB;;AAGvC,cAAe;EACX,UAAU,EA7DP,OAAO;EA8DV,0CACQ;IACJ,UAAU,EAAE,OAAkB;;AAGtC,gBAAiB;EACb,UAAU,EAnEL,OAAO;EAoEZ,8CACQ;IACJ,UAAU,EAAE,OAAoB;;;AAMxC,iBAAkB;EAChB,aAAa,EAAE,QAAQ;;AAEzB,cAAe;EACb,aAAa,EAAE,GAAG;;AAEpB,eAAgB;EACd,OAAO,EAAE,KAAK;EACd,UAAU,EAAE,MAAM;;AAEpB,oBAAqB;EACjB,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,UAAU,EAAE,MAAM",
"sources": ["../sass/lbdesign_button_shortcode.scss"],
"names": [],
"file": "lbdesign_button_shortcode.css"
}
......@@ -56,7 +56,7 @@
],
onsubmit: function(e) {
ed.focus();
ed.selection.setContent('[lbdesign_button link="' + e.data.link +'" type="' + e.data.type + '" custom_class="' + e.data.custom_class + '" size="' + e.data.size + '" style="'+e.data.styles+'"]' + e.data.content + '[/lbdesign_button]');
ed.selection.setContent('[lbdesign_button link="' + e.data.link + '" type="' + e.data.type + '" size="' + e.data.size + '" style="' + e.data.styles + '" custom_class="' + e.data.custom_class + '"]' + e.data.content + '[/lbdesign_button]');
}
});
});
......@@ -87,7 +87,7 @@
longname : 'LBDesign Button Shortcode',
author : 'Lauren Pittenger @ LBDesign',
authorurl : 'http://lbdesign.tv',
version : "1.2"
version : "1.2.1"
};
}
});
......
......@@ -5,7 +5,7 @@
* Author: Lauren Pittenger @ LBDesign
* Author URI: http://laurenpittenger.com
* License: GPL
* Version: 1.2
* Version: 1.2.1
*/
/* our main shortcode function */
......
......@@ -2,8 +2,8 @@
Contributors: lepittenger
Tags: shortcode
Requires at least: 3.0.1
Tested up to: 4.7.3
Stable tag: 1.2
Tested up to: 4.8
Stable tag: 1.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
......@@ -46,6 +46,14 @@ This simple plugin allows you to add call-to-action buttons to post and page con
== Changelog ==
= 1.2.1 =
* Reordered the shortcode attributes to match the order in the TinyMCE pop-up
= 1.2 =
* Bugfixes
= 1.1 =
* Fixed undefined variable error when not using a full width button
......@@ -62,7 +70,7 @@ This simple plugin allows you to add call-to-action buttons to post and page con
= 1.2 =
* Fixes path to icon image
* Fixes path to icon image
= 1.1 =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment