Facing issue with the textAngular editor when user copy and paste text. (clip board contains text and image)
You can find library from here https://github.com/fraywing/textAngular.
Facing issue with the textAngular editor when user copy and paste text. (clip board contains text and image)
You can find library from here https://github.com/fraywing/textAngular.
Copyright © 2021 Jogjafile Inc.
Checkout this fiddle. It uses ta-past directive of textAngular and replaces all image elements by using regex
.replace(/<img[^>]*>/g,"");
on your input string.View
AngularJS Application