You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kevinwhoffman
changed the title
Improvement with copying donation form shortcode
feat(admin-form): copy form shortcode to clipboard via button
Mar 12, 2018
@Sidsector9 I have implemented this functionality in WP Business Reviews using clipboard.js and Hint.css. Use the work done in WPBR as your starting point.
User Story
As a user, I want a quick and clean way to copy a shortcode so that the UI is less cluttered and it's easier to copy the shortcode in a single click.
Acceptance Criteria
ShortcodeButton
JS class has been created which importsClipboardJS
as a module.Copy Shortcode
.[give_form id="#"]
.Copied!
.Visuals
Visual reference of the shortcode button in WPBR:
Replace these shortcode fields with new shortcode button:
Related
https://clipboardjs.com/
The text was updated successfully, but these errors were encountered: