OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/inplace-edit/directives/field-edit/edit-wiki-textarea/edit-wiki-textarea.directiv...

19 lines
875 B

<div class="textarea-wrapper" ng-class="{'-preview': customEditorController.isPreview}">
<textarea
wiki-toolbar
style="min-height: 38px"
msd-elastic="\n"
class="focus-input inplace-edit--textarea -animated"
ng-hide="customEditorController.isPreview && !fieldController.state.isBusy"
preview-toggle="customEditorController.togglePreview()"
name="value"
ng-disabled="fieldController.state.isBusy"
ng-required="fieldController.isRequired"
ng-model="fieldController.writeValue.raw"
title="{{ fieldController.editTitle }}">
</textarea>
<div class="inplace-edit--preview" ng-if="customEditorController.isPreview && !fieldController.state.isBusy">
<span ng-bind-html="customEditorController.previewHtml"></span>
</div>
</div>