@8btc/mditor 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/method.d.ts CHANGED
@@ -37,6 +37,8 @@ declare class Vditor {
37
37
  static mediaRender: (element: HTMLElement) => void;
38
38
  /** 对选中的文字进行阅读 */
39
39
  static speechRender: (element: HTMLElement, lang?: keyof II18n) => void;
40
+ /** 渲染 selection 代码块为文件选择标签 */
41
+ static selectionRender: (element: HTMLElement) => void;
40
42
  /** 对图片进行懒加载 */
41
43
  static lazyLoadImageRender: (element?: HTMLElement | Document) => boolean;
42
44
  /** Markdown 文本转换为 HTML,该方法需使用[异步编程](https://ld246.com/article/1546828434083?r=Vaness) */