We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uniapp 打包 mp-html 2.1
markdown在头条小程序里 代码块无法渲染
其他场景下正常
直接跑头条小程序即可
The text was updated successfully, but these errors were encountered:
是不是还用了 highlight 插件?
highlight
Sorry, something went wrong.
是不是还用了highlight插件?
已经删除了 还是这样,可能是字节的问题吧,我渲染md文件,和其他小程序都相差很多,我已经放弃了 使用web-view给头条小程序用了
我试了一下,uni-app 编译的时候默认给组件设置了 addGlobalClass,头条小程序设置了 addGlobalClass 导致组件内的 rich-text 里标签的 class 无法匹配组件 ttss 中的内容,导致一些样式丢失了 试试这个 demo.zip 是不是正常的
uni-app
addGlobalClass
rich-text
class
ttss
修复了 uni-app 包使用 highlight 插件运行到头条小程序时可能没有样式的问题 #280
7f9deea
No branches or pull requests
使用环境
uniapp 打包
mp-html 2.1
问题描述
markdown在头条小程序里 代码块无法渲染
其他场景下正常
复现方式
直接跑头条小程序即可
The text was updated successfully, but these errors were encountered: