All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add feature to create a selection condition for the entry chooser in the CTA
- Added
crossSiteLinking
setting to allow linking between sites.s
- Added SiteMenu to element modal, to enable linking across sites
- Craft 4 stable release
- Fixed unknown property error on element select
- Craft 4 compatibility
- Config is can now be localized per site (#5)
- CTA's can now be rendered as a span (#2)
- Better placeholder for url and e-mail fields (#3)
- CTA's that use a URL and open in a new window now get the rel='noopener' attribute (#4)
- Added a missing use statement
- Added
htmlLink
function to CTA model to make upgrades easier
- Added the option to hide the classes dropdown per CTA field.
- Moved the default classes definitions to their own function
- Link classes can now also be defined in cta.php
- Fixed an issue where the field was required and couldn't be save even when entered correctly
- Fixed an issue where the class defined in settings was not being applied
- Initial release