Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何实现支持v-html #18

Open
6 tasks
422656004 opened this issue Dec 13, 2018 · 3 comments
Open
6 tasks

如何实现支持v-html #18

422656004 opened this issue Dec 13, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@422656004
Copy link

问题类型

  • 如何实现某功能
  • 报 BUG
  • 某功能改进建议
  • 新功能建议
  • 文档问题
  • 其他/以上都不是

问题详情

期望效果

实际情况

复现步骤 和 问题示例

问题环境

@wuhy
Copy link
Collaborator

wuhy commented Dec 13, 2018

目前 okam 还未提供相应指令支持,如需要支持的话,可以参考 wxParse 实现。

@wuhy wuhy added the enhancement New feature or request label Dec 13, 2018
@422656004
Copy link
Author

参考wxParse 了 插件,也是模拟他的实现方案;
新建一个





然后 把里面的template 拆分各个组件层层引用
还 独立出来 EmojiView.vue ParseImg.vue ParseVideo.vue 用来个子组件调用里面的 js 处理直接用了wxParse 里面的

@xhong0
Copy link
Collaborator

xhong0 commented Jul 22, 2019

基于rich-text支持v-html: https://ecomfe.github.io/okam/#/template/v-html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants