4 ms·
This is an excellent project, thank you so much. Is it possible to parse and edit embeds put into the articles via custom widgets? I see in the example how to
by samat 10y ago
This is an excellent project, thank you so much.
Is it possible to parse and edit embeds put into the articles via custom widgets? I see in the example how to add a widget to add something to my page. But I don't see how to parse markdown to present an editing to an 'old' widget. I also see that images are non-editable (both image file and alt) once placed into the article.
Is this is a hard limitation or rather widgets are half-baked?
- cacozen 10y agoYou can definitely to parse and edit from custom widgets. Take a look at the documentation here: https://www.netlifycms.org/docs/extending/ https://www.netlifycms.org/docs/extending/ The "fromBlock" property is what detects the insertion from the markdown to present back the widget interface when editing.
- bobfunk 10y agoWe have pretty big plans for the markdown editing component. It currently has a system of "editorComponents" that lets you define block level components that can be edited inside markdown bodies. There's still some work ahead to make this really smooth, but the idea is to give simple ways to work with shortcodes, etc, without having to be aware of the syntax.
- petepete 10y agoI planned on building something just like this for my current project, UI wise something like the Delve blog editor but for Markdown with Hugo shortcode support