From c7b7d660e1d3eaf5a2eb1e41e99a4ef215c30d59 Mon Sep 17 00:00:00 2001 From: void Date: Sat, 19 Jun 2021 14:59:37 +0000 Subject: [PATCH] arreglar el atributo `markdown` es igual a markdown_content, pero como estaba antes causaba #2102 por que le faltaba .markdown-editor. fixes #2102 --- app/views/posts/attributes/_markdown.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/posts/attributes/_markdown.haml b/app/views/posts/attributes/_markdown.haml index 325beb5..8042009 100644 --- a/app/views/posts/attributes/_markdown.haml +++ b/app/views/posts/attributes/_markdown.haml @@ -1,8 +1,8 @@ .form-group.markdown-content = label_tag "#{base}_#{attribute}", post_label_t(attribute, post: post) + = render 'posts/attribute_feedback', + post: post, attribute: attribute, metadata: metadata = text_area_tag "#{base}[#{attribute}]", metadata.value, dir: dir, lang: locale, **field_options(attribute, metadata, class: 'content') - .editor.mt-1 - = render 'posts/attribute_feedback', - post: post, attribute: attribute, metadata: metadata + .markdown-editor.mt-1