"html富文本"组件:<richtext> —— 快应用原生组件




<template>
<div class="container-full">
<richtext type="html">{{content}}</richtext>
</div>
</template>
<style lang="less">
@import '../Common/styles/container.less';
</style>
<script>
export default {
private: {
content: <div class="item-content" style="background-color: #FFFFFF">
<style>h1{color: red;}</style>
<p class="item-title">h1</p>
<h1>文本测试</h1>
<p class="item-title">h2</p>
<h2>文本测试</h2>
<p class="item-title">h3</p>
<h3>文本测试</h3>
<p class="item-title">h4</p>
<h4>文本测试</h4>
<p class="item-title">h5</p>
<h5>文本测试</h5>
<p class="item-title">h6</p>
<h6>文本测试</h6>
<h3 class="item-title">mark标签</h3>
You can use the mark tag to <mark>highlight</mark> text.
<h3 class="item-title">del标签:被删除的文本</h3>
<del>This line of text is meant to be treated as deleted text.</del>
<h3 class="item-title">s标签:无用的文本</h3>
<s>This line of text is meant to be treated as no longer accurate.</s>
<h3 class="item-title">ins标签:额外插入的文本</h3>
<ins>This line of text is meant to be treated as an addition to the document.</ins>
<h3 class="item-title">u标签:为文本添加下划线</h3>
<u>This line of text will render as underlined</u>
<h3 class="item-title">small标签:小号文本</h3>
<small>This line of text is meant to be treated as fine print.</small>
<h3 class="item-title">文本强调</h3>
<strong>This line of text is meant to be treated as fine print.</strong>
<em>This line of text is meant to be treated as fine print.</em>
<p class="item-title">a</p>
<div>
<a href="https://www.quickapp.cn/" style="color: #09ba07;text-decoration: underline">文本测试</a>
</div>
<p class="item-title">img</p>
<div>
<img src="https://bbs.quickapp.cn/template/dingzhi_x_oneplus/dingzhi/logo.png" style="width: 100%;"/>
</div>
<p class="item-title">p</p>
<p>文本测试</p>
<p class="item-title">span</p>
<p><span>文本测试</span></p>
<p class="item-title">strong</p>
<p><strong>文本测试</strong></p>
<p class="item-title">del</p>
<p><del>文本测试</del></p>
<p class="item-title">b</p>
<p><b>文本测试</b></p>
<p class="item-title">i</p>
<p><i>文本测试</i></p>
</div>
}
<script>
扫码体验

"html富文本"组件:<richtext> —— 快应用原生组件的更多相关文章
- "格式化的文本"组件:<span> —— 快应用原生组件
 `<template> <div class="container"> <text><span class="success ...
- "文本"组件:<text> —— 快应用原生组件
 <template> <div class="container"> <text>H-UI</text> </div> ...
- 2.15 富文本(richtext)
2.15 富文本(richtext) 前言 富文本编辑框是做web自动化最常见的场景,有很多小伙伴不知从何下手,本篇以博客园的编辑器为例,解决如何定位富文本,输入文本内容一.加载配置 1 ...
- zx-editor 移动端(HTML5)富文本编辑器,可与原生App混合(hybrid)开发
ZxEditor 移动端HTML文档(富文本)编辑器,支持图文混排.引用.大标题.无序列表,字体颜色.加粗.斜体. 可用于独立web项目开发,也可以用于与原生App混合(hybrid)开发. 源码地址 ...
- ueditor富文本编辑器使用百度地图自定义动态地图组件及兼容https及http协议
ueditor富文本编辑器默认支持百度地图组件,但是如果导入动态地图后会加很多默认的地图组件在上面.如果需要自定义动态地图的组件则需要修改ueditor特定的html. ueditor百度地图组件所在 ...
- "多行文本"组件:<multi> —— 快应用组件库H-UI
 <import name="multi" src="../Common/ui/h-ui/text/c_text_multi"></impo ...
- 给web项目整合富文本编辑器
给jsp页面整合富文本编辑器下载——删除多余的组件——加入到项目中——参照案例来完成整合步骤:1. 解压zip文件,将所有文件复制到Tomcat的webapps/kindeditor目录下. 2. 将 ...
- (转)淘淘商城系列——KindEditor富文本编辑器的使用
http://blog.csdn.net/yerenyuan_pku/article/details/72809794 通过上文的学习,我们知道了怎样解决KindEditor富文本编辑器上传图片时的浏 ...
- (转)学习淘淘商城第二十二课(KindEditor富文本编辑器的使用)
http://blog.csdn.net/u012453843/article/details/70184155 上节课我们一起学习了怎样解决KindEditor富文本编辑器上传图片的浏览器兼容性问题 ...
随机推荐
- vscode 的tab空格设置设置为4的方法
1.点击“文件>首选项>设置” 进入设置页面,设置如下几个选项 2.在“文件>首选项>设置” 的“用户设置”里添加 "editor.detectIndentation ...
- ECNU 计算机系统 (CSAPP) 教材习题作业答案集
这里是华东师范大学计算机系统的作业答案.由于几乎每一年布置的习题都几乎相同,网上的答案又比较分散,就把自己上学期提交的作业pdf放上来了,供参考. 长这样 Download Link:http://c ...
- 大数据软件安装之HBase(NoSQL数据库)
一.安装部署 1.Zookeeper正常部署 (见前篇博文大数据软件安装之ZooKeeper监控 ) [test@hadoop102 zookeeper-3.4.10]$ bin/zkServer.s ...
- SpringBoot2 线程池的定义和使用
SpringBoot2 线程池的定义和使用 定义线程池 @Slf4j @EnableAsync @Configuration public class AsyncExecutorConfig impl ...
- 免费IP归属地查询接口汇总
目前做一个项目,需要判断是国内还是国外的IP,具体要求为接口稳定,速度快,免费,不异常,所以我整理了优质的接口供大家筛选. IP归属地查询API 一,淘宝API接口 http://ip.taobao. ...
- React Hook上车
React Hook 是 v16.8 的新功能,自诞生以来,受到广泛的好评,在 React 版本更新中具有里程碑的意义.现在都2020年了,再不上车 React Hook 就真的 out 了... H ...
- 单调栈-Maximum Width Ramp
2020-01-23 19:39:26 问题描述: 问题求解: public int maxWidthRamp(int[] A) { Stack<Integer> stack = new ...
- 动态规划/MinMax-Predict the Winner
2018-04-22 19:19:47 问题描述: Given an array of scores that are non-negative integers. Player 1 picks on ...
- UNIX环境高级编程——TCP/IP网络编程 常用网络信息检索函数
UNIX环境高级编程——TCP/IP网络编程 常用网络信息检索函数 gethostname() getppername() getsockname() gethostbyname() ...
- Dropout的前世与今生
Dropout 是一类用于神经网络训练或推理的随机化技术,这类技术已经引起了研究者们的广泛兴趣,并且被广泛地应用于神经网络正则化.模型压缩等任务.虽然 Dropout 最初是为密集的神经网络层量身定制 ...