Commit 37405915 authored by Robert Knight's avatar Robert Knight

Remove unused 'required' input for <markdown> component

The editor is only used from the <annotation> component which never
sets this input.
parent 6328298e
...@@ -251,7 +251,6 @@ module.exports = function($filter, $sanitize) { ...@@ -251,7 +251,6 @@ module.exports = function($filter, $sanitize) {
readOnly: '<', readOnly: '<',
text: '<?', text: '<?',
onEditText: '&', onEditText: '&',
required: '@',
}, },
template: require('../../../templates/client/markdown.html'), template: require('../../../templates/client/markdown.html'),
}; };
......
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
</div> </div>
<textarea class="form-input form-textarea js-markdown-input" <textarea class="form-input form-textarea js-markdown-input"
ng-show="showEditor()" ng-show="showEditor()"
ng-click="$event.stopPropagation()" ng-click="$event.stopPropagation()"></textarea>
ng-required="required"></textarea>
<div class="styled-text js-markdown-preview" <div class="styled-text js-markdown-preview"
ng-class="preview && 'markdown-preview'" ng-class="preview && 'markdown-preview'"
ng-dblclick="togglePreview()" ng-dblclick="togglePreview()"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment