@syncfusion/ej2-angular-richtexteditor 26.1.35 → 26.1.38

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 (90) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +6 -6
  3. package/schematics/collection.json +0 -30
  4. package/styles/fluent2.css +5 -5
  5. package/styles/rich-text-editor/fluent2.css +5 -5
  6. package/schematics/generators/richtexteditor-iframe/index.d.ts +0 -3
  7. package/schematics/generators/richtexteditor-iframe/index.js +0 -8
  8. package/schematics/generators/richtexteditor-iframe/index.ts +0 -8
  9. package/schematics/generators/richtexteditor-iframe/sample-details.d.ts +0 -5
  10. package/schematics/generators/richtexteditor-iframe/sample-details.js +0 -7
  11. package/schematics/generators/richtexteditor-iframe/sample-details.ts +0 -5
  12. package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  13. package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -44
  14. package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -28
  15. package/schematics/generators/richtexteditor-iframe/schema.d.ts +0 -3
  16. package/schematics/generators/richtexteditor-iframe/schema.js +0 -2
  17. package/schematics/generators/richtexteditor-iframe/schema.json +0 -125
  18. package/schematics/generators/richtexteditor-iframe/schema.ts +0 -3
  19. package/schematics/generators/richtexteditor-inline/index.d.ts +0 -3
  20. package/schematics/generators/richtexteditor-inline/index.js +0 -8
  21. package/schematics/generators/richtexteditor-inline/index.ts +0 -8
  22. package/schematics/generators/richtexteditor-inline/sample-details.d.ts +0 -5
  23. package/schematics/generators/richtexteditor-inline/sample-details.js +0 -7
  24. package/schematics/generators/richtexteditor-inline/sample-details.ts +0 -5
  25. package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  26. package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
  27. package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -30
  28. package/schematics/generators/richtexteditor-inline/schema.d.ts +0 -3
  29. package/schematics/generators/richtexteditor-inline/schema.js +0 -2
  30. package/schematics/generators/richtexteditor-inline/schema.json +0 -125
  31. package/schematics/generators/richtexteditor-inline/schema.ts +0 -3
  32. package/schematics/generators/richtexteditor-markdown/index.d.ts +0 -3
  33. package/schematics/generators/richtexteditor-markdown/index.js +0 -8
  34. package/schematics/generators/richtexteditor-markdown/index.ts +0 -8
  35. package/schematics/generators/richtexteditor-markdown/sample-details.d.ts +0 -5
  36. package/schematics/generators/richtexteditor-markdown/sample-details.js +0 -7
  37. package/schematics/generators/richtexteditor-markdown/sample-details.ts +0 -5
  38. package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  39. package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  40. package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -22
  41. package/schematics/generators/richtexteditor-markdown/schema.d.ts +0 -3
  42. package/schematics/generators/richtexteditor-markdown/schema.js +0 -2
  43. package/schematics/generators/richtexteditor-markdown/schema.json +0 -125
  44. package/schematics/generators/richtexteditor-markdown/schema.ts +0 -3
  45. package/schematics/generators/richtexteditor-overview/images/__path__/__name@dasherize__/RTEImage-Feather.png +0 -0
  46. package/schematics/generators/richtexteditor-overview/index.d.ts +0 -3
  47. package/schematics/generators/richtexteditor-overview/index.js +0 -8
  48. package/schematics/generators/richtexteditor-overview/index.ts +0 -8
  49. package/schematics/generators/richtexteditor-overview/sample-details.d.ts +0 -5
  50. package/schematics/generators/richtexteditor-overview/sample-details.js +0 -7
  51. package/schematics/generators/richtexteditor-overview/sample-details.ts +0 -5
  52. package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  53. package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -47
  54. package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -26
  55. package/schematics/generators/richtexteditor-overview/schema.d.ts +0 -3
  56. package/schematics/generators/richtexteditor-overview/schema.js +0 -2
  57. package/schematics/generators/richtexteditor-overview/schema.json +0 -125
  58. package/schematics/generators/richtexteditor-overview/schema.ts +0 -3
  59. package/schematics/generators/richtexteditor-reactform/index.d.ts +0 -3
  60. package/schematics/generators/richtexteditor-reactform/index.js +0 -8
  61. package/schematics/generators/richtexteditor-reactform/index.ts +0 -8
  62. package/schematics/generators/richtexteditor-reactform/sample-details.d.ts +0 -5
  63. package/schematics/generators/richtexteditor-reactform/sample-details.js +0 -7
  64. package/schematics/generators/richtexteditor-reactform/sample-details.ts +0 -5
  65. package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  66. package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -20
  67. package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -30
  68. package/schematics/generators/richtexteditor-reactform/schema.d.ts +0 -3
  69. package/schematics/generators/richtexteditor-reactform/schema.js +0 -2
  70. package/schematics/generators/richtexteditor-reactform/schema.json +0 -125
  71. package/schematics/generators/richtexteditor-reactform/schema.ts +0 -3
  72. package/schematics/generators/richtexteditor-templatedriven/index.d.ts +0 -3
  73. package/schematics/generators/richtexteditor-templatedriven/index.js +0 -8
  74. package/schematics/generators/richtexteditor-templatedriven/index.ts +0 -8
  75. package/schematics/generators/richtexteditor-templatedriven/sample-details.d.ts +0 -5
  76. package/schematics/generators/richtexteditor-templatedriven/sample-details.js +0 -7
  77. package/schematics/generators/richtexteditor-templatedriven/sample-details.ts +0 -5
  78. package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  79. package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -19
  80. package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
  81. package/schematics/generators/richtexteditor-templatedriven/schema.d.ts +0 -3
  82. package/schematics/generators/richtexteditor-templatedriven/schema.js +0 -2
  83. package/schematics/generators/richtexteditor-templatedriven/schema.json +0 -125
  84. package/schematics/generators/richtexteditor-templatedriven/schema.ts +0 -3
  85. package/schematics/ng-add/index.d.ts +0 -3
  86. package/schematics/ng-add/index.js +0 -9
  87. package/schematics/ng-add/schema.d.ts +0 -13
  88. package/schematics/ng-add/schema.js +0 -2
  89. package/schematics/utils/lib-details.d.ts +0 -4
  90. package/schematics/utils/lib-details.js +0 -6
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@
4
4
 
5
5
  ### RichTextEditor
6
6
 
7
+ #### Bug Fixes
8
+
9
+ - Now, fixed the issue with font color and the background color popup not opening in rare cases.
10
+
11
+ ## 26.1.35 (2024-06-11)
12
+
13
+ ### RichTextEditor
14
+
7
15
  #### Features
8
16
 
9
17
  - **Table row and column selection**: Improved the selection of table rows and columns using the mouse or keyboard with Shift + arrow keys, setting the background color of the selected cells. Additionally, enabled table selection when pressing the backspace key after the table and the delete key before the table.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "_from": "@syncfusion/ej2-angular-richtexteditor@*",
3
3
  "_id": "@syncfusion/ej2-angular-richtexteditor@26.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-wm9XJV/y9eUMpRCx+WtwFj0hyzQC5zxKl0+YtoMVZWbYq/rb1eTMFhWn0cQGFMrUgspC7d0c5eUmiMkQ9PHKig==",
5
+ "_integrity": "sha512-X5s5LhCBRa2aa1TDtbCCoN1i2mxP2w33uA5h4PRlibDcIzWyGsT1oF335Cw1ElxWpWK6p51EAPxku4ywqiRGGw==",
6
6
  "_location": "/@syncfusion/ej2-angular-richtexteditor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-release/@syncfusion/ej2-angular-richtexteditor/-/ej2-angular-richtexteditor-26.1.35.tgz",
23
- "_shasum": "23edd355867b477d4a3fa9311cb7c46614356588",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-richtexteditor/-/ej2-angular-richtexteditor-26.1.35.tgz",
23
+ "_shasum": "e1d0e23afd9698d1aaa3869fab72de79647179af",
24
24
  "_spec": "@syncfusion/ej2-angular-richtexteditor@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/ivypackages/included",
26
26
  "author": {
@@ -32,8 +32,8 @@
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
34
  "@syncfusion/ej2-angular-base": "~26.1.35",
35
- "@syncfusion/ej2-base": "~26.1.35",
36
- "@syncfusion/ej2-richtexteditor": "26.1.35",
35
+ "@syncfusion/ej2-base": "~26.1.37",
36
+ "@syncfusion/ej2-richtexteditor": "26.1.38",
37
37
  "tslib": "^2.3.0"
38
38
  },
39
39
  "deprecated": false,
@@ -72,5 +72,5 @@
72
72
  "schematics": "./schematics/collection.json",
73
73
  "sideEffects": false,
74
74
  "typings": "syncfusion-ej2-angular-richtexteditor.d.ts",
75
- "version": "26.1.35"
75
+ "version": "26.1.38"
76
76
  }
@@ -5,36 +5,6 @@
5
5
  "description": "Adds Essential JS 2 specific Angular package to an application",
6
6
  "factory": "./ng-add",
7
7
  "schema": "./ng-add/schema.json"
8
- },
9
- "richtexteditor-iframe": {
10
- "description": "Create an Angular RichTextEditor component with iframe feature",
11
- "factory": "./generators/richtexteditor-iframe",
12
- "schema": "./generators/richtexteditor-iframe/schema.json"
13
- },
14
- "richtexteditor-inline": {
15
- "description": "Create an Angular RichTextEditor component with inline feature",
16
- "factory": "./generators/richtexteditor-inline",
17
- "schema": "./generators/richtexteditor-inline/schema.json"
18
- },
19
- "richtexteditor-markdown": {
20
- "description": "Create an Angular RichTextEditor component with markdown feature",
21
- "factory": "./generators/richtexteditor-markdown",
22
- "schema": "./generators/richtexteditor-markdown/schema.json"
23
- },
24
- "richtexteditor-overview": {
25
- "description": "Create an Angular RichTextEditor component with all tools",
26
- "factory": "./generators/richtexteditor-overview",
27
- "schema": "./generators/richtexteditor-overview/schema.json"
28
- },
29
- "richtexteditor-reactform": {
30
- "description": "Create an Angular RichTextEditor component with reactive form",
31
- "factory": "./generators/richtexteditor-reactform",
32
- "schema": "./generators/richtexteditor-reactform/schema.json"
33
- },
34
- "richtexteditor-templatedriven": {
35
- "description": "Create an Angular RichTextEditor component with template form",
36
- "factory": "./generators/richtexteditor-templatedriven",
37
- "schema": "./generators/richtexteditor-templatedriven/schema.json"
38
8
  }
39
9
  }
40
10
  }
@@ -2780,13 +2780,13 @@
2780
2780
  font-size: 2em;
2781
2781
  font-weight: bold;
2782
2782
  height: 40px;
2783
- line-height: 40px;
2783
+ line-height: 25px;
2784
2784
  }
2785
2785
  .e-rte-dropdown-popup ul .e-item.e-h2 {
2786
2786
  font-size: 1.5em;
2787
2787
  font-weight: bold;
2788
2788
  height: 40px;
2789
- line-height: 40px;
2789
+ line-height: 25px;
2790
2790
  }
2791
2791
  .e-rte-dropdown-popup ul .e-item.e-h3 {
2792
2792
  font-size: 1.16em;
@@ -3160,13 +3160,13 @@
3160
3160
  margin: 0 auto;
3161
3161
  padding: 6px 12px 6px 12px;
3162
3162
  position: relative;
3163
- top: -50px;
3163
+ top: -120px;
3164
3164
  }
3165
3165
  .e-richtexteditor .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
3166
3166
  .e-richtexteditor .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn,
3167
3167
  .e-rte-elements .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
3168
3168
  .e-rte-elements .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
3169
- top: -50px;
3169
+ top: -120px;
3170
3170
  }
3171
3171
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
3172
3172
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea .e-browsebtn,
@@ -4068,7 +4068,7 @@
4068
4068
  margin: 0 auto;
4069
4069
  padding: 6px 12px 6px 12px;
4070
4070
  position: relative;
4071
- top: -50px;
4071
+ top: -120px;
4072
4072
  }
4073
4073
  .e-rte-elements.e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
4074
4074
  .e-rte-elements.e-dialog .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
@@ -2780,13 +2780,13 @@
2780
2780
  font-size: 2em;
2781
2781
  font-weight: bold;
2782
2782
  height: 40px;
2783
- line-height: 40px;
2783
+ line-height: 25px;
2784
2784
  }
2785
2785
  .e-rte-dropdown-popup ul .e-item.e-h2 {
2786
2786
  font-size: 1.5em;
2787
2787
  font-weight: bold;
2788
2788
  height: 40px;
2789
- line-height: 40px;
2789
+ line-height: 25px;
2790
2790
  }
2791
2791
  .e-rte-dropdown-popup ul .e-item.e-h3 {
2792
2792
  font-size: 1.16em;
@@ -3160,13 +3160,13 @@
3160
3160
  margin: 0 auto;
3161
3161
  padding: 6px 12px 6px 12px;
3162
3162
  position: relative;
3163
- top: -50px;
3163
+ top: -120px;
3164
3164
  }
3165
3165
  .e-richtexteditor .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
3166
3166
  .e-richtexteditor .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn,
3167
3167
  .e-rte-elements .e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
3168
3168
  .e-rte-elements .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
3169
- top: -50px;
3169
+ top: -120px;
3170
3170
  }
3171
3171
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-img-uploadwrap.e-droparea .e-browsebtn,
3172
3172
  .e-richtexteditor .e-dialog.e-device.e-dlg-modal .e-aud-uploadwrap.e-droparea .e-browsebtn,
@@ -4068,7 +4068,7 @@
4068
4068
  margin: 0 auto;
4069
4069
  padding: 6px 12px 6px 12px;
4070
4070
  position: relative;
4071
- top: -50px;
4071
+ top: -120px;
4072
4072
  }
4073
4073
  .e-rte-elements.e-dialog .e-vid-uploadwrap.e-droparea .e-browsebtn,
4074
4074
  .e-rte-elements.e-dialog .e-rte-video-dialog.e-dialog.e-device.e-dlg-modal .e-vid-uploadwrap.e-droparea .e-browsebtn {
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'richtexteditor';
4
- exports.sampleName = 'iframe';
5
- exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService';
6
- exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
7
- exports.libModules = 'RichTextEditorModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'richtexteditor';
2
- export const sampleName: string = 'iframe';
3
- export const diModules: string = 'ToolbarService,LinkService,ImageService,HtmlEditorService';
4
- export const packageName: string = '@syncfusion/ej2-angular-richtexteditor';
5
- export const libModules: string = 'RichTextEditorModule';
@@ -1,44 +0,0 @@
1
- <div class="control-section">
2
- <div id='iframe-rte'>
3
- <h4>Iframe RTE</h4>
4
- <ejs-richtexteditor #iframeRTE id='iframeRTE' [toolbarSettings]='tools' [iframeSettings]='iframe' [height]='height'>
5
- <ng-template #valueTemplate>
6
- <p>The rich text editor component is WYSIWYG ("what you see is what you get") editor that provides the best user experience to create and update the content.
7
- Users can format their content using standard toolbar commands.</p>
8
- <p><b>Key features:</b></p>
9
- <ul>
10
- <li>
11
- <p>Provides &lt;IFRAME&gt; and &lt;DIV&gt; modes</p>
12
- </li>
13
- <li>
14
- <p>Capable of handling markdown editing.</p>
15
- </li>
16
- <li>
17
- <p>Contains a modular library to load the necessary functionality on demand.</p>
18
- </li>
19
- <li>
20
- <p>Provides a fully customizable toolbar.</p>
21
- </li>
22
- <li>
23
- <p>Provides HTML view to edit the source directly for developers.</p>
24
- </li>
25
- <li>
26
- <p>Supports third-party library integration.</p>
27
- </li>
28
- <li>
29
- <p>Allows preview of modified content before saving it.</p>
30
- </li>
31
- <li>
32
- <p>Handles images, hyperlinks, video, hyperlinks, uploads, etc.</p>
33
- </li>
34
- <li>
35
- <p>Contains undo/redo manager.</p>
36
- </li>
37
- <li>
38
- <p>Creates bulleted and numbered lists.</p>
39
- </li>
40
- </ul>
41
- </ng-template>
42
- </ejs-richtexteditor>
43
- </div>
44
- </div>
@@ -1,28 +0,0 @@
1
- /**
2
- * RTE Iframe Sample
3
- */
4
- import { Component } from '@angular/core';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css']
10
- })
11
-
12
- export class <%= classify(name) %>Component {
13
-
14
- // Define a required toolbar items
15
- public tools: object = {
16
- items: ['Bold', 'Italic', 'Underline', 'StrikeThrough',
17
- 'FontName', 'FontSize', 'FontColor', 'BackgroundColor',
18
- 'LowerCase', 'UpperCase', '|',
19
- 'Formats', 'Alignments', 'OrderedList', 'UnorderedList',
20
- 'Outdent', 'Indent', '|',
21
- 'CreateLink', 'Image', '|', 'ClearFormat', 'Print',
22
- 'SourceCode', 'FullScreen', '|', 'Undo', 'Redo']
23
- };
24
- // Enable the iframe
25
- public iframe: object = { enable: true };
26
- // Set the RTE height
27
- public height: number = 500;
28
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,125 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "EJ2SchemaTemplateID",
4
- "title": "richtexteditor-iframe",
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-iframe"
125
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
-
3
- export interface Schema extends ComponentSchema { }
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.componentName = 'richtexteditor';
4
- exports.sampleName = 'inline';
5
- exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService,QuickToolbarService';
6
- exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
7
- exports.libModules = 'RichTextEditorModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'richtexteditor';
2
- export const sampleName: string = 'inline';
3
- export const diModules: string = 'ToolbarService,LinkService,ImageService,HtmlEditorService,QuickToolbarService';
4
- export const packageName: string = '@syncfusion/ej2-angular-richtexteditor';
5
- export const libModules: string = 'RichTextEditorModule';
@@ -1,10 +0,0 @@
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>
@@ -1,30 +0,0 @@
1
- /**
2
- * RTE Inline Sample
3
- */
4
- import { Component } from '@angular/core';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css']
10
- })
11
-
12
- export class <%= classify(name) %>Component {
13
-
14
- // Define a toolbar items
15
- public toolbarSettings: Object = {
16
- items: ['Bold', 'Italic', 'Underline',
17
- 'Formats', '-', 'Alignments', 'OrderedList', 'UnorderedList',
18
- 'CreateLink']
19
- };
20
- // Set the format dropdown width
21
- public format: Object = {
22
- width: 'auto'
23
- };
24
- // Set the font family dropdown width
25
- public fontFamily: Object = {
26
- width: 'auto'
27
- };
28
- // Enable inline mode
29
- public inlineMode: object = { enable: true, onSelection: true };
30
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });