Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The module only includes the library in the /shurly route, and not when including the form as a block.
Steps to reproduce
Include the provided block in a site. Check if the JS libraries are loaded for the block form.
Proposed resolution
Move the library attachment to the CreateForm class, and include both JS files into the clipboardjs library definition.
Comments
Comment #3
jcnventura CreditAttribution: jcnventura at 1xINTERNET commented