⭐️ 新增特性:
- ⭐️
MdEditor.MdCatalog组件新增scrollElementOffsetTop属性,滚动区域的固定顶部高度(#191 ),默认 0。 - ⭐️
autoFocus属性。textarea标签的原生属性,默认false。 - ⭐️
disabled属性。textarea标签的原生属性,默认false。 - ⭐️
readOnly属性。textarea标签的原生属性,默认false。 - ⭐️
maxLength属性。textarea标签的原生属性。 - ⭐️
autoDetectCode属性。设置为true后,粘贴来自其他编辑器的代码时会自动标记代码类型(目前仅支持vscode)(#192 ),默false。 - ⭐️ 挂载实例属性(文档):
- ⭐️
focus:手动聚焦输入框。
- ⭐️
🐞 修复:
- 🐞 文档:
codeStyleReverse属性默认值错误。 - 🐞 错的mermaid数据未禁用生产自动渲染。
⭐️ New Feature:
- ⭐️ Component
MdEditor.MdCatalog:PropscrollElementOffsetTop, offsetTop of the scroll container(#191 ),defalut 0. - ⭐️ Prop
autoFocus, same asautofocusin native textarea, defaultfalse. - ⭐️ Prop
disabled, same asdisabledin native textarea, defaultfalse. - ⭐️ Prop
readOnly, same asreadonlyin native textarea, defaultfalse. - ⭐️ Prop
maxLength, same asmaxlengthin native textarea. - ⭐️ Prop
autoDetectCode, auto detect the type of pasted code, only support that copied fromvscode(#192 ), defaultfalse. - ⭐️ Exposed properties(Documentation):
- ⭐️
focus: focus the textarea manually.
- ⭐️
🐞 Fix:
- 🐞 Document: Wrong default value of prop
codeStyleReverse. - 🐞 Mermaid was rendering content auto.