1 2 3 4 5 6 7 8 9 10 11 12 13 14
template(name="editor") textarea.editor( class="{{class}}" id=id autofocus=autofocus placeholder="{{_ 'comment-placeholder'}}") +Template.contentBlock template(name="viewer") .viewer +mentions +emoji +markdown {{> UI.contentBlock }}