I have an article.yml which displays the text from the articles which i have imported from a wordpress website. The problem is that only the textarea shows the articles with the corresponding formatting and if i, for example, use the writer field and modify an article, all formatting is lost. Is there a way to programatically change the blueprint based on the date of the article? (all new articles to have a writer/blocks field and old articles to have a textarea field)
**I have tried to encapsulate the textarea inside blocks with custom block types and it works but it has a weird behaviour that doesn’t allow special chars to be displayed. (ăîâșț being displayed as &circ in the textarea) ← this seems the best option by far but I think it is a kirby formatting bug.
**I have also looked at the documentation (programatically generating blueprints) but I cannot find a way to get the date from each separate article and return the blueprint with the appropriate logic.
text: The article is still in draft mode. It can only be seen by editors with panel access.
label: In Review
text: The article is online and can be visited with the direct URL. The team must still give the final go to publish it.
text: The article is online and listed in the blog
type: textarea // blocks (based on the new articles that will be created and the old ones which are in the /blog directory)