Tinymce repeat doubles

1

I have the following:

  $scope.tinymceOptions = {
          mode : "specific_textareas",
          editor_selector : "w95",

          height: 100,
          plugins: "textcolor",

          toolbar1: "bold italic underline | bullist numlist | fontselect fontsizeselect | forecolor",
........................ }

and in my html:

<div ng-repeat="producto in productos">
  <textarea ui-tinymce="tinymceOptions" ng-model="area_producto">{{x}}</textarea>
</div>

Suppose I have 2 products, instead of leaving 2 textarea, it doubles and I get 2 for each product

    
asked by sirdaiz 10.07.2017 в 14:00
source

0 answers