@syncfusion/ej2-angular-documenteditor 31.2.10 → 31.2.12

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 (30) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1 -1
  3. package/package.json +4 -4
  4. package/schematics/collection.json +10 -14
  5. package/schematics/ng-add/index.js +1 -1
  6. package/schematics/ng-add/index.ts +10 -10
  7. package/schematics/ng-add/schema.json +34 -34
  8. package/schematics/ng-add/schema.ts +30 -30
  9. package/schematics/tsconfig.json +25 -25
  10. package/schematics/utils/lib-details.d.ts +2 -2
  11. package/schematics/utils/lib-details.js +2 -3
  12. package/schematics/utils/lib-details.ts +4 -4
  13. package/styles/document-editor/material3-dark.scss +1 -1
  14. package/styles/document-editor/material3.scss +1 -1
  15. package/styles/document-editor-container/material3-dark.scss +1 -1
  16. package/styles/document-editor-container/material3.scss +1 -1
  17. package/schematics/generators/documenteditorcontainer-default/index.d.ts +0 -3
  18. package/schematics/generators/documenteditorcontainer-default/index.js +0 -8
  19. package/schematics/generators/documenteditorcontainer-default/index.ts +0 -8
  20. package/schematics/generators/documenteditorcontainer-default/sample-details.d.ts +0 -5
  21. package/schematics/generators/documenteditorcontainer-default/sample-details.js +0 -8
  22. package/schematics/generators/documenteditorcontainer-default/sample-details.ts +0 -5
  23. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  24. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  25. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
  26. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/assets/data.ts +0 -1423
  27. package/schematics/generators/documenteditorcontainer-default/schema.d.ts +0 -3
  28. package/schematics/generators/documenteditorcontainer-default/schema.js +0 -2
  29. package/schematics/generators/documenteditorcontainer-default/schema.json +0 -125
  30. package/schematics/generators/documenteditorcontainer-default/schema.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -6,6 +6,29 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ `#I776220` - Table fill color was not applied correctly.
10
+ `#I778750` - Alignment, line spacing, and font settings were not preserved.
11
+ `#I770477` - Cell width became incorrect after merging cells.
12
+ `#I783704` - Find pane did not open with the Ctrl + F shortcut.
13
+ `#I779496` - Fixed a script error that occurred when deleting content inside a table cell.
14
+ `#I775650` - "No Color" highlight option now shows the pointer cursor like other buttons.
15
+ `#I783047` - Corrected superscript formatting when typing a comma.
16
+ `#I770706` - Undo now restores the original bullet-point formatting.
17
+ `#I774637` - Spell-check suggestions were not displayed properly.
18
+ `#I779125` - Resolved script error when exporting the document as DOCX.
19
+ `#I773853` - The `showRevisions` property now works correctly in protected documents.
20
+ `#I763990` - Footnotes were undefined when serializing a document.
21
+ `#I781625` - Resolved selection issues with nested bookmarks when using the `navigateToNextEditingRegion` API.
22
+ `#I780167` - Reduced lag during text insertion and backspacing.
23
+ `#I776105` - Prevented image clipping when "Exactly" line spacing is applied.
24
+ `#I778204` - Cursor is now visible in an empty editable region.
25
+
26
+ ## 31.2.10 (2025-11-13)
27
+
28
+ ### DocumentEditor
29
+
30
+ #### Bug Fixes
31
+
9
32
  `#I764638` - Resolved an issue where justified text ending with a line break was not displayed correctly in the Document Editor.
10
33
  `#I729357` - Fixed unintended removal of extra content when the Delete API was used.
11
34
  `#I778197` - Prevented multiple ribbon refreshes triggered by bookmark selection changes.
package/README.md CHANGED
@@ -170,4 +170,4 @@ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-componen
170
170
 
171
171
  See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) for more info.
172
172
 
173
- &copy; Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
173
+ © 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,14 +1,14 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-angular-documenteditor",
3
- "version": "31.2.10",
3
+ "version": "31.2.12",
4
4
  "description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for Angular",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
7
7
  "schematics": "./schematics/collection.json",
8
8
  "dependencies": {
9
- "@syncfusion/ej2-base": "~31.2.5",
10
- "@syncfusion/ej2-angular-base": "~31.2.2",
11
- "@syncfusion/ej2-documenteditor": "31.2.10"
9
+ "@syncfusion/ej2-base": "~31.2.12",
10
+ "@syncfusion/ej2-angular-base": "~31.2.12",
11
+ "@syncfusion/ej2-documenteditor": "31.2.12"
12
12
  },
13
13
  "keywords": [
14
14
  "ej2-angular-documenteditor",
@@ -1,15 +1,11 @@
1
1
  {
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
- "documenteditorcontainer-default": {
10
- "description": "Create an Angular documentEditorContainer component with toolbar feature ",
11
- "factory": "./generators/documenteditorcontainer-default",
12
- "schema": "./generators/documenteditorcontainer-default/schema.json"
13
- }
14
- }
15
- }
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 (0, schematics_1.install)(options, libOptions);
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
+ }
@@ -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-documenteditor";
2
- export declare const pkgVer = "^31.2.5";
2
+ export declare const pkgVer = "^31.1.20";
3
3
  export declare const moduleName = "DocumentEditorModule, DocumentEditorContainerModule";
4
- export declare const themeVer = "~31.2.5";
4
+ export declare const themeVer = "~31.1.20";
@@ -1,7 +1,6 @@
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-documenteditor';
5
- exports.pkgVer = '^31.2.5';
4
+ exports.pkgVer = '^31.2.12';
6
5
  exports.moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
7
- exports.themeVer = '~31.2.5';
6
+ exports.themeVer = '~31.2.12';
@@ -1,4 +1,4 @@
1
- export const pkgName = '@syncfusion/ej2-angular-documenteditor';
2
- export const pkgVer = '^31.2.5';
3
- export const moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
4
- export const themeVer = '~31.2.5';
1
+ export const pkgName = '@syncfusion/ej2-angular-documenteditor';
2
+ export const pkgVer = '^31.2.12';
3
+ export const moduleName = 'DocumentEditorModule, DocumentEditorContainerModule';
4
+ export const themeVer = '~31.2.12';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3-dark.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3-dark.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor/material3.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3-dark.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3-dark.scss';
@@ -1,2 +1,2 @@
1
- @import 'ej2-base/styles/definition/material3.scss';
1
+
2
2
  @import 'ej2-documenteditor/styles/document-editor-container/material3.scss';
@@ -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 (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,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,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 = 'documenteditorcontainer';
5
- exports.sampleName = 'default';
6
- exports.diModules = 'ToolbarService';
7
- exports.packageName = '@syncfusion/ej2-angular-documenteditor';
8
- exports.libModules = 'DocumentEditorContainerModule';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'documenteditorcontainer';
2
- export const sampleName: string = 'default';
3
- export const diModules: string = 'ToolbarService';
4
- export const packageName: string = '@syncfusion/ej2-angular-documenteditor';
5
- export const libModules: string = 'DocumentEditorContainerModule';
@@ -1,8 +0,0 @@
1
- <div class="control-section">
2
- <div>
3
- <div>
4
- <ejs-documenteditorcontainer #documentEditorContainerInstance [enableToolbar]=true (created)="render()"
5
- style="display:block;height:600px"></ejs-documenteditorcontainer>
6
- </div>
7
- </div>
8
- </div>
@@ -1,25 +0,0 @@
1
- import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
2
- import { ToolbarService, DocumentEditorContainerComponent } from '@syncfusion/ej2-angular-documenteditor';
3
- import { defaultDocument, WEB_API_ACTION } from './assets/data';
4
-
5
- /**
6
- * Document Editor Component
7
- */
8
- @Component({
9
- selector: '<%=dasherize(selector)%>',
10
- templateUrl: '<%=dasherize(name)%>.component.html',
11
- styleUrls: ['<%=dasherize(name)%>.component.css'],
12
- encapsulation: ViewEncapsulation.None,
13
- providers: [ToolbarService],
14
- })
15
- export class <%= classify(name) %>Component {
16
- public hostUrl: string = 'https://ej2services.syncfusion.com/production/web-services/';
17
- @ViewChild('documentEditorContainerInstance')
18
- public documentEditorContainerInstance: DocumentEditorContainerComponent;
19
-
20
- render(): void {
21
- this.documentEditorContainerInstance.locale = 'en-US';
22
- this.documentEditorContainerInstance.serviceUrl = this.hostUrl + WEB_API_ACTION;
23
- this.documentEditorContainerInstance.documentEditor.open(JSON.stringify(defaultDocument));
24
- }
25
- }