Angular Trix does not work in all browsers

I have included Angular Trix. it works well with firefox, but it doesn’t work with chrome and IE so what should be the problem ?? My code is as follows:

<trix-editor ng-model-options="{updateOn: 'blur'}" spellcheck="false" class="trix-content" ng-model="prjoectcreate.description" angular-trix trix-initialize="trixInitialize(e, editor);" trix-change="trixChange(e, editor);" trix-selection-change="trixSelectionChange(e, editor);" trix-focus="trixFocus(e, editor);" trix-blur="trixBlur(e, editor);" placeholder="Write something.."></trix-editor>
+4
source share
1 answer

I got a solution. I have to write ng-if='true'. who solved my problem

+3
source

Source: https://habr.com/ru/post/1658681/


All Articles