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

修改 rich-text 示例

(cherry picked from commit 7f3bc165)
上级 5ba01433
...@@ -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.
先完成此消息的编辑!
想要评论请 注册