@syncfusion/ej2-angular-richtexteditor 29.2.4-738301 → 29.2.4-771571
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/CHANGELOG.md +0 -7
- package/README.md +1 -1
- package/package.json +56 -25
- package/schematics/collection.json +10 -39
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +0 -1
- package/styles/rich-text-editor/material3-dark.scss +1 -1
- package/styles/rich-text-editor/material3.scss +1 -1
- package/schematics/generators/richtexteditor-iframe/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-iframe/index.js +0 -8
- package/schematics/generators/richtexteditor-iframe/index.ts +0 -8
- package/schematics/generators/richtexteditor-iframe/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-iframe/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-iframe/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -44
- package/schematics/generators/richtexteditor-iframe/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -28
- package/schematics/generators/richtexteditor-iframe/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-iframe/schema.js +0 -2
- package/schematics/generators/richtexteditor-iframe/schema.json +0 -125
- package/schematics/generators/richtexteditor-iframe/schema.ts +0 -3
- package/schematics/generators/richtexteditor-inline/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-inline/index.js +0 -8
- package/schematics/generators/richtexteditor-inline/index.ts +0 -8
- package/schematics/generators/richtexteditor-inline/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-inline/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-inline/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/richtexteditor-inline/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -30
- package/schematics/generators/richtexteditor-inline/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-inline/schema.js +0 -2
- package/schematics/generators/richtexteditor-inline/schema.json +0 -125
- package/schematics/generators/richtexteditor-inline/schema.ts +0 -3
- package/schematics/generators/richtexteditor-markdown/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-markdown/index.js +0 -8
- package/schematics/generators/richtexteditor-markdown/index.ts +0 -8
- package/schematics/generators/richtexteditor-markdown/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-markdown/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-markdown/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
- package/schematics/generators/richtexteditor-markdown/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -22
- package/schematics/generators/richtexteditor-markdown/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-markdown/schema.js +0 -2
- package/schematics/generators/richtexteditor-markdown/schema.json +0 -125
- package/schematics/generators/richtexteditor-markdown/schema.ts +0 -3
- package/schematics/generators/richtexteditor-overview/images/__path__/__name@dasherize__/RTEImage-Feather.png +0 -0
- package/schematics/generators/richtexteditor-overview/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-overview/index.js +0 -8
- package/schematics/generators/richtexteditor-overview/index.ts +0 -8
- package/schematics/generators/richtexteditor-overview/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-overview/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-overview/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -47
- package/schematics/generators/richtexteditor-overview/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -26
- package/schematics/generators/richtexteditor-overview/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-overview/schema.js +0 -2
- package/schematics/generators/richtexteditor-overview/schema.json +0 -125
- package/schematics/generators/richtexteditor-overview/schema.ts +0 -3
- package/schematics/generators/richtexteditor-reactform/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-reactform/index.js +0 -8
- package/schematics/generators/richtexteditor-reactform/index.ts +0 -8
- package/schematics/generators/richtexteditor-reactform/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-reactform/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-reactform/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -20
- package/schematics/generators/richtexteditor-reactform/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -30
- package/schematics/generators/richtexteditor-reactform/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-reactform/schema.js +0 -2
- package/schematics/generators/richtexteditor-reactform/schema.json +0 -125
- package/schematics/generators/richtexteditor-reactform/schema.ts +0 -3
- package/schematics/generators/richtexteditor-templatedriven/index.d.ts +0 -3
- package/schematics/generators/richtexteditor-templatedriven/index.js +0 -8
- package/schematics/generators/richtexteditor-templatedriven/index.ts +0 -8
- package/schematics/generators/richtexteditor-templatedriven/sample-details.d.ts +0 -5
- package/schematics/generators/richtexteditor-templatedriven/sample-details.js +0 -8
- package/schematics/generators/richtexteditor-templatedriven/sample-details.ts +0 -5
- package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -19
- package/schematics/generators/richtexteditor-templatedriven/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
- package/schematics/generators/richtexteditor-templatedriven/schema.d.ts +0 -3
- package/schematics/generators/richtexteditor-templatedriven/schema.js +0 -2
- package/schematics/generators/richtexteditor-templatedriven/schema.json +0 -125
- package/schematics/generators/richtexteditor-templatedriven/schema.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
### RichTextEditor
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#I724398` - Now, the issue with the console error while running `Vitest` unit tests in the rich text editor has been resolved.
|
|
10
|
-
- `#FB67289` - Now, the issue where the Edit Link popup did not retain the URL after applying font color in the Rich Text Editor has been resolved.
|
|
11
|
-
|
|
12
5
|
## 29.1.40 (2025-04-29)
|
|
13
6
|
|
|
14
7
|
### RichTextEditor
|
package/README.md
CHANGED
|
@@ -119,4 +119,4 @@ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-componen
|
|
|
119
119
|
|
|
120
120
|
See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm) for more info.
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
© Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
|
package/package.json
CHANGED
|
@@ -1,33 +1,44 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"@syncfusion/ej2-richtexteditor"
|
|
12
|
-
"
|
|
2
|
+
"_from": "@syncfusion/ej2-angular-richtexteditor@*",
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-richtexteditor@29.1.40",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-0bd8ApPUIgQpoNjc7fT5DEIsMnC3UfV6qQ4fj4SojXs9xrnjEwARXm0ah+sbI82z9gWzO0hq9F66aRSRoJf3mw==",
|
|
6
|
+
"_location": "/@syncfusion/ej2-angular-richtexteditor",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "range",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "@syncfusion/ej2-angular-richtexteditor@*",
|
|
12
|
+
"name": "@syncfusion/ej2-angular-richtexteditor",
|
|
13
|
+
"escapedName": "@syncfusion%2fej2-angular-richtexteditor",
|
|
14
|
+
"scope": "@syncfusion",
|
|
15
|
+
"rawSpec": "*",
|
|
16
|
+
"saveSpec": null,
|
|
17
|
+
"fetchSpec": "*"
|
|
13
18
|
},
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"angular-html-editor",
|
|
17
|
-
"angular-markdown-editor",
|
|
18
|
-
"angular-wysiwyg-editor"
|
|
19
|
+
"_requiredBy": [
|
|
20
|
+
"/"
|
|
19
21
|
],
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-richtexteditor/-/ej2-angular-richtexteditor-29.1.40.tgz",
|
|
23
|
+
"_shasum": "ed15cafb479eee4a0f8854738eed7e4d623afc94",
|
|
24
|
+
"_spec": "@syncfusion/ej2-angular-richtexteditor@*",
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_29.1.1/ivypackages/included",
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Syncfusion Inc."
|
|
23
28
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/syncfusion/ej2-angular-ui-components/issues"
|
|
31
|
+
},
|
|
32
|
+
"bundleDependencies": false,
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~29.2.4",
|
|
35
|
+
"@syncfusion/ej2-base": "~29.2.4",
|
|
36
|
+
"@syncfusion/ej2-richtexteditor": "29.2.4-771571"
|
|
37
|
+
},
|
|
38
|
+
"deprecated": false,
|
|
39
|
+
"description": "Essential JS 2 RichTextEditor component for Angular",
|
|
26
40
|
"es2020": "fesm2020/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
27
41
|
"esm2020": "esm2020/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
28
|
-
"fesm2020": "fesm2020/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
29
|
-
"fesm2015": "fesm2015/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
30
|
-
"typings": "syncfusion-ej2-angular-richtexteditor.d.ts",
|
|
31
42
|
"exports": {
|
|
32
43
|
"./package.json": {
|
|
33
44
|
"default": "./package.json"
|
|
@@ -40,5 +51,25 @@
|
|
|
40
51
|
"node": "./fesm2015/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
41
52
|
"default": "./fesm2020/syncfusion-ej2-angular-richtexteditor.mjs"
|
|
42
53
|
}
|
|
43
|
-
}
|
|
54
|
+
},
|
|
55
|
+
"fesm2015": "fesm2015/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
56
|
+
"fesm2020": "fesm2020/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
57
|
+
"homepage": "https://www.syncfusion.com/angular-components",
|
|
58
|
+
"keywords": [
|
|
59
|
+
"angular-rich-text-editor",
|
|
60
|
+
"angular-html-editor",
|
|
61
|
+
"angular-markdown-editor",
|
|
62
|
+
"angular-wysiwyg-editor"
|
|
63
|
+
],
|
|
64
|
+
"license": "SEE LICENSE IN license",
|
|
65
|
+
"module": "fesm2015/syncfusion-ej2-angular-richtexteditor.mjs",
|
|
66
|
+
"name": "@syncfusion/ej2-angular-richtexteditor",
|
|
67
|
+
"repository": {
|
|
68
|
+
"type": "git",
|
|
69
|
+
"url": "git+https://github.com/syncfusion/ej2-angular-ui-components.git"
|
|
70
|
+
},
|
|
71
|
+
"schematics": "./schematics/collection.json",
|
|
72
|
+
"sideEffects": false,
|
|
73
|
+
"typings": "syncfusion-ej2-angular-richtexteditor.d.ts",
|
|
74
|
+
"version": "29.2.4-771571"
|
|
44
75
|
}
|
|
@@ -1,40 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
+
"factory": "./ng-add",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -4,6 +4,6 @@ const lib_details_1 = require("./../utils/lib-details");
|
|
|
4
4
|
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
5
5
|
function default_1(options) {
|
|
6
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
|
|
7
|
+
return schematics_1.install(options, libOptions);
|
|
8
8
|
}
|
|
9
9
|
exports.default = default_1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
-
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
-
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
-
|
|
6
|
-
export default function (options: OptionsSchema): Rule {
|
|
7
|
-
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
-
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
-
return install(options, libOptions);
|
|
10
|
-
}
|
|
1
|
+
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
|
|
2
|
+
import { install } from '@syncfusion/ej2-angular-base/schematics';
|
|
3
|
+
import { OptionsSchema, LibOptionsSchema } from './schema';
|
|
4
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
5
|
+
|
|
6
|
+
export default function (options: OptionsSchema): Rule {
|
|
7
|
+
const libOptions: LibOptionsSchema = Object.assign({},
|
|
8
|
+
{ 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
|
|
9
|
+
return install(options, libOptions);
|
|
10
|
+
}
|
|
@@ -1,34 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface OptionsSchema {
|
|
2
|
-
// Whether to skip package.json install.
|
|
3
|
-
skipPackageJson: boolean;
|
|
4
|
-
|
|
5
|
-
// Used to specify required module names
|
|
6
|
-
modules: string;
|
|
7
|
-
|
|
8
|
-
// Used to specify custom module path
|
|
9
|
-
modulePath: string;
|
|
10
|
-
|
|
11
|
-
// Used to specify theme name
|
|
12
|
-
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
-
|
|
14
|
-
// Name of the project to target.
|
|
15
|
-
project?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface LibOptionsSchema {
|
|
19
|
-
// Package name
|
|
20
|
-
pkgName: string;
|
|
21
|
-
|
|
22
|
-
// Package version
|
|
23
|
-
pkgVer: string;
|
|
24
|
-
|
|
25
|
-
// Library base module name
|
|
26
|
-
moduleName: string;
|
|
27
|
-
|
|
28
|
-
// Theme version
|
|
29
|
-
themeVer: string;
|
|
30
|
-
}
|
|
1
|
+
export interface OptionsSchema {
|
|
2
|
+
// Whether to skip package.json install.
|
|
3
|
+
skipPackageJson: boolean;
|
|
4
|
+
|
|
5
|
+
// Used to specify required module names
|
|
6
|
+
modules: string;
|
|
7
|
+
|
|
8
|
+
// Used to specify custom module path
|
|
9
|
+
modulePath: string;
|
|
10
|
+
|
|
11
|
+
// Used to specify theme name
|
|
12
|
+
theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
|
|
13
|
+
|
|
14
|
+
// Name of the project to target.
|
|
15
|
+
project?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface LibOptionsSchema {
|
|
19
|
+
// Package name
|
|
20
|
+
pkgName: string;
|
|
21
|
+
|
|
22
|
+
// Package version
|
|
23
|
+
pkgVer: string;
|
|
24
|
+
|
|
25
|
+
// Library base module name
|
|
26
|
+
moduleName: string;
|
|
27
|
+
|
|
28
|
+
// Theme version
|
|
29
|
+
themeVer: string;
|
|
30
|
+
}
|
package/schematics/tsconfig.json
CHANGED
|
@@ -1,25 +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
|
+
{
|
|
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,4 +1,4 @@
|
|
|
1
1
|
export declare const pkgName = "@syncfusion/ej2-angular-richtexteditor";
|
|
2
|
-
export declare const pkgVer = "^29.
|
|
2
|
+
export declare const pkgVer = "^29.1.40";
|
|
3
3
|
export declare const moduleName = "RichTextEditorModule";
|
|
4
|
-
export declare const themeVer = "~29.
|
|
4
|
+
export declare const themeVer = "~29.1.40";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.themeVer = exports.moduleName = exports.pkgVer = exports.pkgName = void 0;
|
|
4
3
|
exports.pkgName = '@syncfusion/ej2-angular-richtexteditor';
|
|
5
4
|
exports.pkgVer = '^29.2.4';
|
|
6
5
|
exports.moduleName = 'RichTextEditorModule';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
@import 'ej2-richtexteditor/styles/rich-text-editor/material3-dark.scss';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
@import 'ej2-richtexteditor/styles/rich-text-editor/material3.scss';
|
|
@@ -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 (0, 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,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.libModules = exports.packageName = exports.diModules = exports.sampleName = exports.componentName = void 0;
|
|
4
|
-
exports.componentName = 'richtexteditor';
|
|
5
|
-
exports.sampleName = 'iframe';
|
|
6
|
-
exports.diModules = 'ToolbarService,LinkService,ImageService,HtmlEditorService';
|
|
7
|
-
exports.packageName = '@syncfusion/ej2-angular-richtexteditor';
|
|
8
|
-
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 <IFRAME> and <DIV> 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
|
-
}
|