@syncfusion/ej2-angular-richtexteditor 20.2.46 → 20.2.49-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.
Files changed (175) hide show
  1. package/@syncfusion/ej2-angular-richtexteditor.es5.js +303 -0
  2. package/@syncfusion/ej2-angular-richtexteditor.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-richtexteditor.js +284 -0
  4. package/@syncfusion/ej2-angular-richtexteditor.js.map +1 -0
  5. package/CHANGELOG.md +1122 -0
  6. package/dist/ej2-angular-richtexteditor.umd.js +727 -0
  7. package/dist/ej2-angular-richtexteditor.umd.js.map +1 -0
  8. package/dist/ej2-angular-richtexteditor.umd.min.js +11 -0
  9. package/dist/ej2-angular-richtexteditor.umd.min.js.map +1 -0
  10. package/ej2-angular-richtexteditor.d.ts +5 -0
  11. package/ej2-angular-richtexteditor.metadata.json +1 -0
  12. package/package.json +15 -29
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/collection.json +40 -0
  15. package/schematics/generators/richtexteditor-iframe/index.d.ts +3 -0
  16. package/schematics/generators/richtexteditor-iframe/index.js +8 -0
  17. package/schematics/generators/richtexteditor-iframe/sample-details.d.ts +5 -0
  18. package/schematics/generators/richtexteditor-iframe/sample-details.js +7 -0
  19. package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  20. package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +44 -0
  21. package/schematics/generators/richtexteditor-iframe/schema.d.ts +3 -0
  22. package/schematics/generators/richtexteditor-iframe/schema.js +2 -0
  23. package/schematics/generators/richtexteditor-iframe/schema.json +125 -0
  24. package/schematics/generators/richtexteditor-inline/index.d.ts +3 -0
  25. package/schematics/generators/richtexteditor-inline/index.js +8 -0
  26. package/schematics/generators/richtexteditor-inline/sample-details.d.ts +5 -0
  27. package/schematics/generators/richtexteditor-inline/sample-details.js +7 -0
  28. package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  29. package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  30. package/schematics/generators/richtexteditor-inline/schema.d.ts +3 -0
  31. package/schematics/generators/richtexteditor-inline/schema.js +2 -0
  32. package/schematics/generators/richtexteditor-inline/schema.json +125 -0
  33. package/schematics/generators/richtexteditor-markdown/index.d.ts +3 -0
  34. package/schematics/generators/richtexteditor-markdown/index.js +8 -0
  35. package/schematics/generators/richtexteditor-markdown/sample-details.d.ts +5 -0
  36. package/schematics/generators/richtexteditor-markdown/sample-details.js +7 -0
  37. package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  38. package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +13 -0
  39. package/schematics/generators/richtexteditor-markdown/schema.d.ts +3 -0
  40. package/schematics/generators/richtexteditor-markdown/schema.js +2 -0
  41. package/schematics/generators/richtexteditor-markdown/schema.json +125 -0
  42. package/schematics/generators/richtexteditor-overview/images/__path__/__name@dasherize__/RTEImage-Feather.png +0 -0
  43. package/schematics/generators/richtexteditor-overview/index.d.ts +3 -0
  44. package/schematics/generators/richtexteditor-overview/index.js +8 -0
  45. package/schematics/generators/richtexteditor-overview/sample-details.d.ts +5 -0
  46. package/schematics/generators/richtexteditor-overview/sample-details.js +7 -0
  47. package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  48. package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +47 -0
  49. package/schematics/generators/richtexteditor-overview/schema.d.ts +3 -0
  50. package/schematics/generators/richtexteditor-overview/schema.js +2 -0
  51. package/schematics/generators/richtexteditor-overview/schema.json +125 -0
  52. package/schematics/generators/richtexteditor-reactform/index.d.ts +3 -0
  53. package/schematics/generators/richtexteditor-reactform/index.js +8 -0
  54. package/schematics/generators/richtexteditor-reactform/sample-details.d.ts +5 -0
  55. package/schematics/generators/richtexteditor-reactform/sample-details.js +7 -0
  56. package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  57. package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +20 -0
  58. package/schematics/generators/richtexteditor-reactform/schema.d.ts +3 -0
  59. package/schematics/generators/richtexteditor-reactform/schema.js +2 -0
  60. package/schematics/generators/richtexteditor-reactform/schema.json +125 -0
  61. package/schematics/generators/richtexteditor-templatedriven/index.d.ts +3 -0
  62. package/schematics/generators/richtexteditor-templatedriven/index.js +8 -0
  63. package/schematics/generators/richtexteditor-templatedriven/sample-details.d.ts +5 -0
  64. package/schematics/generators/richtexteditor-templatedriven/sample-details.js +7 -0
  65. package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +3 -0
  66. package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +19 -0
  67. package/schematics/generators/richtexteditor-templatedriven/schema.d.ts +3 -0
  68. package/schematics/generators/richtexteditor-templatedriven/schema.js +2 -0
  69. package/schematics/generators/richtexteditor-templatedriven/schema.json +125 -0
  70. package/schematics/ng-add/index.d.ts +3 -0
  71. package/schematics/ng-add/index.js +9 -0
  72. package/schematics/ng-add/schema.d.ts +13 -0
  73. package/schematics/ng-add/schema.js +2 -0
  74. package/schematics/ng-add/schema.json +34 -0
  75. package/schematics/tsconfig.json +25 -0
  76. package/schematics/utils/lib-details.d.ts +4 -0
  77. package/schematics/utils/lib-details.js +6 -0
  78. package/schematics/utils/lib-details.ts +2 -2
  79. package/src/rich-text-editor/richtexteditor-all.module.d.ts +0 -6
  80. package/src/rich-text-editor/richtexteditor.component.d.ts +0 -3
  81. package/src/rich-text-editor/richtexteditor.module.d.ts +0 -6
  82. package/styles/bootstrap-dark.css +69 -219
  83. package/styles/bootstrap.css +69 -219
  84. package/styles/bootstrap4.css +69 -219
  85. package/styles/bootstrap5-dark.css +69 -219
  86. package/styles/bootstrap5.css +69 -219
  87. package/styles/fabric-dark.css +69 -219
  88. package/styles/fabric.css +69 -219
  89. package/styles/fluent-dark.css +69 -219
  90. package/styles/fluent.css +69 -219
  91. package/styles/highcontrast-light.css +69 -219
  92. package/styles/highcontrast.css +69 -219
  93. package/styles/material-dark.css +69 -219
  94. package/styles/material.css +69 -219
  95. package/styles/rich-text-editor/bootstrap-dark.css +69 -219
  96. package/styles/rich-text-editor/bootstrap-dark.scss +1 -4
  97. package/styles/rich-text-editor/bootstrap.css +69 -219
  98. package/styles/rich-text-editor/bootstrap.scss +1 -4
  99. package/styles/rich-text-editor/bootstrap4.css +69 -219
  100. package/styles/rich-text-editor/bootstrap4.scss +1 -4
  101. package/styles/rich-text-editor/bootstrap5-dark.css +69 -219
  102. package/styles/rich-text-editor/bootstrap5-dark.scss +1 -4
  103. package/styles/rich-text-editor/bootstrap5.css +69 -219
  104. package/styles/rich-text-editor/bootstrap5.scss +1 -4
  105. package/styles/rich-text-editor/fabric-dark.css +69 -219
  106. package/styles/rich-text-editor/fabric-dark.scss +1 -4
  107. package/styles/rich-text-editor/fabric.css +69 -219
  108. package/styles/rich-text-editor/fabric.scss +1 -4
  109. package/styles/rich-text-editor/fluent-dark.css +69 -219
  110. package/styles/rich-text-editor/fluent-dark.scss +1 -4
  111. package/styles/rich-text-editor/fluent.css +69 -219
  112. package/styles/rich-text-editor/fluent.scss +1 -4
  113. package/styles/rich-text-editor/highcontrast-light.css +69 -219
  114. package/styles/rich-text-editor/highcontrast-light.scss +1 -4
  115. package/styles/rich-text-editor/highcontrast.css +69 -219
  116. package/styles/rich-text-editor/highcontrast.scss +1 -4
  117. package/styles/rich-text-editor/material-dark.css +69 -219
  118. package/styles/rich-text-editor/material-dark.scss +1 -4
  119. package/styles/rich-text-editor/material.css +69 -219
  120. package/styles/rich-text-editor/material.scss +1 -4
  121. package/styles/rich-text-editor/tailwind-dark.css +69 -219
  122. package/styles/rich-text-editor/tailwind-dark.scss +1 -4
  123. package/styles/rich-text-editor/tailwind.css +69 -219
  124. package/styles/rich-text-editor/tailwind.scss +1 -4
  125. package/styles/tailwind-dark.css +69 -219
  126. package/styles/tailwind.css +69 -219
  127. package/esm2020/public_api.mjs +0 -3
  128. package/esm2020/src/index.mjs +0 -5
  129. package/esm2020/src/rich-text-editor/richtexteditor-all.module.mjs +0 -59
  130. package/esm2020/src/rich-text-editor/richtexteditor.component.mjs +0 -168
  131. package/esm2020/src/rich-text-editor/richtexteditor.module.mjs +0 -25
  132. package/esm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -5
  133. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs +0 -252
  134. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
  135. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -252
  136. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
  137. package/styles/_all.scss +0 -1
  138. package/styles/rich-text-editor/_all.scss +0 -2
  139. package/styles/rich-text-editor/_bootstrap-dark-definition.scss +0 -208
  140. package/styles/rich-text-editor/_bootstrap-definition.scss +0 -263
  141. package/styles/rich-text-editor/_bootstrap4-definition.scss +0 -390
  142. package/styles/rich-text-editor/_bootstrap5-dark-definition.scss +0 -1
  143. package/styles/rich-text-editor/_bootstrap5-definition.scss +0 -193
  144. package/styles/rich-text-editor/_fabric-dark-definition.scss +0 -189
  145. package/styles/rich-text-editor/_fabric-definition.scss +0 -187
  146. package/styles/rich-text-editor/_fluent-dark-definition.scss +0 -1
  147. package/styles/rich-text-editor/_fluent-definition.scss +0 -196
  148. package/styles/rich-text-editor/_fusionnew-definition.scss +0 -193
  149. package/styles/rich-text-editor/_highcontrast-definition.scss +0 -187
  150. package/styles/rich-text-editor/_highcontrast-light-definition.scss +0 -187
  151. package/styles/rich-text-editor/_layout.scss +0 -1833
  152. package/styles/rich-text-editor/_material-dark-definition.scss +0 -191
  153. package/styles/rich-text-editor/_material-definition.scss +0 -189
  154. package/styles/rich-text-editor/_material3-definition.scss +0 -193
  155. package/styles/rich-text-editor/_tailwind-dark-definition.scss +0 -1
  156. package/styles/rich-text-editor/_tailwind-definition.scss +0 -191
  157. package/styles/rich-text-editor/_theme.scss +0 -700
  158. package/styles/rich-text-editor/icons/_bootstrap-dark.scss +0 -320
  159. package/styles/rich-text-editor/icons/_bootstrap.scss +0 -320
  160. package/styles/rich-text-editor/icons/_bootstrap4.scss +0 -320
  161. package/styles/rich-text-editor/icons/_bootstrap5-dark.scss +0 -1
  162. package/styles/rich-text-editor/icons/_bootstrap5.scss +0 -319
  163. package/styles/rich-text-editor/icons/_fabric-dark.scss +0 -320
  164. package/styles/rich-text-editor/icons/_fabric.scss +0 -320
  165. package/styles/rich-text-editor/icons/_fluent-dark.scss +0 -1
  166. package/styles/rich-text-editor/icons/_fluent.scss +0 -319
  167. package/styles/rich-text-editor/icons/_fusionnew.scss +0 -319
  168. package/styles/rich-text-editor/icons/_highcontrast-light.scss +0 -320
  169. package/styles/rich-text-editor/icons/_highcontrast.scss +0 -320
  170. package/styles/rich-text-editor/icons/_material-dark.scss +0 -320
  171. package/styles/rich-text-editor/icons/_material.scss +0 -320
  172. package/styles/rich-text-editor/icons/_material3.scss +0 -319
  173. package/styles/rich-text-editor/icons/_tailwind-dark.scss +0 -1
  174. package/styles/rich-text-editor/icons/_tailwind.scss +0 -319
  175. package/syncfusion-ej2-angular-richtexteditor.d.ts +0 -5
@@ -0,0 +1,10 @@
1
+ <div class="control-section">
2
+ <div id='inline-rte'>
3
+ <h4>Inline RTE</h4>
4
+ <ejs-richtexteditor id='inlineRTE' #inlineRTE [inlineMode]='inlineMode' [toolbarSettings]='toolbarSettings' [format]='format' [fontFamily]='fontFamily'>
5
+ <ng-template #valueTemplate>
6
+ <p>The sample is configured with inline mode of editor. Initially, the editor is rendered without a <a href="https://ej2.syncfusion.com/home/" target="_blank">toolbar</a>. The toolbar becomes visible only when the content is selected.</p>
7
+ </ng-template>
8
+ </ejs-richtexteditor>
9
+ </div>
10
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "richtexteditor-inline",
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-inline"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -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,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'richtexteditor';
4
+ exports.sampleName = 'markdown';
5
+ exports.diModules = 'ToolbarService,LinkService,ImageService,MarkdownEditorService';
6
+ exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
7
+ exports.libModules = 'RichTextEditorModule';
@@ -0,0 +1,13 @@
1
+ <div class="control-section">
2
+ <div id='inline-rte'>
3
+ <h4>Markdown RTE</h4>
4
+ <ejs-richtexteditor id='mdDefault' #mdDefault height='250px' [toolbarSettings]='tools' [editorMode]='mode'>
5
+ <ng-template #valueTemplate>
6
+ The sample is added to showcase **markdown editing**.
7
+ Type or edit the content and apply formatting to view markdown formatted content.
8
+ We can add our own custom formation syntax for the Markdown formation, [sample link](https://ej2.syncfusion.com/home/).
9
+ The third-party library <b>Marked</b> is used in this sample to convert markdown into HTML content.
10
+ </ng-template>
11
+ </ejs-richtexteditor>
12
+ </div>
13
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "richtexteditor-markdown",
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-markdown"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -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,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'richtexteditor';
4
+ exports.sampleName = 'overview';
5
+ exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService,TableService';
6
+ exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
7
+ exports.libModules = 'RichTextEditorModule';
@@ -0,0 +1,47 @@
1
+ <div class="control-section">
2
+ <div id='inline-rte'>
3
+ <h4>Overview RTE</h4>
4
+ <ejs-richtexteditor #toolsRTE id='alltoolRTE' [toolbarSettings]='tools' [showCharCount]='true' [maxLength]='maxLength'>
5
+ <ng-template #valueTemplate>
6
+ <p>The rich text editor is WYSIWYG ("what you see is what you get") editor useful to create and edit content, and return the valid <a href="https://ej2.syncfusion.com/home/" target="_blank">HTML markup</a> or <a href="https://ej2.syncfusion.com/home/" target="_blank">markdown</a> of the content</p>
7
+
8
+ <p><b>Toolbar</b></p>
9
+ <ol>
10
+ <li>
11
+ <p>Toolbar contains commands to align the text, insert link, insert image, insert list, undo/redo operations, HTML view, etc </p>
12
+ </li>
13
+ <li>
14
+ <p>Toolbar is fully customizable </p>
15
+ </li>
16
+ </ol>
17
+
18
+ <p><b>Links</b></p>
19
+ <ol>
20
+ <li>
21
+ <p>You can insert a hyperlink with its corresponding dialog </p>
22
+ </li>
23
+ <li>
24
+ <p>Attach a hyperlink to the displayed text. </p>
25
+ </li>
26
+ <li>
27
+ <p>Customize the quick toolbar based on the hyperlink </p>
28
+ </li>
29
+ </ol>
30
+
31
+ <p><b>Image.</b></p>
32
+ <ol>
33
+ <li>
34
+ <p>Allows you to insert images from an online source as well as the local computer </p>
35
+ </li>
36
+ <li>
37
+ <p>You can upload an image </p>
38
+ </li>
39
+ <li>
40
+ <p>Provides an option to customize quick toolbar for an image </p>
41
+ </li>
42
+ </ol>
43
+ <img alt="Logo" src="/assets/richtexteditor/overview/RTEImage-Feather.png" style="width: 300px;">
44
+ </ng-template>
45
+ </ejs-richtexteditor>
46
+ </div>
47
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "EJ2SchemaTemplateID",
4
+ "title": "richtexteditor-overview",
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-overview"
125
+ }
@@ -0,0 +1,3 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ export default function (options: Schema): Rule;
@@ -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,5 @@
1
+ export declare const componentName: string;
2
+ export declare const sampleName: string;
3
+ export declare const diModules: string;
4
+ export declare const packageName: string;
5
+ export declare const libModules: string;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.componentName = 'richtexteditor';
4
+ exports.sampleName = 'reactform';
5
+ exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService';
6
+ exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
7
+ exports.libModules = 'RichTextEditorModule';
@@ -0,0 +1,20 @@
1
+ <div class="control-section">
2
+ <div id='inline-rte'>
3
+ <h4>Reactive Form RTE</h4>
4
+ <form [formGroup]="rteForm" (ngSubmit)="onSubmit()">
5
+ <div class="form-group">
6
+ <ejs-richtexteditor #fromRTE formControlName="name" (created)="rteCreated()">
7
+ </ejs-richtexteditor>
8
+ <div *ngIf="rteForm.invalid && (rteForm.controls.name.dirty || rteForm.controls.name.touched)" class="alert alert-danger">
9
+ <div *ngIf="rteForm.controls.name.errors.required">
10
+ Value is required.
11
+ </div>
12
+ </div>
13
+ </div>
14
+ <div class="form-group">
15
+ <button type="submit">Submit</button>
16
+ <button type="reset" (click)="rteForm.reset()" style="margin-left: 20px">Reset</button>
17
+ </div>
18
+ </form>
19
+ </div>
20
+ </div>
@@ -0,0 +1,3 @@
1
+ import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
+ export interface Schema extends ComponentSchema {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });