11 lines
No EOL
576 B
HTML
11 lines
No EOL
576 B
HTML
<div class="markdown-editor-element">
|
|
<a class="btn btn-default preview-btn" ng-click="togglePreview()" ng-class="{'active': previewing}">Preview</a>
|
|
<div class="wmd-panel" ng-show="!previewing">
|
|
<div id="wmd-button-bar-{{id}}"></div>
|
|
<textarea class="wmd-input form-control" id="wmd-input-{{id}}" ng-model="content"></textarea>
|
|
</div>
|
|
<div class="preview-panel" ng-show="previewing">
|
|
<div class="preview-top-bar">Viewing preview</div>
|
|
<div class="markdown-view" content="content || '(Nothing entered)'"></div>
|
|
</div>
|
|
</div> |