diff -r e5286c7506b5 -r 0a4743126d74 src_js/iconolab-bundle/src/components/editor/Comment.vue --- a/src_js/iconolab-bundle/src/components/editor/Comment.vue Mon Feb 27 17:47:22 2017 +0100 +++ b/src_js/iconolab-bundle/src/components/editor/Comment.vue Mon Feb 27 17:50:14 2017 +0100 @@ -1,9 +1,16 @@ @@ -12,15 +19,26 @@ import showdown from 'showdown' - const converter = new showdown.Converter() + const converter = new showdown.Converter({ + simpleLineBreaks: true + }) export default { + components: ['comment-form'], props: [ + 'id', + 'level', 'comment', 'username', 'email', - 'date' + 'date', + 'allowThread' ], + data() { + return { + showForm: false + } + }, computed: { dateFormatted: function () { @@ -46,11 +64,15 @@ padding: 5px 0; border-bottom: 1px solid #ccc; } +.comment-author { + float: left; + margin-right: 4px; +} +.comment-date { + +} .comment-footer { margin-top: 5px; color: #ccc; } -.comment-date { - float: right; -}