vue-editify 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/examples/App.vue +21 -1
- package/lib/editify.es.js +3 -1
- package/lib/editify.umd.js +1 -1
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/index.ts +3 -3
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.
|
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
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.
|
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 }
|