.
This commit is contained in:
@@ -16,6 +16,10 @@
|
|||||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
<!-- 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 src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||||
<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
|
// Register the proper prefixed image widget
|
||||||
CMS.registerWidget("prefixed-image", {
|
CMS.registerWidget("prefixed-image", {
|
||||||
// Control component (what editors interact with)
|
// Control component (what editors interact with)
|
||||||
|
|||||||
Reference in New Issue
Block a user