官网地址 wangEditor官网
工具栏配置
共有58个key
toolbarKeys: [
"bold","underline","italic","through","code","sub","sup","clearStyle","color",
"bgColor","fontSize","fontFamily","indent","delIndent",
"justifyLeft","justifyRight","justifyCenter","justifyJustify",
"lineHeight","insertImage","deleteImage","editImage","viewImageLink",
"imageWidth30","imageWidth50","imageWidth100","divider",
"emotion","insertLink","editLink","unLink","viewLink","codeBlock","blockquote","headerSelect","header1",
"header2","header3","header4","header5","todo","redo","undo","fullScreen","bulletedList",
"numberedList","insertTable","deleteTable","insertTableRow","deleteTableRow","insertTableCol",
"deleteTableCol","tableHeader","tableFullWidth",
"insertVideo","uploadVideo","uploadImage","codeSelectLang"
]
把所有工具栏列出来,就是下图:

解决ios无法选中的问题
div *{ -webkit-user-select:text; outline: none; }
div{ -webkit-user-select:text; outline: none; }
使用
模板
<template>
<view>
<!-- <link href=

博客围绕wangEditor展开,介绍了其官网地址,详细说明了工具栏配置,共有58个key并列出所有工具栏。还解决了ios无法选中的问题,给出相关代码,最后提及了使用模板和script等内容。
最低0.47元/天 解锁文章
2532

被折叠的 条评论
为什么被折叠?



