How to read a big innerHTML in Angular

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