Closed kaladay closed 11 months ago
Perhaps ng-switch in the template can provide a default.
Has this been tried to not require wysiyg
being specified?
<div ng-switch="wysiwyg">
<div ng-switch-when="true">
<textarea ui-tinymce="tinymceOptions" ng-model="$parent.scopeValue">
</textarea>
</div>
<div ng-switch-default>
<textarea class="form-control locking-text-area-not-wysiwyg" ng-model="$parent.scopeValue"
ng-keypress="$parent.nonWysiwygTyping($event)" ng-blur="$parent.nonWysiwygBlur()">
</textarea>
</div>
</div>
Resolves #1858
This applies the same fix from PR #1792 (commit ef5004bd7b6a4ec5c37a159e9693893a722aaa6f).
The wysiwyg attribute needs to be specified now on the
lockingtextarea
field.