v3.3.6

Vanessa219/vditorv3.3.6Jul 10, 2020by Vanessa219

AI Summary

Adds configuration for upload fields and improves user experience in SV mode.

Key Highlights

  • New `fieldName` option for uploads
  • Improved paragraph splitting in SV mode
  • Default value change for `setext` rendering
  • Fix for empty files array in upload format

Breaking Changes

  • Default value of `options.preview.markdown.setext` changed to `true`

New Features

  • Upload field configuration
  • UX improvements

Full Release Notes

### Issues

* [555](https://github.com/Vanessa219/vditor/issues/555) SV 模式段落块拆分问题 `修复缺陷`
* [556](https://github.com/Vanessa219/vditor/issues/556) options.preview.markdown.setext 默认值修改为 true `改进功能`
* [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) 子任务列表回车问题 `改进功能`

### API

* 添加 `options.upload.fieldName`
* `options.preview.markdown.setext` 默认值修改为 `true`