for (let i = datas.length - 1; i >= 0; i--) {
let idone = ".editor" + i
wx.createSelectorQuery().select(idone).context(function(res) {
let editorCtx = res.context
editorCtx.setContents({
html: _this.data.objectArr[i].html,
success: function() {
console.log('insert html success')
}
})
}).exec()
}
<editor style="width: 600rpx;" class="editor {{'editor' + index}}" placeholder-style="color: red;" placeholder='点击添加文字' maxlength="-1" value='{{item.text}}' data-index='{{index}}' bindinput='textObject'></editor>

试试吧,没试过
read-only="{{readOnly}}"
赋值前先
this.setData({
readOnly: !0
})
全部赋值完才
this.setData({
readOnly: !1
})