新增特性
- 🌟 导出
clearSideEffects,文档。
重构
- ⭐️ 使用 lucide 替换默认的图标,移除了
noIconfont相关属性。 - ⭐️ 使用
id替换editorId属性(仅MdEditor和MdPreview),使用useId获取默认值(你需要使用vue@3.5以上)。 - ⭐️ 导出
XSSPlugin, 不再默认添加 XSS 扩展到组件,示例。 - ⭐️ 优化
MdCatalog组件,新增指示器。
修复问题
- 🐞 命名错误,以前:
inputBoxWitdh,现在:inputBoxWidth。
New Features
- 🌟 Export
clearSideEffects, Docs.
Refactor
- ⭐️ Replace
editorIdproperty withid(onlyMdEditorandMdPreview), useuseIdto get default value(you need to use vue@3.5 or above). - ⭐️ Export
XSSPlugin, no longer include XSS protection by default, Example. - ⭐️ Use lucide to replace default icons, remove attribute
noIconfont. - ⭐️ Optimize component
MdCatalog, add indicator.
Fixed Bugs
- 🐞 Naming error, previously:
inputBoxWitdh, now:inputBoxWidth.