微信小程序如何插入富文本编辑器?
网友回复
有一个组件叫<rich-text>
const htmlSnip = `<div class="div_class"> <h1>Title</h1> <p class="p"> Life is <i>like</i> a box of <b> chocolates</b>. </p> </div> ` const nodeSnip = `Page({ data: { nodes: [{ name: 'div', attrs: { class: 'div_class', style: 'line-height: 60px; color: red;' }, children: [{ type: 'text', text: 'You never know what you're gonna get.' }] ...
点击查看剩余70%