angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

Added option updateOnBlurOnly to update ngmodel only on editor blur #274

Open prp1 opened 8 years ago

prp1 commented 8 years ago

Updating ngmodel can be an expensive operation, and sometimes it is sufficient to update it when editing is done - on blur event.

My particular case was that if there are many editors in the page, in IE11 when writing something in the editor a big lag is visible.

This pull request allows to fix this problem.

deeg commented 8 years ago

Thanks, sorry for the late response.

I would rather see us properly implement ng-model-options, but I know this is a big feature request.

I'm okay with doing this in the interim. I will try and review and get merged in later today.