Skip to content

Commit fc0a69b

Browse files
committed
feat: formula config live default
1 parent 46b84ea commit fc0a69b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist-min/ueditor.config.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ueditor.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@
214214
// 公式配置
215215
, formulaConfig: {
216216
// 公式渲染链接模板
217-
imageUrlTemplate: 'https://latexeasy.com/image.svg?{}',
217+
imageUrlTemplate: 'https://r.latexeasy.com/image.svg?{}',
218218
// 编辑器模式 plain live
219-
editorMode: 'plain',
219+
editorMode: 'live',
220220
// 编辑器地址
221221
editorLiveServer: 'https://latexeasy.com',
222222
}

ueditor.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@
214214
// 公式配置
215215
, formulaConfig: {
216216
// 公式渲染链接模板
217-
imageUrlTemplate: 'https://latexeasy.com/image.svg?{}',
217+
imageUrlTemplate: 'https://r.latexeasy.com/image.svg?{}',
218218
// 编辑器模式 plain live
219-
editorMode: 'plain',
219+
editorMode: 'live',
220220
// 编辑器地址
221221
editorLiveServer: 'https://latexeasy.com',
222222
}

0 commit comments

Comments
 (0)