vue-editify 0.2.23 → 0.2.25

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.d.ts CHANGED
@@ -632,6 +632,7 @@ declare const Editify: import('./core/tool').SFCWithInstall<import('vue').Define
632
632
  observe: (target: Node, options?: MutationObserverInit) => void;
633
633
  takeRecords: () => MutationRecord[];
634
634
  } | null;
635
+ __illegalDoms: Node[];
635
636
  initRange: () => void;
636
637
  delete: () => void;
637
638
  insertText: (data: string) => void;
@@ -952,5 +953,5 @@ export type * from './editify/menu';
952
953
  export type * from './editify/toolbar';
953
954
  export { elementIsMatch, getMatchElementByElement, getMatchElementByRange, elementIsList, getListByElement, hasListInRange, rangeIsInList, elementIsTask, getTaskByElement, hasTaskInRange, rangeIsInTask, elementIsAttachment, hasAttachmentInRange, elementIsMathformula, getMathformulaByElement, hasMathformulaInRange, elementIsInfoBlock, getInfoBlockByElement, hasInfoBlockInRange, rangeIsInInfoBlock, hasPreInRange, hasTableInRange, hasQuoteInRange, rangeIsInQuote, hasLinkInRange, hasImageInRange, hasVideoInRange, queryTextStyle, setTextStyle, removeTextStyle, queryTextMark, setTextMark, removeTextMark, getRangeText, addSpaceTextToBothSides, setHeading, setIndentIncrease, setIndentDecrease, setQuote, setAlign, setList, setTask, setLineHeight, insertLink, insertImage, insertVideo, insertTable, insertCodeBlock, insertSeparator, insertAttachment, insertMathformula, insertInfoBlock } from './core/function';
954
955
  declare const install: (app: App) => void;
955
- declare const version = "0.2.23";
956
+ declare const version = "0.2.25";
956
957
  export { Editify as default, Editify, install, AlexElement, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-editify",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -17,7 +17,7 @@
17
17
  "lib": "vue-tsc && vite build"
18
18
  },
19
19
  "dependencies": {
20
- "alex-editor": "^1.4.36",
20
+ "alex-editor": "^1.4.39",
21
21
  "dap-util": "^1.5.8",
22
22
  "highlight.js": "^11.8.0",
23
23
  "katex": "^0.16.10",
@@ -86,6 +86,7 @@
86
86
  font-size: var(--editify-font-size);
87
87
  position: relative;
88
88
  line-height: 1.5;
89
+ overflow-wrap: break-word;
89
90
 
90
91
  //显示占位符
91
92
  &.editify-placeholder::before {
@@ -554,6 +555,7 @@
554
555
  resize: none;
555
556
  border: none;
556
557
  border-radius: inherit;
558
+ overflow-wrap: break-word;
557
559
  z-index: 1;
558
560
  }
559
561
  }
package/src/index.ts CHANGED
@@ -100,7 +100,7 @@ const install = (app: App) => {
100
100
  app.component(Editify.name!, Editify)
101
101
  }
102
102
  //版本号
103
- const version = '0.2.23'
103
+ const version = '0.2.25'
104
104
 
105
105
  //导出组件和安装函数
106
106
  export { Editify as default, Editify, install, AlexElement, version }