This commit is contained in:
2025-06-10 23:29:56 +02:00
parent 2c78017019
commit 9a7b54c343

View File

@@ -16,6 +16,10 @@
<!-- Include the script that builds the page and powers Decap CMS -->
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
<script>
// Define the helper functions needed for React components
const h = window.React.createElement;
const createClass = window.createClass || window.ReactCreateClass;
// Register the proper prefixed image widget
CMS.registerWidget("prefixed-image", {
// Control component (what editors interact with)