本文介绍了Angular Trix不适用于所有浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经集成了Angular Trix.它与firefox一起正常工作,但不适用于chrome和IE那应该是什么问题呢?我的代码如下:
I have integrated Angular Trix. its working nice with firefox but not working with the chrome and IEso what should be the problem??My code is as below :
<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>
推荐答案
我找到了解决方案.我必须写ng-if='true'
.解决了我的问题
I got the solution. I have to write ng-if='true'
. which has solved my problem
这篇关于Angular Trix不适用于所有浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!