From 1613589a414b73e92018ae07a48e0fe357579d03 Mon Sep 17 00:00:00 2001 From: void Date: Thu, 7 Nov 2019 15:10:08 -0300 Subject: [PATCH] arreglar editor no carga markdown --- app/views/posts/attributes/_content.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/attributes/_content.haml b/app/views/posts/attributes/_content.haml index b5d467f5..6c95f988 100644 --- a/app/views/posts/attributes/_content.haml +++ b/app/views/posts/attributes/_content.haml @@ -3,5 +3,5 @@ = render 'posts/attribute_feedback', post: post, attribute: attribute, metadata: metadata = render 'application/editor', - markdown: metadata.value, + markdown: post.content.document, identifier: "#{post.id}-#{attribute}", name: "post[#{attribute}]"