当前位置:网站首页>uniapp-富文本编辑器
uniapp-富文本编辑器
2022-06-30 20:20:00 【智江鹏】
功能介绍
- 支持在多个主流的小程序平台和
uni-app中使用- 支持丰富的标签(包括
table、video、svg等)- 支持丰富的事件效果(自动预览图片、链接处理等)
- 支持设置占位图(加载中、出错时、预览时)
- 支持锚点跳转、长按复制等丰富功能
- 支持大部分 html 实体
- 丰富的插件(关键词搜索、内容 编辑 等)
- 效率高、容错性强且轻量化(
≈24.5KB,9KB gzipped)
uni-app
将源码中
dist/uni-app内的内容拷贝到项目根目录下
可以直接通过 插件市场 引入在需要使用页面的
vue文件中添加
<template>
<view>
<mp-html :content="html" />
</view>
</template>
<script>
import mpHtml from '@/components/mp-html/mp-html'
export default {
// HBuilderX 2.5.5+ 可以通过 easycom 自动引入
components: {
mpHtml
},
data() {
return {
html: '<div>Hello World!</div>'
}
}
}
</script>组件属性
组件事件

api


官网
边栏推荐
- Originpro 2021 with installation tutorial
- [1175. prime number arrangement]
- Solve the problems of Devops landing in complex environment with various tools with full stack and full function solutions
- Halcon knowledge: check the measurement objects [1]
- By analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed by the industry
- RP原型资源分享-购物类App
- Jerry's question about long press boot detection [chapter]
- AVL平衡二叉树(一) - 概念与C语言实现
- A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities
- MFC界面库BCGControlBar v33.0 - 桌面警报窗口、网格控件升级等
猜你喜欢

Wechat applet development practice cloud music
![Jerry's touch key recognition process [chapter]](/img/cf/8dacbb7f80e427276df6201dddd377.png)
Jerry's touch key recognition process [chapter]

SQL优化

在线教育项目用户登录和注册

Solve the problems of Devops landing in complex environment with various tools with full stack and full function solutions

B_QuRT_User_Guide(33)

NLP paper lead reading | what about the degradation of text generation model? Simctg tells you the answer

MySQL简介、详细安装步骤及使用 | 黑马程序员

Amazon restricts LGBTQ related search and product sales in the United Arab Emirates

Great God detailed open source Buff gain Introduction 丨 Live
随机推荐
Lumiprobe cell biology - dia, instructions for lipophilic tracer
Binary search tree (1) - concept and C language implementation
B_QuRT_User_Guide(35)
No "history of blood and tears" in home office | community essay solicitation
Halcon knowledge: check the measurement objects [1]
Basic components of STL
mysql登录出现1045错误修改方法[通俗易懂]
B_QuRT_User_Guide(34)
北京大学ACM Problems 1001:Exponentiation
Huffman Tree (1) Basic Concept and C - language Implementation
Jerry's touch key recognition process [chapter]
哈夫曼树(一)基本概念与C语言实现
The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's first disciple
Basic concepts of tree
maya房子建模
【微服务~Nacos】Nacos之配置中心
What bank card do you need to open an account online? In addition, is it safe to open an account online now?
Jenkins can't pull the latest jar package
Build your own website (20)
Summary of PHP file upload (garbled code, move failure, permission, display picture)