Angular 4 problem when setting data in the text editor

Asked

Viewed 28 times

0

I have a text editor and word type and in that I need to add a text that comes from a modal to that editor, with the two way data Binding I can set the variable with the data that are coming from modal and it inserts, but I add several text editors, and they are coming with the value of the first editor, I wanted to know how to fix this problem

  <div class="row">
        <div class="col-md-8">
            <app-tinymce [(ngModel)]="descricao"></app-tinymce>
        </div>
  </div>
  • <div class="Row"> <div class="col-Md-8"> <app-tinymce [(ngModel)]="Description"></app-tinymce> </div> </div>

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.