"items":{
"item1":"here is some text that should be paragraph1",
"item2":"here is some text that should be paragraph2",
"item3":"here is some text that should be paragraph3",
}
需要有两个部分:
1.作为单独的段落,显示在页面上
<section class="col-xs-10 col-sm-11 col-md-11" ng-repeat="x in items">
<h3>Item {{$index+1}}</h3>
<p>{{x}}</p>
</section>
<textarea>
进行编辑。是否可能 - 或者可能更好地将这些物品放在一起然后分开?
答案 0 :(得分:0)
解决方法是将每个段落添加为textarea并隐藏为空。