mavonEditor icon indicating copy to clipboard operation
mavonEditor copied to clipboard

[Bug] 文本中包含"$xxx$",被渲染成公式

Open AgAngle opened this issue 1 year ago • 1 comments

版本

2.10.4

问题描述

我的文本内容是个json串: {"skuId": "${skuId}", "productId": "${productId}"} 结果渲染成这样了: image

期望

"$xxx$"语法我能理解,但是一般"$xxx$"后面跟个空格才当作公式渲染吧,现在文本中带了两个$就当作公式,应该不合理吧? 能不能"$xxx$"后面跟个空格才当做公式,或者能不能关掉公式渲染的功能? 另外如果有修复 2.x 的版本会修改吗?我看 3.x 用的 vue3,老项目不能直接升级 vue3 。 感谢!

AgAngle avatar Sep 24 '24 08:09 AgAngle

你的文本可以用code吗?code里面是忽略公式的

thwblueboy avatar Nov 28 '24 01:11 thwblueboy