x-extends / vxe-table

Vxe table 的表格组件
https://vxetable.cn
MIT License
7.58k stars 1.05k forks source link

可不可以在vxe-table-colum里置入wysiwyg? #991

Closed Loong1992 closed 4 years ago

Loong1992 commented 4 years ago

(必填)这个需求解决了什么问题: 让vxe-table-colum可以加入wysiwyg。当描述太长,有大量讯息的时候,使用textarea会让读者眼花缭乱而忽略重点和讯息。这时如果可以使用wysiwyg highlight关键词,读者可以更快得到关键讯息。

建议的 API 是什么样的: 不知道可不可以在vxe-table-colum里加入 tinymce-vue 或者 element-tiptap 之类的WYSIWYG。 <vxe-table-column field="note" title="Note" :edit-render="{name: 'tinymce', attrs: {inline: true}}" /> <vxe-table-column field="note" title="Note" :edit-render="{name: 'tiptap', attrs: {inline: true}}" />

例如: wysiwyg

是否已有其他不错的替代方案: 找了几天暂时还没找到替代方法,看来是没有。

谢谢。

Loong1992 commented 4 years ago

仔细看了大大的documentation后,发现到了解决方法。 谢谢!