vue-editify 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/editify.es.js +106 -116
- package/lib/editify.umd.js +2 -2
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/editify/editify.less +2 -0
- package/src/index.ts +1 -1
package/lib/index.d.ts
CHANGED
@@ -953,5 +953,5 @@ export type * from './editify/menu';
|
|
953
953
|
export type * from './editify/toolbar';
|
954
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';
|
955
955
|
declare const install: (app: App) => void;
|
956
|
-
declare const version = "0.2.
|
956
|
+
declare const version = "0.2.25";
|
957
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.
|
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.
|
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",
|
package/src/editify/editify.less
CHANGED
@@ -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