fix(测试跟踪): 富文本框英文引号预览时变成中文引号

--bug=1028489 --user=陈建星 【测试跟踪】github#26054,功能用例-创建用例,添加前置条件时,英文的引号,保存后,自动变成了中文引号 https://www.tapd.cn/55049933/s/1403814
This commit is contained in:
jianxing 2023-08-15 15:21:44 +08:00 committed by 刘瑞斌
parent a6d3f9e16b
commit f71dcd84fb
2 changed files with 10 additions and 0 deletions

View File

@ -164,6 +164,11 @@ export default {
}
},
mounted() {
let markdownIt = this.$refs.md.markdownIt;
if (markdownIt) {
//
markdownIt.options.typographer = false;
}
if (!this.disabled) {
//
let el = document.getElementById(this.id);

View File

@ -153,6 +153,11 @@
}
},
mounted() {
let markdownIt = this.$refs.md.markdownIt;
if (markdownIt) {
//
markdownIt.options.typographer = false;
}
if (!this.disabled) {
//
let el = document.getElementById(this.id);