Hi, I have a collection called “promo” and it’s written a .MD file like this:
layout: layouts/base.njk
coll:
- uuid: 1
title: game 1 - uuid: 2
title: game 2
I have in the Config.js file a list widget to do this.
But I need to put them one by one to make this, and I was wondering if I get an “array” of this and just paste in a widget one time, and it format to the original way? Like, this is possible?
My “clipboard” content:
- uuid: 1
title: game 1 - uuid: 2
title: game 2
But when a use a string widget to paste this text, I get this way in the .MD
layout: layouts/base.njk
coll: 'Map { “uuid”: 1,“title”: “game 1”
}, Map { “uuid”: 2,“title”: “game 2”
}
And i need that way:
layout: layouts/base.njk
coll:
- uuid: 1
title: game 1 - uuid: 2
title: game 2
I don’t know if is possible to do that, but if someone can help me. Thanks!
Maybe custom widget? I can’t move with the docs.
/custom widget…