I have a directive to edit a field dynamically called "click-to-edit". If I click on an item, I can edit it without problems.
<span ng-click="ignoreClick($event);" >
<a href='' click-to-edit item="faq" ng-model='faq.pregunta'
typeinput='textarea'>{{faq.pregunta}}
</a>
I have a filter that highlights a word when it is found, this filter is called "highligth". If I add the line
ng-bind-html="faq.pregunta | highlight:search.pregunta"
I can not click to edit the field.
but the filter works for me to highlight. I need to not miss the functionality of editing the fields without it being damaged when the text is highlighted. How can I fix this?
https://jsfiddle.net/jv5o6s8y/