How to read a big innerHTML in Angular

  angular, angularjs, javascript, typescript

i create a text editor like this:

enter image description here

  • create a var that each change on text editor will receive the full content innerHTML.

enter image description here

but the problem begin when i wrote to much text and add images, cus this edtior conver the image to base64, wich made the content innerHTML big. then my var descriptionContent can’t read the full content, only a certain size. i realized that after the innerHtml get big appears a option to copy the content, i think that is because of this my variable isn’t read all content.
i pretend to save this content in database.

enter image description here

Source: AngularJS Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.