Skip to content

Commit

Permalink
🚸 fix #556
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jul 10, 2020
1 parent 75d9a99 commit 85ff702
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@

### v3.3.6 / 2020-07-xx

* [556](https://github.com/Vanessa219/vditor/issues/556) options.preview.markdown.setext 默认值修改为 false `改进功能`
* [554](https://github.com/Vanessa219/vditor/issues/554) SV 模式 Ctrl+u 代码块生成光标初始定位优化 `改进功能`
* [558](https://github.com/Vanessa219/vditor/issues/558) [suggestion] shift+enter and end the lists `改进功能`
* [547](https://github.com/Vanessa219/vditor/issues/547) 文件上传 format 第一个参数 files 为空数组 `修复缺陷`
* [562](https://github.com/Vanessa219/vditor/issues/562) 为上传添加 fieldName 选项 `引入特性`
* [553](https://github.com/Vanessa219/vditor/issues/553) 子任务列表回车问题 `改进功能`
* 添加 `options.upload.fieldName`
* `options.preview.markdown.setext` 默认值修改为 `false`

### v3.3.5 / 2020-07-09

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ new Vditor('vditor', {
| toc | Insert Table of Contents | false |
| footnotes | Footnotes | true |
| codeBlockPreview |Whether to render code blocks in wysiwyg and ir modes | true |
| setext | Whether to parse the setext header | fa;se |
| setext | Whether to parse the setext header | true |
| paragraphBeginningSpace | Two spaces before the paragraph | false |
| sanitize | Use XSS | true |
| listStyle | add data-style attribute | false |
Expand Down
2 changes: 1 addition & 1 deletion src/ts/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export abstract class Constants {
listStyle: false,
paragraphBeginningSpace: false,
sanitize: true,
setext: false,
setext: true,
toc: false,
};
public static readonly HLJS_OPTIONS = {
Expand Down

0 comments on commit 85ff702

Please sign in to comment.