@progress/kendo-angular-editor 4.1.10 → 4.1.11-dev.202210050900
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/common/styles.d.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
8
|
-
export declare const defaultStyle = "\n html, body {\n margin: 0;\n height: 100%;\n padding: 0;\n }\n\n html {\n min-height: 100%;\n }\n\n body {\n box-sizing: border-box;\n position: relative;\n word-wrap: break-word;\n padding: 8px;\n }\n\n body > .k-content {\n outline: 0;\n height: 100%;\n white-space: pre-wrap;\n }\n\n div.ProseMirror {\n position: relative;\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n }\n\n .ProseMirror pre {\n white-space: pre-wrap;\n }\n\n .k-content > p {\n margin: 0 0 1em;\n }\n\n .k-content table {\n white-space: pre-wrap;\n }\n\n .k-content .k-text-selected, .k-content::selection {\n color: HighlightText;\n background-color: Highlight;\n }\n\n .k-content .k-text-highlighted {\n background-color: #bbdefb;\n }\n\n .k-content .ProseMirror-selectednode {\n outline: 2px solid #8cf;\n }\n\n .ProseMirror-hideselection *::selection { background: transparent; }\n .ProseMirror-hideselection *::-moz-selection { background: transparent; }\n .ProseMirror-hideselection { caret-color: transparent; }\n\n .ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n }\n\n .ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n }\n\n @keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n }\n\n .ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n }\n\n .k-editor-resize-handles-wrapper {\n position: absolute;\n visibility: hidden;\n }\n\n .k-editor-resize-handle {\n position: absolute;\n visibility: visible;\n background-color: #fff;\n border: 1px solid #000;\n z-index: 100;\n width: 5px;\n height: 5px;\n }\n\n .k-editor-resize-handle.northwest {\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: nw-resize;\n }\n\n .k-editor-resize-handle.north {\n top: 0;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: n-resize;\n }\n\n .k-editor-resize-handle.northeast {\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n cursor: ne-resize;\n }\n\n .k-editor-resize-handle.southwest {\n left: 0;\n bottom: 0;\n transform: translate(-50%, 50%);\n cursor: sw-resize;\n }\n\n .k-editor-resize-handle.south {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n cursor: s-resize;\n }\n\n .k-editor-resize-handle.southeast {\n right: 0;\n bottom: 0;\n transform: translate(50%, 50%);\n cursor: se-resize;\n }\n\n .k-editor-resize-handle.west {\n top: 50%;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: w-resize;\n }\n\n .k-editor-resize-handle.east {\n top: 50%;\n right: 0;\n transform: translate(50%, -50%);\n cursor: e-resize;\n }\n\n .ProseMirror .k-placeholder::before {\n content: attr(data-placeholder);\n height: 0;\n color: #8a8a8a;\n float: left;\n opacity: 1;\n cursor: text;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .ProseMirror li {\n position: relative;\n }\n\n li.ProseMirror-selectednode {\n outline: none;\n }\n\n li.ProseMirror-selectednode:after {\n content: \"\";\n position: absolute;\n left: -32px;\n right: -2px;\n top: -2px;\n bottom: -2px;\n border: 2px solid #8cf;\n pointer-events: none;\n }\n";
|
|
8
|
+
export declare const defaultStyle = "\n html, body {\n margin: 0;\n height: 100%;\n padding: 0;\n }\n\n html {\n min-height: 100%;\n }\n\n body {\n box-sizing: border-box;\n position: relative;\n word-wrap: break-word;\n padding: 8px;\n }\n\n body > .k-content {\n outline: 0;\n height: 100%;\n white-space: pre-wrap;\n }\n\n div.ProseMirror {\n position: relative;\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: \"liga\" 0; /* the above doesn't seem to work in Edge */\n }\n\n .ProseMirror pre {\n white-space: pre-wrap;\n }\n\n .k-content > p {\n margin: 0 0 1em;\n }\n\n .k-content table {\n white-space: pre-wrap;\n }\n\n .k-content .k-text-selected, .k-content::selection {\n color: HighlightText;\n background-color: Highlight;\n }\n\n .k-content .k-text-highlighted {\n background-color: #bbdefb;\n }\n\n .k-content .ProseMirror-selectednode {\n outline: 2px solid #8cf;\n }\n\n .ProseMirror-hideselection *::selection { background: transparent; }\n .ProseMirror-hideselection *::-moz-selection { background: transparent; }\n .ProseMirror-hideselection { caret-color: transparent; }\n\n .ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n }\n\n .ProseMirror-gapcursor:after {\n content: \"\";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n }\n\n @keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n }\n\n .ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n }\n\n .k-editor-resize-handles-wrapper {\n position: absolute;\n visibility: hidden;\n }\n\n .k-editor-resize-handle {\n position: absolute;\n visibility: visible;\n background-color: #fff;\n border: 1px solid #000;\n z-index: 100;\n width: 5px;\n height: 5px;\n }\n\n .k-editor-resize-handle.northwest {\n top: 0;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: nw-resize;\n }\n\n .k-editor-resize-handle.north {\n top: 0;\n left: 50%;\n transform: translate(-50%, -50%);\n cursor: n-resize;\n }\n\n .k-editor-resize-handle.northeast {\n top: 0;\n right: 0;\n transform: translate(50%, -50%);\n cursor: ne-resize;\n }\n\n .k-editor-resize-handle.southwest {\n left: 0;\n bottom: 0;\n transform: translate(-50%, 50%);\n cursor: sw-resize;\n }\n\n .k-editor-resize-handle.south {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n cursor: s-resize;\n }\n\n .k-editor-resize-handle.southeast {\n right: 0;\n bottom: 0;\n transform: translate(50%, 50%);\n cursor: se-resize;\n }\n\n .k-editor-resize-handle.west {\n top: 50%;\n left: 0;\n transform: translate(-50%, -50%);\n cursor: w-resize;\n }\n\n .k-editor-resize-handle.east {\n top: 50%;\n right: 0;\n transform: translate(50%, -50%);\n cursor: e-resize;\n }\n\n .ProseMirror .k-placeholder::before {\n content: attr(data-placeholder);\n height: 0;\n color: #8a8a8a;\n float: left;\n opacity: 1;\n cursor: text;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .ProseMirror li {\n position: relative;\n }\n\n li.ProseMirror-selectednode {\n outline: none;\n }\n\n li.ProseMirror-selectednode:after {\n content: \"\";\n position: absolute;\n left: -32px;\n right: -2px;\n top: -2px;\n bottom: -2px;\n border: 2px solid #8cf;\n pointer-events: none;\n }\n\n .ProseMirror[contenteditable=\"false\"] img {\n pointer-events: none;\n }\n";
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
|
-
export declare const tablesStyles = "\n .ProseMirror .tableWrapper {\n overflow-x: auto;\n margin: 1em 0;\n }\n\n .ProseMirror table {\n margin: 0;\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n overflow: hidden;\n }\n\n .ProseMirror td, .ProseMirror th {\n min-width: 1em;\n border: 1px solid #ddd;\n padding: 3px 5px;\n vertical-align: top;\n box-sizing: border-box;\n position: relative;\n }\n\n .ProseMirror th {\n font-weight: bold;\n text-align: left;\n }\n\n .ProseMirror .column-resize-handle {\n position: absolute;\n right: -2px; top: 0; bottom: 0;\n width: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n\n .ProseMirror.resize-cursor {\n cursor: ew-resize;\n cursor: col-resize;\n }\n\n /* Give selected cells a blue overlay */\n .ProseMirror .selectedCell:after {\n z-index: 2;\n position: absolute;\n content: \"\";\n left: 0; right: 0; top: 0; bottom: 0;\n background: rgba(200, 200, 255, 0.4);\n pointer-events: none;\n }\n\n /* Resizing */\n .k-editor-resize-wrap-element {\n display: inline-block;\n position: relative;\n }\n\n .ProseMirror .row-resize-handle {\n position: absolute;\n right: 0; left: 0; bottom: 0;\n transform: translate(0, 50%);\n height: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n \n .ProseMirror.resize-cursor-vertical {\n cursor: sn-resize;\n cursor: row-resize;\n }\n\n .k-editor-resize-wrap-element table td p,\n .k-editor-resize-wrap-element table th p {\n margin: 0 auto;\n }\n";
|
|
12
|
+
export declare const tablesStyles = "\n .ProseMirror .tableWrapper {\n overflow-x: auto;\n margin: 1em 0;\n }\n\n .ProseMirror table {\n margin: 0;\n border-collapse: collapse;\n table-layout: fixed;\n width: 100%;\n overflow: hidden;\n }\n\n .ProseMirror td, .ProseMirror th {\n min-width: 1em;\n border: 1px solid #ddd;\n padding: 3px 5px;\n vertical-align: top;\n box-sizing: border-box;\n position: relative;\n }\n\n .ProseMirror th {\n font-weight: bold;\n text-align: left;\n }\n\n .ProseMirror .column-resize-handle {\n position: absolute;\n right: -2px; top: 0; bottom: 0;\n width: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n\n .ProseMirror.resize-cursor {\n cursor: ew-resize;\n cursor: col-resize;\n }\n\n /* Give selected cells a blue overlay */\n .ProseMirror .selectedCell:after {\n z-index: 2;\n position: absolute;\n content: \"\";\n left: 0; right: 0; top: 0; bottom: 0;\n background: rgba(200, 200, 255, 0.4);\n pointer-events: none;\n }\n\n /* Resizing */\n .k-editor-resize-wrap-element {\n display: inline-block;\n position: relative;\n }\n\n .ProseMirror .row-resize-handle {\n position: absolute;\n right: 0; left: 0; bottom: 0;\n transform: translate(0, 50%);\n height: 4px;\n z-index: 20;\n background-color: #adf;\n pointer-events: none;\n }\n \n .ProseMirror.resize-cursor-vertical {\n cursor: sn-resize;\n cursor: row-resize;\n }\n\n .k-editor-resize-wrap-element table td p,\n .k-editor-resize-wrap-element table th p {\n margin: 0 auto;\n }\n\n .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handle,\n .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handles-wrapper,\n .ProseMirror[contenteditable=\"false\"] .row-resize-handle,\n .ProseMirror[contenteditable=\"false\"] .column-resize-handle {\n display: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] table {\n pointer-events: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] .ProseMirror-selectednode {\n outline: none;\n }\n \n .ProseMirror[contenteditable=\"false\"] {\n cursor: unset !important;\n }\n";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
package/esm2015/common/styles.js
CHANGED
|
@@ -195,6 +195,10 @@ export const defaultStyle = `
|
|
|
195
195
|
border: 2px solid #8cf;
|
|
196
196
|
pointer-events: none;
|
|
197
197
|
}
|
|
198
|
+
|
|
199
|
+
.ProseMirror[contenteditable="false"] img {
|
|
200
|
+
pointer-events: none;
|
|
201
|
+
}
|
|
198
202
|
`;
|
|
199
203
|
/**
|
|
200
204
|
* @hidden
|
|
@@ -276,6 +280,25 @@ export const tablesStyles = `
|
|
|
276
280
|
.k-editor-resize-wrap-element table th p {
|
|
277
281
|
margin: 0 auto;
|
|
278
282
|
}
|
|
283
|
+
|
|
284
|
+
.ProseMirror[contenteditable="false"] .k-editor-resize-handle,
|
|
285
|
+
.ProseMirror[contenteditable="false"] .k-editor-resize-handles-wrapper,
|
|
286
|
+
.ProseMirror[contenteditable="false"] .row-resize-handle,
|
|
287
|
+
.ProseMirror[contenteditable="false"] .column-resize-handle {
|
|
288
|
+
display: none;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.ProseMirror[contenteditable="false"] table {
|
|
292
|
+
pointer-events: none;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.ProseMirror[contenteditable="false"] .ProseMirror-selectednode {
|
|
296
|
+
outline: none;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.ProseMirror[contenteditable="false"] {
|
|
300
|
+
cursor: unset !important;
|
|
301
|
+
}
|
|
279
302
|
`;
|
|
280
303
|
/**
|
|
281
304
|
* @hidden
|
|
@@ -972,7 +972,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
972
972
|
</div>
|
|
973
973
|
|
|
974
974
|
<ng-container #dialogsContainer></ng-container>
|
|
975
|
-
`, isInline: true, styles: ["\n
|
|
975
|
+
`, isInline: true, styles: ["\n .k-editor-content > .ProseMirror {\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n outline: none;\n overflow: auto;\n }\n\n .k-iframe {\n width: 100%;\n height: 100%;\n display: block;\n }\n\n\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handles-wrapper,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handle,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .row-resize-handle,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .column-resize-handle {\n display: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] img,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] table {\n pointer-events: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] .ProseMirror-selectednode {\n outline: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] {\n cursor: unset !important;\n }\n "], components: [{ type: i5.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i5.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i5.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: i6.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: i10.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: i11.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: i12.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: i13.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: i14.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: i15.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: i16.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: i17.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: i18.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: i19.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: i20.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: i21.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: i22.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
976
976
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, decorators: [{
|
|
977
977
|
type: Component,
|
|
978
978
|
args: [{
|
|
@@ -1149,23 +1149,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1149
1149
|
|
|
1150
1150
|
<ng-container #dialogsContainer></ng-container>
|
|
1151
1151
|
`,
|
|
1152
|
-
styles: [
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
}
|
|
1152
|
+
styles: [`
|
|
1153
|
+
.k-editor-content > .ProseMirror {
|
|
1154
|
+
height: 100%;
|
|
1155
|
+
width: 100%;
|
|
1156
|
+
box-sizing: border-box;
|
|
1157
|
+
outline: none;
|
|
1158
|
+
overflow: auto;
|
|
1159
|
+
}
|
|
1161
1160
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1161
|
+
.k-iframe {
|
|
1162
|
+
width: 100%;
|
|
1163
|
+
height: 100%;
|
|
1164
|
+
display: block;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .k-editor-resize-handles-wrapper,
|
|
1169
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .k-editor-resize-handle,
|
|
1170
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .row-resize-handle,
|
|
1171
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .column-resize-handle {
|
|
1172
|
+
display: none;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.k-editor-content .ProseMirror[contenteditable="false"] img,
|
|
1176
|
+
.k-editor-content .ProseMirror[contenteditable="false"] table {
|
|
1177
|
+
pointer-events: none;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .ProseMirror-selectednode {
|
|
1181
|
+
outline: none;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
.k-editor-content .ProseMirror[contenteditable="false"] {
|
|
1185
|
+
cursor: unset !important;
|
|
1186
|
+
}
|
|
1187
|
+
`]
|
|
1169
1188
|
}]
|
|
1170
1189
|
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.ProviderService }, { type: i4.EditorToolsService }]; }, propDecorators: { value: [{
|
|
1171
1190
|
type: Input
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-editor',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1664960400,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -35,7 +35,7 @@ const packageMetadata = {
|
|
|
35
35
|
name: '@progress/kendo-angular-editor',
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
38
|
-
publishDate:
|
|
38
|
+
publishDate: 1664960400,
|
|
39
39
|
version: '',
|
|
40
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
41
41
|
};
|
|
@@ -1274,6 +1274,10 @@ const defaultStyle = `
|
|
|
1274
1274
|
border: 2px solid #8cf;
|
|
1275
1275
|
pointer-events: none;
|
|
1276
1276
|
}
|
|
1277
|
+
|
|
1278
|
+
.ProseMirror[contenteditable="false"] img {
|
|
1279
|
+
pointer-events: none;
|
|
1280
|
+
}
|
|
1277
1281
|
`;
|
|
1278
1282
|
/**
|
|
1279
1283
|
* @hidden
|
|
@@ -1355,6 +1359,25 @@ const tablesStyles = `
|
|
|
1355
1359
|
.k-editor-resize-wrap-element table th p {
|
|
1356
1360
|
margin: 0 auto;
|
|
1357
1361
|
}
|
|
1362
|
+
|
|
1363
|
+
.ProseMirror[contenteditable="false"] .k-editor-resize-handle,
|
|
1364
|
+
.ProseMirror[contenteditable="false"] .k-editor-resize-handles-wrapper,
|
|
1365
|
+
.ProseMirror[contenteditable="false"] .row-resize-handle,
|
|
1366
|
+
.ProseMirror[contenteditable="false"] .column-resize-handle {
|
|
1367
|
+
display: none;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
.ProseMirror[contenteditable="false"] table {
|
|
1371
|
+
pointer-events: none;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
.ProseMirror[contenteditable="false"] .ProseMirror-selectednode {
|
|
1375
|
+
outline: none;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.ProseMirror[contenteditable="false"] {
|
|
1379
|
+
cursor: unset !important;
|
|
1380
|
+
}
|
|
1358
1381
|
`;
|
|
1359
1382
|
/**
|
|
1360
1383
|
* @hidden
|
|
@@ -3598,7 +3621,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
3598
3621
|
</div>
|
|
3599
3622
|
|
|
3600
3623
|
<ng-container #dialogsContainer></ng-container>
|
|
3601
|
-
`, isInline: true, styles: ["\n
|
|
3624
|
+
`, isInline: true, styles: ["\n .k-editor-content > .ProseMirror {\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n outline: none;\n overflow: auto;\n }\n\n .k-iframe {\n width: 100%;\n height: 100%;\n display: block;\n }\n\n\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handles-wrapper,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .k-editor-resize-handle,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .row-resize-handle,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] .column-resize-handle {\n display: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] img,\n .k-editor-content .ProseMirror[contenteditable=\"false\"] table {\n pointer-events: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] .ProseMirror-selectednode {\n outline: none;\n }\n \n .k-editor-content .ProseMirror[contenteditable=\"false\"] {\n cursor: unset !important;\n }\n "], components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
|
|
3602
3625
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditorComponent, decorators: [{
|
|
3603
3626
|
type: Component,
|
|
3604
3627
|
args: [{
|
|
@@ -3775,23 +3798,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3775
3798
|
|
|
3776
3799
|
<ng-container #dialogsContainer></ng-container>
|
|
3777
3800
|
`,
|
|
3778
|
-
styles: [
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
}
|
|
3801
|
+
styles: [`
|
|
3802
|
+
.k-editor-content > .ProseMirror {
|
|
3803
|
+
height: 100%;
|
|
3804
|
+
width: 100%;
|
|
3805
|
+
box-sizing: border-box;
|
|
3806
|
+
outline: none;
|
|
3807
|
+
overflow: auto;
|
|
3808
|
+
}
|
|
3787
3809
|
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3810
|
+
.k-iframe {
|
|
3811
|
+
width: 100%;
|
|
3812
|
+
height: 100%;
|
|
3813
|
+
display: block;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .k-editor-resize-handles-wrapper,
|
|
3818
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .k-editor-resize-handle,
|
|
3819
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .row-resize-handle,
|
|
3820
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .column-resize-handle {
|
|
3821
|
+
display: none;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
.k-editor-content .ProseMirror[contenteditable="false"] img,
|
|
3825
|
+
.k-editor-content .ProseMirror[contenteditable="false"] table {
|
|
3826
|
+
pointer-events: none;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
.k-editor-content .ProseMirror[contenteditable="false"] .ProseMirror-selectednode {
|
|
3830
|
+
outline: none;
|
|
3831
|
+
}
|
|
3832
|
+
|
|
3833
|
+
.k-editor-content .ProseMirror[contenteditable="false"] {
|
|
3834
|
+
cursor: unset !important;
|
|
3835
|
+
}
|
|
3836
|
+
`]
|
|
3795
3837
|
}]
|
|
3796
3838
|
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }]; }, propDecorators: { value: [{
|
|
3797
3839
|
type: Input
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.11-dev.202210050900",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"friendlyName": "Editor"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@progress/kendo-editor-common": "1.9.
|
|
23
|
+
"@progress/kendo-editor-common": "1.9.3",
|
|
24
24
|
"@progress/kendo-schematics": "^3.0.0",
|
|
25
25
|
"tslib": "^2.3.1"
|
|
26
26
|
},
|