提交 7f3bc165 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

修改 rich-text 示例

上级 80cbd0f3
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
</view> </view>
<view class="uni-title"> <view class="uni-title">
<text class="uni-subtitle-text">selectable</text> <text class="uni-subtitle-text">selectable</text>
<button type="default" @click="changeText">修改文本内容</button>
</view> </view>
<view class="text-box"> <view class="text-box">
<rich-text id="richtext" @click="changeText" style="border: 1px; border-style: solid; border-color: red;" :selectable="true" <rich-text id="richtext" style="border: 1px; border-style: solid; border-color: red;" :selectable="true"
:nodes="text"></rich-text> :nodes="text"></rich-text>
</view> </view>
</view> </view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册