当前位置:网站首页>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
官网
边栏推荐
- B_QuRT_User_Guide(31)
- Maya house modeling
- BioVendor sRAGE Elisa试剂盒测试原理和注意事项
- AVL平衡二叉树(一) - 概念与C语言实现
- Peking University ACM problems 1005:i think I need a houseboat
- Notes on modification of Jerry's test box pairing software [chapter]
- Lumiprobe 改性三磷酸盐丨生物素-11-UTP研究
- 杰理之检测灵敏度级别确定【篇】
- Analysis of breakpoint continuation and download principle
- Huffman tree (I) basic concept and C language implementation
猜你喜欢
Lumiprobe dye hydrazide - BDP FL hydrazide solution
【数字IC应届生职业规划】Chap.1 IC行业产业链概述及代表企业大厂汇总
Testing principle and precautions of biovendor rage ELISA Kit
Lumiprobe染料 NHS 酯丨BDP FL NHS 酯研究
偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
二叉查找树(一) - 概念与C语言实现
Jerry's touch key recognition process [chapter]
Lambda expression principle analysis and learning (June 23, 2022)
1. Introduction to generating countermeasures network
B_QuRT_User_Guide(32)
随机推荐
Golang应用 ━━ 安装、配置与使用hugo博客系统
MySQL:SQL概述及数据库系统介绍 | 黑马程序员
Document contains & conditional competition
Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
Jerry's touch key recognition process [chapter]
1、生成对抗网络入门
All the important spark summit features were released here last night (with ultra clear video attached)
To eliminate bugs, developers must know several bug exploration and testing artifacts.
Openfire在使用MySQL数据库后的中文乱码问题解决
B_QuRT_User_Guide(32)
MySQL简介、详细安装步骤及使用 | 黑马程序员
Wechat applet development practice cloud music
Lumiprobe蛋白质定量丨QuDye 蛋白定量试剂盒
为什么vscode用久了电脑速度变慢?
毕业设计
A complete collection of vulnerability scanning tools. Mom doesn't have to worry that I won't find any more vulnerabilities
杰理之检测灵敏度级别确定【篇】
Testing principle and precautions of biovendor rage ELISA Kit
Go语学习笔记 - gorm使用 - 数据库配置、表新增 | Web框架Gin(七)
By analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed by the industry