vue-editify 0.1.30 → 0.1.31

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/lib/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export type { AttachmentOptionsType } from './plugins/attachment';
9
9
  export type { InsertAttachmentUploadErrorType } from './plugins/attachment/insertAttachment/props';
10
10
  export { getParsedomElementByElement, getCurrentParsedomElement, elementIsInList, elementIsInTask, isList, isTask, hasPreInRange, isRangeInPre, hasQuoteInRange, isRangeInQuote, hasListInRange, isRangeInList, hasTaskInRange, isRangeInTask, hasLinkInRange, hasTableInRange, hasImageInRange, hasVideoInRange, queryTextStyle, queryTextMark, getRangeText, setIndentIncrease, setIndentDecrease, setQuote, setAlign, setList, setTask, setTextStyle, setTextMark, removeTextStyle, removeTextMark, setLineHeight, insertLink, insertImage, insertVideo, insertTable, insertCodeBlock } from './core/function';
11
11
  declare const install: FunctionPlugin;
12
- declare const version = "0.1.30";
12
+ declare const version = "0.1.31";
13
13
  export { AlexElement } from 'alex-editor';
14
- export { attachment } from './plugins/attachment';
14
+ export { attachment, isAttachment, hasAttachmentInRange } from './plugins/attachment';
15
15
  export { install as default, install, Editify, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-editify",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "*.css"
package/src/index.ts CHANGED
@@ -21,13 +21,13 @@ const install: FunctionPlugin = (app: App) => {
21
21
  app.component(Editify.name!, Editify)
22
22
  }
23
23
  //版本号
24
- const version = '0.1.30'
24
+ const version = '0.1.31'
25
25
 
26
26
  //导出AlexElement元素
27
27
  export { AlexElement } from 'alex-editor'
28
28
 
29
- //导出插件
30
- export { attachment } from './plugins/attachment'
29
+ //导出插件和插件相关方法
30
+ export { attachment, isAttachment, hasAttachmentInRange } from './plugins/attachment'
31
31
 
32
32
  //导出组件和安装函数
33
33
  export { install as default, install, Editify, version }