If you assign front matter data to a Liquid variable, then use that variable for rendered content Bookshop encounters a bug and gets stuck in an infinite loop.
JS Error: Error evaluating undefined TypeError: str is undefined
This happens when adding components to pages on a CloudCannon hosted website.
To replicate:
Within the Content component in this site, assign the markup include.content_html to a Liquid variable, then replace the markup referencing this data with the new variable.
Push changes to the repo, go to CloudCannon and open a page within the visual editor.
Open the browser web console and add the modified component to a page, then see the errors within the web console.
Tested using the Jekyll Bookshop Starter repo.
If you assign front matter data to a Liquid variable, then use that variable for rendered content Bookshop encounters a bug and gets stuck in an infinite loop. JS Error:
Error evaluating undefined TypeError: str is undefined
This happens when adding components to pages on a CloudCannon hosted website.
To replicate:
include.content_html
to a Liquid variable, then replace the markup referencing this data with the new variable.Example repo