From 763b33491d092103eea0479e18fdebd3f174f08e Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Thu, 21 May 2026 17:28:48 +0100 Subject: [PATCH] docs: pair + ``` +The `nomodule` fallback ensures the widget also loads in environments that do not execute ES module scripts (older browsers, some crawlers). + Now, you can either render the Procaptcha widget implicitly or explicitly. ## Implicit Rendering @@ -42,6 +45,7 @@ is solved. Procaptcha Demo +
@@ -75,6 +79,12 @@ id `procaptcha-container` where the widget will be rendered. async defer > +
diff --git a/src/content/docs/en/basics/index.mdx b/src/content/docs/en/basics/index.mdx index de4cede92e95e..c96a1e50a9bf8 100644 --- a/src/content/docs/en/basics/index.mdx +++ b/src/content/docs/en/basics/index.mdx @@ -44,7 +44,8 @@ To add the Procaptcha widget:
```html - + + ```
diff --git a/src/content/docs/en/basics/invisible-captcha.mdx b/src/content/docs/en/basics/invisible-captcha.mdx index c7097e248ce88..4d50f99a4ff0a 100644 --- a/src/content/docs/en/basics/invisible-captcha.mdx +++ b/src/content/docs/en/basics/invisible-captcha.mdx @@ -76,7 +76,8 @@ Add the `procaptcha` class and data attributes directly to your form elements: - + + @@ -116,7 +117,8 @@ For more control over the CAPTCHA lifecycle: - + + diff --git a/src/content/docs/en/demos/client-example-bundle.mdx b/src/content/docs/en/demos/client-example-bundle.mdx index 3552b46698cdb..b0e2d0bd95526 100644 --- a/src/content/docs/en/demos/client-example-bundle.mdx +++ b/src/content/docs/en/demos/client-example-bundle.mdx @@ -21,6 +21,7 @@ the [Prosopo portal](https://portal.prosopo.io). Procaptcha demo: Simple page +