=== Copy Anything to Clipboard ===
Contributors: clipboardagency, freemius
Donate link: https://www.paypal.me/mwaghmare7/
Tags: clipboard, copy, copy-to-clipboard, copy-button, copy-code, copy-text, shortcode, elementor, gutenberg, coupon-code, deal, code-snippet, blockquote
Tested up to: 6.8
Stable tag: 4.1.1
Requires PHP: 5.6
Requires at least: 4.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copy Anything to Clipboard is the #1 WordPress plugin with **292,694+** downloads 🚀

== Description ==

**Copy Anything to Clipboard** is the best WordPress copy to clipboard plugin that adds one-click copy buttons to your website. Perfect for copying code snippets, text, links, coupon codes, deals, contact information, and any content with ease.

This powerful copy to clipboard plugin offers three flexible methods: automatic CSS selector targeting, shortcode integration, and Elementor/Gutenberg widgets. Add copy buttons to code blocks, blockquotes, coupon codes, deals, contact information, and more with just a few clicks.

**Key Features:**

- One-click copy to clipboard functionality
- Automatic copy button for any CSS selector (pre, blockquote, code, etc.)
- Shortcode support: `[copy]` and `[copy_inline]`
- Elementor widgets for 25+ content types
- Gutenberg blocks for modern WordPress sites
- Mobile-friendly and cross-browser compatible
- Lightweight and SEO-friendly
- Customizable button styles and positions
- Copy as HTML or plain text
- Works with all WordPress themes and plugins

Perfect for bloggers, developers, e-commerce stores, educational websites, and anyone who wants to make it easy for users to copy content from their WordPress site. 📋

== How to Use ==

There are 4 ways to use the "Copy Anything to Clipboard" plugin:

1. [Automatically with "CSS Selector"](https://clipboard.agency/doc/usage/css-selectors/)
2. [Manually with "Shortcode"](https://clipboard.agency/doc/usage/shortcode/)
3. Manually with "Elementor widgets"
4. Manually with "Gutenberg blocks"

=== METHOD 1 – Automatically with "CSS Selector"

This is the quick, most useful way and is mostly used by a lot of users with this plugin.

Use this method, if you want to add the copy button automatically to all the elements with the same selector.

**Example 1:** If your website post contains code snippets in the `<pre>` tag, then by setting the `pre` tag as selector in "Copy Anything to Clipboard", it will automatically add the copy button to all the `pre` tags. Your users can copy the code snippet with just a click.

**Example 2:** Your blog post has blockquotes and you want to add the copy button to the blockquote. Simply set `blockquote` as your CSS selector and all blockquotes will have copy buttons automatically.

==== How to Use with CSS Selector?

- **Step 1** – Go to “Copy to Clipboard”
- **Step 2** – Click on the “Add New” button
- **Step 3** – Add the selector. E.g. `pre` or `blockquote`
- **Step 4** – Click on “Create”
- **Step 5** – Visit the page and see the copy button

For more details read:

- [Add the copy button to Blockquote](https://clipboard.agency/blog/add-copy-button-to-blockquote/)
- [Add the copy button to Code Snippet](https://clipboard.agency/blog/add-copy-button-to-code-snippet/)

=== METHOD 2 – Manually with "Shortcode"

You can use this method if you want to add the copy button to the specific element.

Use the shortcode `[copy]` or `[copy_inline]` shortcodes.

E.g.

<code>
The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it.
</code>

==== How to Use with Shortcode?

You may use the shortcode `[copy_inline]` to copy the inline content.

E.g.

<code>
Contact us:

- Email: [copy_inline text="contact@clipboard.agency"]
- Phone: [copy_inline text="+91 1234567890"]
- Address: [copy_inline text="123, Street, City, State, Country"]
- Website: [copy_inline text="https://clipboard.agency/"]
- Facebook: [copy_inline text="https://www.facebook.com/clipboard.agency/"]
</code>

Or, Use it as coupon code:

<code>
Use coupon code [copy_inline text="COUPONCODE"] to get 10% discount.
</code>

Or, Use it as deal:

<code>
Get the deal [copy_inline text="https://clipboard.agency/deal/"] to get 10% discount.
</code>

Or, Use for username and password:

<code>
Username: [copy_inline text="username"]
Password: [copy_inline text="password" display="*********"]
</code>

=== METHOD 3 – Manually with "Elementor Widgets"

We build a couple of different widgets for Elementor page builder.

You can use the following widgets to add the copy button to the specific element.

- [Email Samples](https://clipboard.agency/demos/#email-samples) 📧 <br/>Elevate your email communication by referring to our collection of samples. Dive into the intricacies of crafting impactful emails.
- [ChatGPT Prompt's (AI)](https://clipboard.agency/demos/#chatgpt-prompts-ai) 🤖 <br/>Harness the power of AI with ChatGPT prompts. Learn how to create effective prompts for dynamic interactions.
- [Coupon Codes](https://clipboard.agency/demos/#coupon-codes) 💸 <br/>Optimize your savings with our guide on utilizing coupon codes effectively.
- [Deals](https://clipboard.agency/demos/#deals) 🛍️<br/>Explore exclusive deals and promotions to make the most of your shopping experience.
- [Inspirational Quotes](https://clipboard.agency/demos/#inspirational-quotes) 🌟<br/>Find inspiration in our curated collection of quotes that uplift and motivate.
- [Contact Information](https://clipboard.agency/demos/#contact-information) 📞<br/>Organize and manage your contacts with our intuitive contact information templates.
- [Addresses](https://clipboard.agency/demos/#addresses) 🏡<br/>Simplify address management and ensure accuracy with our address template.
- [Blog Posts](https://clipboard.agency/demos/#blog-posts) 📰<br/>Dive into the world of blogging with tips and templates for creating engaging blog posts.
- [Business Information](https://clipboard.agency/demos/#business-information) 🏢<br/>Streamline your business details and maintain a professional image with our business information templates.
- [Social Media Posts](https://clipboard.agency/demos/#social-media-posts) 📱<br/>Enhance your social media presence with our templates for creating captivating posts.
- [Notes and Reminders](https://clipboard.agency/demos/#notes-and-reminders) 📝<br/>Stay organized and on top of tasks with our note-taking and reminder templates.
- [Bookmarks](https://clipboard.agency/demos/#bookmarks) 📚<br/>Keep track of important web pages and resources with our bookmark templates.
- [Event Details](https://clipboard.agency/demos/#event-details) 🎉<br/>Plan and organize events seamlessly with our event details templates.
- [Travel Information](https://clipboard.agency/demos/#travel-information) ✈️<br/>Make your travels stress-free with templates for organizing essential travel information.
- [Lyrics](https://clipboard.agency/demos/#lyrics) 🎵<br/>Dive into the world of music with our templates for organizing song lyrics.
- [Meeting Notes](https://clipboard.agency/demos/#meeting-notes) 📅<br/>Optimize your meetings with organized and effective meeting note templates.
- [Technical Code](https://clipboard.agency/demos/#technical-code) 💻<br/>Manage and document code efficiently with our technical code templates.
- [Commands](https://clipboard.agency/demos/#commands) 💻<br/>Streamline your workflow with templates for commonly used commands.
- [Legal Documents](https://clipboard.agency/demos/#legal-documents) 📜<br/>Ensure legal compliance and clarity with our templates for various legal documents.
- [Quotes from Books](https://clipboard.agency/demos/#quotes-from-books) 📖<br/>Discover and share impactful quotes from literature with our curated collection.
- [To-Do Lists](https://clipboard.agency/demos/#to-do-lists) 📋<br/>Stay organized and focused on your tasks with our effective to-do list templates.
- [Personal Notes](https://clipboard.agency/demos/#personal-notes) 📖<br/>Capture your thoughts and reflections with our templates for personal notes.
- [Educational Content](https://clipboard.agency/demos/#educational-content) 🎓<br/>Enhance your learning experience with our templates for educational content.
- [Passwords and Codes](https://clipboard.agency/demos/#passwords-and-codes) 🔒<br/>Ensure security and manage your passwords and codes effectively with our templates.
- [Social Media Hashtags ](https://clipboard.agency/demos/#social-media-hashtags-) ️⃣<br/>Boost your social media visibility with effective hashtag usage using our templates.
- [Research Findings](https://clipboard.agency/demos/#research-findings) 📊<br/>Organize and present your research findings professionally with our templates.
- [Travel Packing List](https://clipboard.agency/demos/#travel-packing-list) 🧳<br/>Prepare for your travels efficiently with our comprehensive packing list templates.
- [Love Messages](https://clipboard.agency/demos/#love-messages) 💖<br/>Express your feelings with heartfelt love messages using our templates.

==== How to Use with Elementor Widgets?

- **Step 1** – “Install and activate the "Elementor" plugin
- **Step 2** – Go to “Add/Edit with Elementor”
- **Step 3** – Search for widget. E.g. "Copy"
- **Step 4** – Drag and drop the widget to the page
- **Step 5** – Set the content
- **Step 6** – Publish the page and see the copy button

For more details read:

- [See All Live Demos](https://clipboard.agency/#demos)

== Key Benefits ==

- **Copy with Ease**: Say goodbye to highlighting, right-clicking, and copying. Our plugin simplifies the process. 🎉
- **Versatile Solutions**: Copy text, links, codes, and more with just a click. 🌐
- **Seamless Integration**: Works with your existing WordPress site, no hassle. 💼
- **Efficient and User-Friendly**: Save time and frustration when sharing content. ⏱️
- **Cross-Browser Compatibility**: Enjoy consistent performance across all major browsers. 🌐
- **Mobile-Friendly**: Works on all mobile devices, including tablets and smartphones. 📱
- **Lightweight**: Our plugin won’t slow down your site. 🚀
- **Easy to Customize (PRO)**: Customize the look and feel of your copy button. 🎨
- **Developer-Friendly**: Our plugin is easy to integrate with your existing code. 👨‍💻
- **SEO-Friendly**: Our plugin won’t affect your SEO. 📈

------

Get up to 20% to 30% discount by [upgrading to pro](https://clipboard.agency/#pricing), make this shopping extravaganza unforgettable! 🎁

------

== Popular Copy to Clipboard Plugin ==

Over **10,000+** active installations are empowering their websites with "Copy Anything to Clipboard" – 100% compatible with all WordPress themes and plugins.

**Feature Requests Welcome**

If you have any suggestions or feature requests, please don't hesitate to <a href="https://clipboard.agency/contact/">contact us</a>.

== Frequently Asked Questions ==

= How do I add a copy button to my code snippets? =

Use the CSS selector method: Go to "Copy to Clipboard" → Click "Add New" → Add selector `pre` or `code` → Click "Create". All your code blocks will now have copy buttons automatically.

= Can I add copy buttons to specific content only? =

Yes! Use the `[copy]` shortcode to wrap specific content, or use `[copy_inline]` for inline copy buttons. For example: `[copy]Your text here[/copy]` or `[copy_inline text="Text to copy"]`.

= Does this work with Elementor? =

Yes! We offer 25+ Elementor widgets including Copy Button, Copy Icon, Code Snippet, Blockquote, Coupon Code, Deal, Email Address, Phone Number, and many more. Simply search for "Copy" in Elementor's widget panel.

= Does this work with Gutenberg? =

Yes! We provide Gutenberg blocks including Copy Button, Copy Icon, Term Title, and Social Share blocks. They work seamlessly with the WordPress block editor.

= Can I customize the copy button appearance? =

Yes! The plugin allows you to customize button text, colors, positions (inside/outside), and styles. PRO version offers advanced customization options.

= Is it mobile-friendly? =

Yes! The copy to clipboard functionality works perfectly on all mobile devices, including tablets and smartphones.

= Does it work with all browsers? =

Yes! The plugin is cross-browser compatible and works with Chrome, Firefox, Safari, Edge, and other modern browsers.

= Will this slow down my website? =

No! The plugin is lightweight and optimized for performance. It won't slow down your WordPress site.

= Can I copy HTML content or just text? =

You can copy both! The plugin supports copying content as HTML or plain text format, depending on your needs.

== Bug Reports ==

Bug reports for "Copy Anything to Clipboard" are welcomed in the WordPress <a href="https://wordpress.org/support/plugin/copy-the-code/">support forum</a>.

=== Google Chrome Extension 🚀

We have also developed the Google Chrome extension for the Copy Anything to Clipboard plugin. You can download it from the Chrome Web Store.

- [Copy Anything to Clipboard - Google Chrome Extension](https://chromewebstore.google.com/detail/copy-anything-to-clipboar/mdljigkhfeiobmhanibkgjkldnabeahl?hl=en)

=== Further reading 📚

For more info check out the following:

* The [clipboard.agency](https://clipboard.agency/) official website 📌
* The [Contact us](https://clipboard.agency/contact/) 👋
* The [Getting started guide](https://clipboard.agency/doc/) 📃
* All other my [WordPress plugins](https://wordpress.org/plugins/search/clipboardagency/) 💎
* Contribute with plugin [contact us](https://clipboard.agency/contact/) ✨
* Make a [small donation](https://www.paypal.me/mwaghmare7/) for continue FREE support 💪

== Installation ==

1. Install the <code>Copy Anything to Clipboard</code> plugin either via the WordPress plugin directory, or by uploading the files to your server at <code>wp-content/plugins</code>.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to "Copy to Clipboard" in your WordPress admin menu to start creating copy buttons.
4. Choose your method: CSS Selector (automatic), Shortcode (manual), or Elementor/Gutenberg widgets.

For detailed setup instructions, visit the [Getting Started Guide](https://clipboard.agency/doc/).

== Changelog ==

= 4.1.1 =

* Fix: Dependency build failed.

= 4.1.0 =

* Improvement: Updated Freemius SDK library with version 2.13.0.
* Improvement: Updated plugin metadata for compatibility with WordPress 6.8.
* Improvement: Enhanced readme content, tags, and FAQ for better search visibility.

= 4.0.5 =

* Improvement: Updated Freemius SDK library with version 2.11.0.
* Improvement: Compatibility to WordPress 6.7.2.

= 4.0.4 =

* Fixed: Disallow to add script for the contributor level user in the shortcode.
* Improvement: Updated Freemius SDK library with version 2.9.0.
* Improvement: Compatibility to WordPress 6.7.1.

= 4.0.3 =

* Hot fix: The dependency not works for post types.

= 4.0.2 =

* Fix: The js dependency not works for the shortcode.

= 4.0.0 =

* New: Added the Gutenberg block "Term Title".
* New: Added the Gutenberg block "Social Share".
* New: Added the Gutenberg block "Copy Button".
* New: Added the Gutenberg block "Copy Icon".
* Improvement: Updated Freemius SDK library with version 2.7.4.
* Improvement: Compatibility to WordPress 6.6.1.

= 3.8.3 =

* Improvement: Updated the recurring cron job registration logic.

= 3.8.2 =

* Fixed: Elementor copy button not works due to missing dependency.

= 3.8.1 =

* Fixed: The copy animation not works for the shortcode.
* Improvement: Compatibility to WordPress 6.5.3.

= 3.8.0 =

* New: Added display conditions for the copy to clipboard to load the assets only on selected pages.
* Improvement: Fixed the copy icon Gutenberg block title issue.
* Improvement: Loading the Gutenberg block assets only on the block used pages.
* Improvement: Added default copied button text.
* Improvement: Compatibility to WordPress 6.5.2.

= 3.7.0 =

* New: Added the copy icon Gutenberg block.

= 3.6.0 =

* New: Added the target selector support for the copy content in the Elementor widget.
* Improvement: Added to support to copy the markup content from the Copy Icon Elementor widget.

= 3.5.2 =

* Improvement: Added the dynamic content support for email, phone, and address Elementor widgets.
* Improvement: Compatibility to WordPress 6.4.3.

= 3.5.1 =

* Improvement: Added the background image support for all the Elementor widgets.
* Improvement: Updated Freemius SDK library with version 2.6.2.

= 3.5.0 =

* New: Added the "Contact Information" Elementor widget.
* Improvement: Compatibility to WordPress 6.4.2.

= 3.4.3 =

* Fix: The shortcode copy the display text instead of the content.

= 3.4.2 =

* Improvement: Added the shortcode support for the Elementor widget.
* Improvement: Added the missing table widget in the Elementor category.

= 3.4.1 =

* Fix: The button customization is not working in the dashboard screen.

= 3.4.0 =

* New: Added table Elementor widget to display content in horizontal, or vertical table and allow to copy the content.

= 3.3.0 =

* New: Added button styling support for Elementor widget Copy Icon.
* New: Added button styling support for Elementor widget Copy Button.
* New: Added button styling support for Elementor widget Email Sample.
* New: Added button styling support for Elementor widget Email Address.
* New: Added button styling support for Elementor widget Phone Number.
* New: Added button styling support for Elementor widget Blockquote.
* New: Added button styling support for Elementor widget Code Snippet.
* New: Added button styling support for Elementor widget Message.
* New: Added button styling support for Elementor widget Deal.
* New: Added button styling support for Elementor widget Coupon.
* New: Added button styling support for Elementor widget AI Prompt Generator.
* Improvement: Updated Freemius SDK version 2.6.0.

= 3.2.1 =

* Improvement: Improved the Elementor "Coupon Code" widget controls and structure.
* Improvement: Improved the Elementor "Deal" widget controls and structure.
* Improvement: Improved the Elementor "Email Address" widget controls and structure.
* Improvement: Improved the Elementor "Email Sample" widget controls and structure.
* Improvement: Improved the Elementor "Message" widget controls and structure.
* Improvement: Improved the Elementor "Phone Number" widget controls and structure.
* Improvement: Improved the Elementor "Shayari" widget controls and structure.
* Improvement: Improved the Elementor "SMS" widget controls and structure.
* Improvement: Improved the Elementor "Wish" widget controls and structure.

= 3.2.0 =

* New: Added the Elementor widget category "Copy Anything to Clipboard".
* Improvement: Compatibility to WordPress 6.4.1.
* Improvement: Improved the Elementor "AI Prompt Generator" widget controls and structure.
* Improvement: Improved the Elementor "Blockquote" widget controls and structure.
* Improvement: Improved the Elementor "Code Snippet" widget controls and structure.
* Improvement: Improved the Elementor "Copy to Clipboard Button" widget controls and structure.
* Improvement: Improved the Elementor "Copy to Clipboard Icon" widget controls and structure.

= 3.1.0 =

* New: Added button styling support for Elementor widget Copy Icon.
* New: Added button styling support for Elementor widget Copy Button.
* New: Added button styling support for Elementor widget Email Sample.
* New: Added button styling support for Elementor widget Email Address.
* New: Added button styling support for Elementor widget Phone Number.
* New: Added button styling support for Elementor widget Blockquote.
* New: Added button styling support for Elementor widget Code Snippet.
* New: Added button styling support for Elementor widget Message.
* New: Added button styling support for Elementor widget Deal.
* New: Added button styling support for Elementor widget Coupon.
* New: Added button styling support for Elementor widget AI Prompt Generator.
* Improvement: Updated Freemius SDK version 2.6.0.

= 3.2.1 =

* Improvement: Improved the Elementor "Coupon Code" widget controls and structure.
* Improvement: Improved the Elementor "Deal" widget controls and structure.
* Improvement: Improved the Elementor "Email Address" widget controls and structure.
* Improvement: Improved the Elementor "Email Sample" widget controls and structure.
* Improvement: Improved the Elementor "Message" widget controls and structure.
* Improvement: Improved the Elementor "Phone Number" widget controls and structure.
* Improvement: Improved the Elementor "Shayari" widget controls and structure.
* Improvement: Improved the Elementor "SMS" widget controls and structure.
* Improvement: Improved the Elementor "Wish" widget controls and structure.

= 3.2.0 =

* New: Added the Elementor widget category "Copy Anything to Clipboard".
* Improvement: Compatibility to WordPress 6.4.1.
* Improvement: Improved the Elementor "AI Prompt Generator" widget controls and structure.
* Improvement: Improved the Elementor "Blockquote" widget controls and structure.
* Improvement: Improved the Elementor "Code Snippet" widget controls and structure.
* Improvement: Improved the Elementor "Copy to Clipboard Button" widget controls and structure.
* Improvement: Improved the Elementor "Copy to Clipboard Icon" widget controls and structure.

= 3.1.0 =

* New: Added new shortcode [copy_inline] which allow you to copy content from the inline element.
* New: Added Elementor widget Copy Icon.
* New: Added Elementor widget Copy Button.
* New: Added Elementor widget Email Sample.
* New: Added Elementor widget Email Address.
* New: Added Elementor widget Phone Number.
* New: Added Elementor widget Blockquote.
* New: Added Elementor widget Code Snippet.
* New: Added Elementor widget Message.
* New: Added Elementor widget Deal.
* New: Added Elementor widget Coupon.
* New: Added Elementor widget AI Prompt Generator.

= 3.0.0 =

* New: Improve the dashboard UI with the new design.
* Improvement: Added the support to edit the existing copy to clipboard post.
* Improvement: Compatibility to WordPress 6.3.2.
* Improvement: Updated Freemius SDK version 2.5.12.

= 2.6.5 =

* Improvement: Compatibility to WordPress 6.3.1.
* Improvement: Address a reflected Cross-Site Scripting vulnerability from `icon-color` shortcode parameter.

= 2.6.4 = 

* Improvement: Updated Freemius SDK version 2.5.10 to address a Reflected Cross-Site Scripting vulnerability via fs_request_get.

= 2.6.3 =

* Improvement: Added the shortcode attribute `color` to set the custom color for the text. E.g. `[copy content="Custom Text.." color="#2dcd78"]Copy me![/copy]`
* Improvement: Added the shortcode attribute `icon-color` to set the custom color for the icon. E.g. `[copy content="Custom Text.." style="icon" icon-color="#9437f6"][/copy]`
* Improvement: Added the shortcode attribute `style` to show the icon. E.g. `[copy content="Custom Text.." style="icon"][/copy]`

= 2.6.2 =

* Improvement: Compatibility to WordPress 6.1.1.
* Improvement: Updated Freemius SDK wit version 2.5.3.
* Improvement: Added the support to copy emojis from the content into the clipboard.

= 2.6.1 =

* Improvement: Avoided the button copy to clipboard for Google Docs and Email format.
* Improvement: Avoided the "Copy" text from the clipboard.

= 2.6.0 =

* New: Added the Copy Format setting to copy the content for Google Docs or Email.
* Improvement: Added filter `copy_the_code_shortcode_atts` for shortcode to redirect the user to another page after copying the content to the clipboard.
* Improvement: Added the support to Trim Lines with filter `copy_the_code_localize_vars`.
* Improvement: Added translation support for pt_BR language.

= 2.5.0 =

* New: Added a link to easily upgrade to the premium version which was recently not easily visible. 

* Improvement: Improve the default button style.
* Improvement: Improve the welcome message by adding the plugin name. Thanks @Andre

= 2.4.2 =

* Fix: The message "You are just one step away.." is not disappearing after clicking on button. Thanks @MingHong

= 2.4.1 =

* Improvement: Added the sub-menus page links into the post type screen.
* Improvement: Removed the sub-menus Dashboard, Contact Us, Upgrade, and Support Forum.

= 2.4.0 =

* New: Integrated the Freemius library for automatic updates, upgrade and for quick support.
* Improvement: Add new dashboard admin page for Copy Anything to Clipboard.
* Improvement: Deprecated the Shortcode admin page which is no longer used.

= 2.3.5 =

* Improvement: UI improvements in the shortcode information admin page.
* Improvement: Added the title tag support for the shortcode. So, Whenever the user hovers on shortcode text then it'll see the title.
* Improvement: Avoid the remove spaces support by setting false values to the parameter remove_spaces. Use filter from code snippet  https://gist.github.com/7c086cdf0837f5864596945086c603c8

= 2.3.4 =

* Improvement: Keep the welcome message only for first time user activate.

= 2.3.3 =

* Improvement: Added a welcome message to the user for smooth plugin onboarding.

= 2.3.2 =

* Improvement: Improve the code with PHPCS fixes.

= 2.3.1 =

* Improvement: Keep the tab spaces while copy to clipboard. Thanks @marius84
* Improvement: Users can now share non-personal usage data to help us test and develop better products. 

= 2.3.0 =

* New: Added support to redirect user after copy to clipboard. Thanks @zecke Read more https://wp.me/P4Ams0-aAq

= 2.2.2 =

* Improvement: Getting multiple white spaces in Gutenberg editor.
* Fix: The add new link was wrong which navigate to invalid page.

= 2.2.1 =

* Improvement: Move the parent menus as submenu in settings menu.

= 2.2.0 =

* New - Added shortcode [copy] to copy the content. E.g. [copy]12345[/copy]. Read more at https://clipboard.agency/doc/

= 2.1.1 =

* Improvement - Compatibility to WordPress 5.7.

= 2.1.0 =

* New: Added filter `copy_the_code_localize_vars` to allow to copy the content as HTMl instead of text.

= 2.0.0 =

* Tweak: Create a new post copy to clipboard post depends on the old user settings.
* Deprecated: Removed the filter `copy_the_code_enabled` which is no more useful.
* Deprecated: Removed the option `Copy the content` which is no more useful. Will add the support though filter if required.
* New: Added custom post type support to add multiple copy to clipboard buttons with different selectors and styles.
* New: Improve the UI with live preview.
* New: Added the new `SVG Icon` button style to show the SVG icon instead of button.
* New: Added inside and outside position support for the new style SVG Icon.
* New: Added the new `Cover` style to copy the small element in which we could not add the copy button. Such as Emoji and Symbols.

= 1.8.0 =

* New: Set the `Copy Content As` default option with `text`.
* Improvements: Converted the `<br>` tags into the new line if the option "Copy Content As" selected as `Text`.
* Improvements: Converted the `<div>` tags into the new line if the option "Copy Content As" selected as `Text`.
* Improvements: Converted the `<p>` tags into the new line if the option "Copy Content As" selected as `Text`.
* Improvements: Converted the `<li>` tags into the new line if the option "Copy Content As" selected as `Text`.
* Improvements: Remove the white spaces and trim the content if the option "Copy Content As" selected as `Text`.
* Fix: Copy the content as text works different on Chrome, Firefox and Internet Explorer browsers.

= 1.7.5 =

* Fix: The `<br>` tag converted into the next line. Select the `Text` from option `Copy Content As`. Reported by Konrad.
* Fix: Single level selector copies the selector in the clipboard. Reported by Seb.

= 1.7.4 =

* Fix: Nested selectors was not working due to mismatch the copy button position.

= 1.7.3 =

* Fix: The `<br>` tags was not copied as new line.  Reported by @psanger.

= 1.7.2 =

* Improvement: Removed unwanted code.

= 1.7.1 =

* Improvement: Updated Freemius SDK library with version 2.3.2.
* Improvement: Added the latest new section.
* Fix: The submit button is not visible form the settings page. Reported by Nicolas Tizio

= 1.7.0 =

* New: Added General & Style tabs.

= 1.6.1 =

* Improvement: Added WordPress 5.4 compatibility.

= 1.6.0 =

* New: Added filter `copy_the_code_default_page_settings` to change the default page settings.
* New: Added filter `copy_the_code_page_settings` to change the page settings.

= 1.5.0 =

* New: Added option 'Button Text' to set the default button text. Default 'Copy'.
* New: Added option 'Button Copy Text' to set the button text after click on copy. Default 'Copied!'.
* New: Added option 'Button Title' to set the default button title which appear on hover on button. Default 'Copy to Clipboard'.
* New: Added option 'Button Position' to set the button position. Inside or outside the selector. Default 'inside'.
* Improvement: Added support for Internet Explorer devices. Reported by @rambo3000

= 1.4.1 =

* Fix: Added support for IOS devices. Reported by @radiocure1

= 1.4.0 =
* New: Added option 'Copy Content As' to copy the content as either HTML or Text. 

= 1.3.1 =
* Improvement: Updated the strings and compatibility for WordPress 5.0.

= 1.3.0 =
* New: Added support, contact links.

= 1.2.0 =
* New: Added settings page for customizing the plugin. Added option `selector` to set the JS selector. Default its `<pre>` html tag.

= 1.1.0 =
* Fix: Removed `Copy` button markup from the copied content from the clipboard.

= 1.0.0 =
* Initial release.
