4 ms·
This is really cool! I was sad when Forestry went down and this looks better than TinaCMS. I'm trying to set it up with my Eleventy blog (paavandesign.com/blog
by p44v9n 3y ago
This is really cool! I was sad when Forestry went down and this looks better than TinaCMS.
I'm trying to set it up with my Eleventy blog (paavandesign.com/blog) and struggling to get the body field working
- hunvreus 3y agoIs your repo public? Happy to have a look if it is. Have you also checked the examples: https://pagescms.org/docs/examples/ https://pagescms.org/docs/examples/
- p44v9n 3y agoedit: this was the bug which I think you're already on top of! https://news.ycombinator.com/item?id=39468906 https://news.ycombinator.com/item?id=39468906 --- So 'body' is working if I set the type to text but when I set it to rich-text there's no input generated for body Repo is private (sorry!) but here's the settings YAML file as it stands content: - name: blog label: Blog type: collection path: 'src/blog' view: fields: [ title, date] fields: - name: date label: Date type: date - name: title label: Title type: string - name: description label: Description type: string - name: tags label: Tags type: string - name: body label: Body type: rich-text
- hunvreus 3y agoYep, seems to be the same bug as what somebody else reported: if you don't specify a `media` attribute, when the rich-text editor tries to load it fails as it is attempting to load the media related features (to insert images). Publishing a hotfix in the next hour, in the meantime it should work if you add a media attribute (you can set it as `media: ""` if you don't have an image folder).
- hunvreus 3y agoI rolled out a hotfix, this should be fixed. I also found another couple edge cases that are unlikely but that I will patch in the coming days. Thanks for that.