hackmd-io-issues
hackmd-io-issues copied to clipboard
Template Previews Failing to Load in iFrame
Is this a hackmd.io issue?
- [x] Yes, the bug happens on https://hackmd.io
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd
What's the problem
When creating a new note using a template, the preview iframe displays an infinite spinning loader. Clicking Use this template still works and creates using the template, but no preview is available despite the download API route returning the correct template Markdown.
Current behaviour
Template previews are not displaying, attempted in Google Chrome, Microsoft Edge, Mozilla Firefox, and Brave.



Provide steps to reproduce:
- Go to Overview
- Click on the
3 dotsto the right ofNew note - Choose a template from the list.
- See the spinner spin forever.
Expected behaviour
Template previews should be viewable.
Environment
I use HackMD on:
Desktop
- OS: [Windows 11]
- Browser: [Chrome]
- Browser Version: [116.0.5845.188]