mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 14:46:22 +00:00
cleanup
This commit is contained in:
parent
a6e103390a
commit
c0b3c4f8bc
2 changed files with 3 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
.sutty-editor.sutty-editor-prosemirror{'data-sutty-identifier' => identifier}
|
||||
%textarea.form-control.sutty-editor.sutty-editor-content{:rows => "8",
|
||||
'data-sutty-identifier' => identifier,
|
||||
:name => name}= markdown
|
||||
%textarea.form-control.sutty-editor.sutty-editor-content{rows: '8',
|
||||
'data-sutty-identifier': identifier,
|
||||
name: name}= markdown
|
||||
|
|
|
@ -2,13 +2,6 @@
|
|||
= label_tag "post_#{attribute}", post_label_t(attribute, post: post)
|
||||
= render 'posts/attribute_feedback',
|
||||
post: post, attribute: attribute, metadata: metadata
|
||||
//= rich_text_area_tag "post[#{attribute}]",
|
||||
// sanitize_markdown(metadata.value, tags: all_html_tags),
|
||||
// **field_options(attribute, metadata), class: ''
|
||||
= render 'application/editor',
|
||||
markdown: metadata.value,
|
||||
identifier: "#{post.id}-#{attribute}", name: "post[#{attribute}]"
|
||||
//:javascript
|
||||
// new SuttyEditor({
|
||||
// element: document.getElementById('editor')
|
||||
// })
|
||||
|
|
Loading…
Reference in a new issue