diff --git a/Extensions/quick_tags.css b/Extensions/quick_tags.css index 6a434f822..ff930e0fe 100644 --- a/Extensions/quick_tags.css +++ b/Extensions/quick_tags.css @@ -238,3 +238,14 @@ .xkit-interface-control-button.xkit-quick-tags:after { opacity: 1 !important; } + +.xkit-quick-tags-cp-info { + padding: 0 1em; + font-size: 14px; + line-height: 1.5; + color: rgb(80,80,80); +} + +.xkit-quick-tags-cp-info button { + margin: 0 0 .75em 0; +} diff --git a/Extensions/quick_tags.js b/Extensions/quick_tags.js index f157df17a..87c210a63 100644 --- a/Extensions/quick_tags.js +++ b/Extensions/quick_tags.js @@ -1,5 +1,5 @@ //* TITLE Quick Tags **// -//* VERSION 0.6.8 **// +//* VERSION 0.6.9 **// //* DESCRIPTION Quickly add tags to posts **// //* DETAILS Allows you to create tag bundles and add tags to posts without leaving the dashboard. **// //* DEVELOPER New-XKit **// @@ -652,6 +652,59 @@ XKit.extensions.quick_tags = new Object({ $("#xkit-extensions-panel-right").nanoScroller(); $("#xkit-extensions-panel-right").nanoScroller({ scroll: 'top' }); + XKit.extensions.quick_tags.infoCpanel(m_div); + }, + + infoCpanel: function(m_div) { + + $('.xkit-quick-tags-cp-info').remove(); + $(m_div).prepend(` +
+ `); + + $('#xkit-quick-tags-cp-export').on('click', async function() { + if (!XKit.extensions.quick_tags.tag_array.length) { + XKit.window.show( + 'Nothing to Copy', + "You don't have any tag bundles to copy!", + 'error', + '