@syncfusion/ej2-angular-richtexteditor 20.2.38 → 20.2.39-ngcc
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/@syncfusion/ej2-angular-richtexteditor.es5.js +303 -0
- package/@syncfusion/ej2-angular-richtexteditor.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-richtexteditor.js +284 -0
- package/@syncfusion/ej2-angular-richtexteditor.js.map +1 -0
- package/CHANGELOG.md +1075 -0
- package/dist/ej2-angular-richtexteditor.umd.js +726 -0
- package/dist/ej2-angular-richtexteditor.umd.js.map +1 -0
- package/dist/ej2-angular-richtexteditor.umd.min.js +11 -0
- package/dist/ej2-angular-richtexteditor.umd.min.js.map +1 -0
- package/ej2-angular-richtexteditor.d.ts +5 -0
- package/ej2-angular-richtexteditor.metadata.json +1 -0
- package/package.json +13 -27
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +40 -0
- package/schematics/generators/richtexteditor-iframe/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-iframe/index.js +8 -0
- package/schematics/generators/richtexteditor-iframe/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-iframe/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +44 -0
- package/schematics/generators/richtexteditor-iframe/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-iframe/schema.js +2 -0
- package/schematics/generators/richtexteditor-iframe/schema.json +125 -0
- package/schematics/generators/richtexteditor-inline/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-inline/index.js +8 -0
- package/schematics/generators/richtexteditor-inline/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-inline/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
- package/schematics/generators/richtexteditor-inline/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-inline/schema.js +2 -0
- package/schematics/generators/richtexteditor-inline/schema.json +125 -0
- package/schematics/generators/richtexteditor-markdown/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-markdown/index.js +8 -0
- package/schematics/generators/richtexteditor-markdown/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-markdown/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
- package/schematics/generators/richtexteditor-markdown/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-markdown/schema.js +2 -0
- package/schematics/generators/richtexteditor-markdown/schema.json +125 -0
- package/schematics/generators/richtexteditor-overview/images/__path__/__name@dasherize__/RTEImage-Feather.png +0 -0
- package/schematics/generators/richtexteditor-overview/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-overview/index.js +8 -0
- package/schematics/generators/richtexteditor-overview/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-overview/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +47 -0
- package/schematics/generators/richtexteditor-overview/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-overview/schema.js +2 -0
- package/schematics/generators/richtexteditor-overview/schema.json +125 -0
- package/schematics/generators/richtexteditor-reactform/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-reactform/index.js +8 -0
- package/schematics/generators/richtexteditor-reactform/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-reactform/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +20 -0
- package/schematics/generators/richtexteditor-reactform/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-reactform/schema.js +2 -0
- package/schematics/generators/richtexteditor-reactform/schema.json +125 -0
- package/schematics/generators/richtexteditor-templatedriven/index.d.ts +3 -0
- package/schematics/generators/richtexteditor-templatedriven/index.js +8 -0
- package/schematics/generators/richtexteditor-templatedriven/sample-details.d.ts +5 -0
- package/schematics/generators/richtexteditor-templatedriven/sample-details.js +7 -0
- package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
- package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +19 -0
- package/schematics/generators/richtexteditor-templatedriven/schema.d.ts +3 -0
- package/schematics/generators/richtexteditor-templatedriven/schema.js +2 -0
- package/schematics/generators/richtexteditor-templatedriven/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/src/rich-text-editor/richtexteditor-all.module.d.ts +0 -6
- package/src/rich-text-editor/richtexteditor.component.d.ts +0 -3
- package/src/rich-text-editor/richtexteditor.module.d.ts +0 -6
- package/styles/bootstrap-dark.css +49 -0
- package/styles/bootstrap.css +49 -0
- package/styles/bootstrap4.css +49 -0
- package/styles/bootstrap5-dark.css +49 -0
- package/styles/bootstrap5.css +49 -0
- package/styles/fabric-dark.css +49 -0
- package/styles/fabric.css +49 -0
- package/styles/fluent-dark.css +52 -3
- package/styles/fluent.css +49 -0
- package/styles/highcontrast-light.css +49 -0
- package/styles/highcontrast.css +49 -0
- package/styles/material-dark.css +49 -0
- package/styles/material.css +49 -0
- package/styles/rich-text-editor/bootstrap-dark.css +49 -0
- package/styles/rich-text-editor/bootstrap-dark.scss +1 -4
- package/styles/rich-text-editor/bootstrap.css +49 -0
- package/styles/rich-text-editor/bootstrap.scss +1 -4
- package/styles/rich-text-editor/bootstrap4.css +49 -0
- package/styles/rich-text-editor/bootstrap4.scss +1 -4
- package/styles/rich-text-editor/bootstrap5-dark.css +49 -0
- package/styles/rich-text-editor/bootstrap5-dark.scss +1 -4
- package/styles/rich-text-editor/bootstrap5.css +49 -0
- package/styles/rich-text-editor/bootstrap5.scss +1 -4
- package/styles/rich-text-editor/fabric-dark.css +49 -0
- package/styles/rich-text-editor/fabric-dark.scss +1 -4
- package/styles/rich-text-editor/fabric.css +49 -0
- package/styles/rich-text-editor/fabric.scss +1 -4
- package/styles/rich-text-editor/fluent-dark.css +52 -3
- package/styles/rich-text-editor/fluent-dark.scss +1 -4
- package/styles/rich-text-editor/fluent.css +49 -0
- package/styles/rich-text-editor/fluent.scss +1 -4
- package/styles/rich-text-editor/highcontrast-light.css +49 -0
- package/styles/rich-text-editor/highcontrast-light.scss +1 -4
- package/styles/rich-text-editor/highcontrast.css +49 -0
- package/styles/rich-text-editor/highcontrast.scss +1 -4
- package/styles/rich-text-editor/material-dark.css +49 -0
- package/styles/rich-text-editor/material-dark.scss +1 -4
- package/styles/rich-text-editor/material.css +49 -0
- package/styles/rich-text-editor/material.scss +1 -4
- package/styles/rich-text-editor/tailwind-dark.css +49 -0
- package/styles/rich-text-editor/tailwind-dark.scss +1 -4
- package/styles/rich-text-editor/tailwind.css +49 -0
- package/styles/rich-text-editor/tailwind.scss +1 -4
- package/styles/tailwind-dark.css +49 -0
- package/styles/tailwind.css +49 -0
- package/esm2020/public_api.mjs +0 -3
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/rich-text-editor/richtexteditor-all.module.mjs +0 -59
- package/esm2020/src/rich-text-editor/richtexteditor.component.mjs +0 -168
- package/esm2020/src/rich-text-editor/richtexteditor.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs +0 -252
- package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -252
- package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
- package/styles/_all.scss +0 -2
- package/styles/rich-text-editor/_all.scss +0 -2
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +0 -206
- package/styles/rich-text-editor/_bootstrap-definition.scss +0 -263
- package/styles/rich-text-editor/_bootstrap4-definition.scss +0 -389
- package/styles/rich-text-editor/_bootstrap5-dark-definition.scss +0 -1
- package/styles/rich-text-editor/_bootstrap5-definition.scss +0 -189
- package/styles/rich-text-editor/_fabric-dark-definition.scss +0 -187
- package/styles/rich-text-editor/_fabric-definition.scss +0 -186
- package/styles/rich-text-editor/_fluent-dark-definition.scss +0 -1
- package/styles/rich-text-editor/_fluent-definition.scss +0 -192
- package/styles/rich-text-editor/_fusionnew-definition.scss +0 -189
- package/styles/rich-text-editor/_highcontrast-definition.scss +0 -186
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +0 -186
- package/styles/rich-text-editor/_layout.scss +0 -1732
- package/styles/rich-text-editor/_material-dark-definition.scss +0 -189
- package/styles/rich-text-editor/_material-definition.scss +0 -188
- package/styles/rich-text-editor/_material3-definition.scss +0 -189
- package/styles/rich-text-editor/_tailwind-dark-definition.scss +0 -1
- package/styles/rich-text-editor/_tailwind-definition.scss +0 -187
- package/styles/rich-text-editor/_theme.scss +0 -641
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +0 -304
- package/styles/rich-text-editor/icons/_bootstrap.scss +0 -304
- package/styles/rich-text-editor/icons/_bootstrap4.scss +0 -304
- package/styles/rich-text-editor/icons/_bootstrap5-dark.scss +0 -1
- package/styles/rich-text-editor/icons/_bootstrap5.scss +0 -303
- package/styles/rich-text-editor/icons/_fabric-dark.scss +0 -304
- package/styles/rich-text-editor/icons/_fabric.scss +0 -304
- package/styles/rich-text-editor/icons/_fluent-dark.scss +0 -1
- package/styles/rich-text-editor/icons/_fluent.scss +0 -303
- package/styles/rich-text-editor/icons/_fusionnew.scss +0 -303
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +0 -304
- package/styles/rich-text-editor/icons/_highcontrast.scss +0 -304
- package/styles/rich-text-editor/icons/_material-dark.scss +0 -304
- package/styles/rich-text-editor/icons/_material.scss +0 -304
- package/styles/rich-text-editor/icons/_material3.scss +0 -303
- package/styles/rich-text-editor/icons/_tailwind-dark.scss +0 -1
- package/styles/rich-text-editor/icons/_tailwind.scss +0 -303
- package/syncfusion-ej2-angular-richtexteditor.d.ts +0 -5
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "richtexteditor-reactform",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "richtexteditor-reactform"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'richtexteditor';
|
|
4
|
+
exports.sampleName = 'templatedriven';
|
|
5
|
+
exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService';
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
|
|
7
|
+
exports.libModules = 'RichTextEditorModule';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<div id='inline-rte'>
|
|
3
|
+
<h4>Template form RTE</h4>
|
|
4
|
+
<form (ngSubmit)="onSubmit()">
|
|
5
|
+
<div class="form-group">
|
|
6
|
+
<ejs-richtexteditor #fromRTE #name='ngModel' [(value)]='value' required name="name" [(ngModel)]="value" (created)="rteCreated()"></ejs-richtexteditor>
|
|
7
|
+
<div *ngIf="(name.invalid && (name.dirty || name.touched))" class="alert alert-danger">
|
|
8
|
+
<div *ngIf="name.errors.required">
|
|
9
|
+
Value is required.
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div>
|
|
14
|
+
<button type="submit" ejs-button>Submit</button>
|
|
15
|
+
<button type="reset" ejs-button style="margin-left: 20px">Reset</button>
|
|
16
|
+
</div>
|
|
17
|
+
</form>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "richtexteditor-templatedriven",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "path",
|
|
10
|
+
"description": "The path to create the component.",
|
|
11
|
+
"visible": false
|
|
12
|
+
},
|
|
13
|
+
"project": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "The name of the project.",
|
|
16
|
+
"$default": {
|
|
17
|
+
"$source": "projectName"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"name": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The name of the component.",
|
|
23
|
+
"$default": {
|
|
24
|
+
"$source": "argv",
|
|
25
|
+
"index": 0
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"inlineStyle": {
|
|
29
|
+
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"alias": "s"
|
|
33
|
+
},
|
|
34
|
+
"inlineTemplate": {
|
|
35
|
+
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"alias": "t"
|
|
39
|
+
},
|
|
40
|
+
"viewEncapsulation": {
|
|
41
|
+
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
+
"enum": [
|
|
43
|
+
"Emulated",
|
|
44
|
+
"Native",
|
|
45
|
+
"None",
|
|
46
|
+
"ShadowDom"
|
|
47
|
+
],
|
|
48
|
+
"type": "string",
|
|
49
|
+
"alias": "v"
|
|
50
|
+
},
|
|
51
|
+
"changeDetection": {
|
|
52
|
+
"description": "Specifies the change detection strategy.",
|
|
53
|
+
"enum": [
|
|
54
|
+
"Default",
|
|
55
|
+
"OnPush"
|
|
56
|
+
],
|
|
57
|
+
"type": "string",
|
|
58
|
+
"default": "Default",
|
|
59
|
+
"alias": "c"
|
|
60
|
+
},
|
|
61
|
+
"prefix": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The prefix to apply to generated selectors.",
|
|
64
|
+
"alias": "p",
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"maxLength": 0
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"format": "html-selector"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"styleext": {
|
|
76
|
+
"description": "The file extension to be used for style files.",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "css"
|
|
79
|
+
},
|
|
80
|
+
"spec": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"description": "Specifies if a spec file is generated.",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
"flat": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"description": "Flag to indicate if a dir is created.",
|
|
88
|
+
"default": false
|
|
89
|
+
},
|
|
90
|
+
"skipImport": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Flag to skip the module import.",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"selector": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"format": "html-selector",
|
|
98
|
+
"description": "The selector to use for the component."
|
|
99
|
+
},
|
|
100
|
+
"module": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Allows specification of the declaring module.",
|
|
103
|
+
"alias": "m"
|
|
104
|
+
},
|
|
105
|
+
"export": {
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": false,
|
|
108
|
+
"description": "Specifies if declaring module exports the component."
|
|
109
|
+
},
|
|
110
|
+
"entryComponent": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
+
},
|
|
115
|
+
"lintFix": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"default": false,
|
|
118
|
+
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"name"
|
|
123
|
+
],
|
|
124
|
+
"id": "richtexteditor-templatedriven"
|
|
125
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lib_details_1 = require("./../utils/lib-details");
|
|
4
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
const libOptions = Object.assign({}, { 'pkgName': lib_details_1.pkgName, 'pkgVer': lib_details_1.pkgVer, 'moduleName': lib_details_1.moduleName, 'themeVer': lib_details_1.themeVer });
|
|
7
|
+
return schematics_1.install(options, libOptions);
|
|
8
|
+
}
|
|
9
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
skipPackageJson: boolean;
|
|
3
|
+
modules: string;
|
|
4
|
+
modulePath: string;
|
|
5
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
6
|
+
project?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface LibOptionsSchema {
|
|
9
|
+
pkgName: string;
|
|
10
|
+
pkgVer: string;
|
|
11
|
+
moduleName: string;
|
|
12
|
+
themeVer: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "ngAdd",
|
|
4
|
+
"title": "Add Essential JS 2 Angular packages",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"skipPackageJson": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false,
|
|
10
|
+
"description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
|
|
11
|
+
},
|
|
12
|
+
"modules": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "",
|
|
15
|
+
"description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
|
|
16
|
+
},
|
|
17
|
+
"modulePath": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "",
|
|
20
|
+
"description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
|
|
21
|
+
},
|
|
22
|
+
"theme": {
|
|
23
|
+
"enum": [
|
|
24
|
+
"material",
|
|
25
|
+
"fabric",
|
|
26
|
+
"bootstrap",
|
|
27
|
+
"highcontrast"
|
|
28
|
+
],
|
|
29
|
+
"default": "material",
|
|
30
|
+
"description": "Used to change the theme that needs to be imported"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": []
|
|
34
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["es2017", "dom"],
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"noEmitOnError": false,
|
|
7
|
+
"skipDefaultLibCheck": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"target": "es6",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"types": [
|
|
13
|
+
"jasmine",
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"src",
|
|
20
|
+
"src/**/*.ts",
|
|
21
|
+
"spec",
|
|
22
|
+
"spec/**/*.ts",
|
|
23
|
+
"@typings"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { ValueProvider } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./richtexteditor.module";
|
|
5
2
|
export declare const ToolbarService: ValueProvider;
|
|
6
3
|
export declare const LinkService: ValueProvider;
|
|
7
4
|
export declare const ImageService: ValueProvider;
|
|
@@ -17,7 +14,4 @@ export declare const FileManagerService: ValueProvider;
|
|
|
17
14
|
* NgModule definition for the RichTextEditor component with providers.
|
|
18
15
|
*/
|
|
19
16
|
export declare class RichTextEditorAllModule {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorAllModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RichTextEditorAllModule, never, [typeof i1.CommonModule, typeof i2.RichTextEditorModule], [typeof i2.RichTextEditorModule]>;
|
|
22
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RichTextEditorAllModule>;
|
|
23
17
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
2
|
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
3
|
import { RichTextEditor } from '@syncfusion/ej2-richtexteditor';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
4
|
export declare const inputs: string[];
|
|
6
5
|
export declare const outputs: string[];
|
|
7
6
|
export declare const twoWays: string[];
|
|
@@ -73,6 +72,4 @@ export declare class RichTextEditorComponent extends RichTextEditor implements I
|
|
|
73
72
|
ngAfterContentChecked(): void;
|
|
74
73
|
registerEvents: (eventList: string[]) => void;
|
|
75
74
|
addTwoWay: (propList: string[]) => void;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorComponent, "ejs-richtexteditor", never, { "autoSaveOnIdle": "autoSaveOnIdle"; "backgroundColor": "backgroundColor"; "bulletFormatList": "bulletFormatList"; "cssClass": "cssClass"; "editorMode": "editorMode"; "enableAutoUrl": "enableAutoUrl"; "enableHtmlEncode": "enableHtmlEncode"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enablePersistence": "enablePersistence"; "enableResize": "enableResize"; "enableRtl": "enableRtl"; "enableTabKey": "enableTabKey"; "enableXhtml": "enableXhtml"; "enabled": "enabled"; "enterKey": "enterKey"; "fileManagerSettings": "fileManagerSettings"; "floatingToolbarOffset": "floatingToolbarOffset"; "fontColor": "fontColor"; "fontFamily": "fontFamily"; "fontSize": "fontSize"; "format": "format"; "formatter": "formatter"; "height": "height"; "htmlAttributes": "htmlAttributes"; "iframeSettings": "iframeSettings"; "inlineMode": "inlineMode"; "insertImageSettings": "insertImageSettings"; "keyConfig": "keyConfig"; "locale": "locale"; "maxLength": "maxLength"; "numberFormatList": "numberFormatList"; "pasteCleanupSettings": "pasteCleanupSettings"; "placeholder": "placeholder"; "quickToolbarSettings": "quickToolbarSettings"; "readonly": "readonly"; "saveInterval": "saveInterval"; "shiftEnterKey": "shiftEnterKey"; "showCharCount": "showCharCount"; "tableSettings": "tableSettings"; "toolbarSettings": "toolbarSettings"; "undoRedoSteps": "undoRedoSteps"; "undoRedoTimer": "undoRedoTimer"; "value": "value"; "valueTemplate": "valueTemplate"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "afterImageDelete": "afterImageDelete"; "afterPasteCleanup": "afterPasteCleanup"; "beforeDialogClose": "beforeDialogClose"; "beforeDialogOpen": "beforeDialogOpen"; "beforeImageDrop": "beforeImageDrop"; "beforeImageUpload": "beforeImageUpload"; "beforePasteCleanup": "beforePasteCleanup"; "beforeQuickToolbarOpen": "beforeQuickToolbarOpen"; "beforeSanitizeHtml": "beforeSanitizeHtml"; "blur": "blur"; "change": "change"; "created": "created"; "destroyed": "destroyed"; "dialogClose": "dialogClose"; "dialogOpen": "dialogOpen"; "focus": "focus"; "imageRemoving": "imageRemoving"; "imageSelected": "imageSelected"; "imageUploadFailed": "imageUploadFailed"; "imageUploadSuccess": "imageUploadSuccess"; "imageUploading": "imageUploading"; "quickToolbarClose": "quickToolbarClose"; "quickToolbarOpen": "quickToolbarOpen"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "toolbarClick": "toolbarClick"; "toolbarStatusUpdate": "toolbarStatusUpdate"; "updatedToolbarStatus": "updatedToolbarStatus"; "valueChange": "valueChange"; }, ["valueTemplate"], never>;
|
|
78
75
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./richtexteditor.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
1
|
/**
|
|
5
2
|
* NgModule definition for the RichTextEditor component.
|
|
6
3
|
*/
|
|
7
4
|
export declare class RichTextEditorModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RichTextEditorModule, [typeof i1.RichTextEditorComponent], [typeof i2.CommonModule], [typeof i1.RichTextEditorComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RichTextEditorModule>;
|
|
11
5
|
}
|
|
@@ -417,6 +417,34 @@
|
|
|
417
417
|
.e-richtexteditor.e-bigger.e-rte-full-screen iframe {
|
|
418
418
|
height: calc(100% - 56px);
|
|
419
419
|
}
|
|
420
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-edit-table,
|
|
421
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-edit-table {
|
|
422
|
+
max-height: 330px !important;
|
|
423
|
+
}
|
|
424
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-edit-table-prop-dialog,
|
|
425
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-edit-table-prop-dialog {
|
|
426
|
+
max-height: 414px !important;
|
|
427
|
+
}
|
|
428
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-link-dialog,
|
|
429
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-link-dialog {
|
|
430
|
+
max-height: 427px !important;
|
|
431
|
+
}
|
|
432
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-dialog,
|
|
433
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-dialog {
|
|
434
|
+
min-height: 457px !important;
|
|
435
|
+
}
|
|
436
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-link-dialog,
|
|
437
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-link-dialog {
|
|
438
|
+
max-height: 256px !important;
|
|
439
|
+
}
|
|
440
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-size-dialog,
|
|
441
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-size-dialog {
|
|
442
|
+
max-height: 327px !important;
|
|
443
|
+
}
|
|
444
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-alt-dialog,
|
|
445
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-alt-dialog {
|
|
446
|
+
min-height: 457px !important;
|
|
447
|
+
}
|
|
420
448
|
|
|
421
449
|
.e-richtexteditor {
|
|
422
450
|
color: #f0f0f0;
|
|
@@ -456,6 +484,27 @@
|
|
|
456
484
|
.e-richtexteditor.e-rte-full-screen iframe {
|
|
457
485
|
height: calc(100% - 42px);
|
|
458
486
|
}
|
|
487
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-edit-table {
|
|
488
|
+
max-height: 287px !important;
|
|
489
|
+
}
|
|
490
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-edit-table-prop-dialog {
|
|
491
|
+
max-height: 365px !important;
|
|
492
|
+
}
|
|
493
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-link-dialog {
|
|
494
|
+
max-height: 394px !important;
|
|
495
|
+
}
|
|
496
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-dialog {
|
|
497
|
+
max-height: 426px !important;
|
|
498
|
+
}
|
|
499
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-link-dialog {
|
|
500
|
+
max-height: 223px !important;
|
|
501
|
+
}
|
|
502
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-size-dialog {
|
|
503
|
+
max-height: 284px !important;
|
|
504
|
+
}
|
|
505
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-alt-dialog {
|
|
506
|
+
max-height: 426px !important;
|
|
507
|
+
}
|
|
459
508
|
.e-richtexteditor.e-rtl .e-rte-character-count {
|
|
460
509
|
left: 0;
|
|
461
510
|
padding-left: 30px;
|
package/styles/bootstrap.css
CHANGED
|
@@ -558,6 +558,34 @@
|
|
|
558
558
|
.e-richtexteditor.e-bigger.e-rte-full-screen iframe {
|
|
559
559
|
height: calc(100% - 56px);
|
|
560
560
|
}
|
|
561
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-edit-table,
|
|
562
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-edit-table {
|
|
563
|
+
max-height: 330px !important;
|
|
564
|
+
}
|
|
565
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-edit-table-prop-dialog,
|
|
566
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-edit-table-prop-dialog {
|
|
567
|
+
max-height: 414px !important;
|
|
568
|
+
}
|
|
569
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-link-dialog,
|
|
570
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-link-dialog {
|
|
571
|
+
max-height: 427px !important;
|
|
572
|
+
}
|
|
573
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-dialog,
|
|
574
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-dialog {
|
|
575
|
+
min-height: 457px !important;
|
|
576
|
+
}
|
|
577
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-link-dialog,
|
|
578
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-link-dialog {
|
|
579
|
+
max-height: 256px !important;
|
|
580
|
+
}
|
|
581
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-size-dialog,
|
|
582
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-size-dialog {
|
|
583
|
+
max-height: 327px !important;
|
|
584
|
+
}
|
|
585
|
+
.e-bigger .e-richtexteditor.e-rte-full-screen .e-rte-img-alt-dialog,
|
|
586
|
+
.e-richtexteditor.e-bigger.e-rte-full-screen .e-rte-img-alt-dialog {
|
|
587
|
+
min-height: 457px !important;
|
|
588
|
+
}
|
|
561
589
|
|
|
562
590
|
.e-richtexteditor {
|
|
563
591
|
color: #333;
|
|
@@ -597,6 +625,27 @@
|
|
|
597
625
|
.e-richtexteditor.e-rte-full-screen iframe {
|
|
598
626
|
height: calc(100% - 42px);
|
|
599
627
|
}
|
|
628
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-edit-table {
|
|
629
|
+
max-height: 287px !important;
|
|
630
|
+
}
|
|
631
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-edit-table-prop-dialog {
|
|
632
|
+
max-height: 365px !important;
|
|
633
|
+
}
|
|
634
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-link-dialog {
|
|
635
|
+
max-height: 394px !important;
|
|
636
|
+
}
|
|
637
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-dialog {
|
|
638
|
+
max-height: 426px !important;
|
|
639
|
+
}
|
|
640
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-link-dialog {
|
|
641
|
+
max-height: 223px !important;
|
|
642
|
+
}
|
|
643
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-size-dialog {
|
|
644
|
+
max-height: 284px !important;
|
|
645
|
+
}
|
|
646
|
+
.e-richtexteditor.e-rte-full-screen .e-rte-img-alt-dialog {
|
|
647
|
+
max-height: 426px !important;
|
|
648
|
+
}
|
|
600
649
|
.e-richtexteditor.e-rtl .e-rte-character-count {
|
|
601
650
|
left: 0;
|
|
602
651
|
padding-left: 30px;
|