Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ If document loading fails and you see a 404 error in the browser console, the [J

## Reasons

The 404 error may occur due to the following reasons:
The 404 error may occur due to the following:

- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing required endpoints such as `/Import` or `/SpellCheck` to return 404.
- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing the required endpoints such as `/Import` or `/SpellCheck` to return 404.
- **The configured `serviceUrl` is invalid** – Issues like a missing trailing slash (`/`), wrong port number, incorrect API route, or typos will cause the editor to call incorrect endpoints.
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL which no longer valid.
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL that is no longer valid.

## Solutions

Expand All @@ -28,6 +28,6 @@ The 404 error may occur due to the following reasons:
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
```

> Note: The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
N> The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer to and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.

- If you are using your own hosted Web API, ensure that the Web Service is running, active, and the configured service URL is valid.
- If you are using your own hosted Web API, ensure that the Web Service is running and the configured service URL is valid.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ domainurl: ##DomainURL##

# Unsupported Features in JavaScript (ES5) DOCX Editor

This section describes the unsupported elements in [JavaScript DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor) (Document Editor)
This section describes the unsupported features in [JavaScript DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor) (Document Editor).

## Document formatting

Expand All @@ -28,15 +28,15 @@ This section describes the unsupported elements in [JavaScript DOCX Editor](http
| | Number spacing | No |
| | Number forms | No |
| | Stylistic sets | No |
| | Contextual alternates| No |
| | Contextual alternates | No |
| | Text Direction (Top to Bottom, Bottom to Top) | No |
| | Border styles (*Except dotted and dashed; other styles are rendered as solid*) | Partial |
| Section Formatting | Mirror margins | No |
| | Gutter | No |
| | Line numbers | No |
| | Bi-direction | No |
| Page background | Page background color or image | No |
| Watermark | Text and Picture watermark| No |
| Watermark | Text and Picture Watermark | No |
| Table Format | Border styles (*Except dotted and dashed; other styles are rendered as solid*) | Partial |

## Word Document Elements
Expand All @@ -50,8 +50,8 @@ This section describes the unsupported elements in [JavaScript DOCX Editor](http
| Video or audio files | No |
| Macros | No |
| Models, Smart-Art, and Charts | [Supported Charts](https://help.syncfusion.com/document-processing/word/word-processor/javascript-es5/chart) |
| Shapes, Textboxes, and WordArt | [Supported shapes](https://help.syncfusion.com/document-processing/word/word-processor/javascript-es5/shapes) *(Shape Properties: Fill types, borders, rotation and effects are not supported) |
| Shapes, Textboxes, and WordArt | [Supported shapes](https://help.syncfusion.com/document-processing/word/word-processor/javascript-es5/shapes) *(Shape Properties: Fill types, borders, rotation, and effects are not supported)* |
| Signature line | No |
| Special Characters, Symbols, Equations | No |
| Built-in and custom document properties | No |
| Comment reactions | No
| Comment reactions | No |
21 changes: 11 additions & 10 deletions Document-Processing/Word/Word-Processor/javascript-es5/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ domainurl: ##DomainURL##
---
# View in JavaScript (ES5) Document editor control

## Web layout
## Web Layout

[JavaScript DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor) (Document Editor) allows you to change the view to web layout and print using the [`layoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor/layoutType/).
[JavaScript DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor) (Document Editor) allows you to change the view to web layout and print layout using the [`layoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor/layoutType/).

```ts
let docEdit: DocumentEditor = new DocumentEditor({ layoutType: 'Continuous'});
```

>Note: Default value of [`layoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor#layouttype) in DocumentEditor component is [`Pages`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor/layoutType/).
N> The default value of [`layoutType`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor#layouttype) in the DocumentEditor component is [`Pages`](https://ej2.syncfusion.com/javascript/documentation/api/document-editor/layoutType/).

### Online Demo

Explore how to view Word documents in web layout using the JavaScript (ES5) Document Editor in this live demo [here](https://document.syncfusion.com/demos/docx-editor/javascript-es5/#/material3/document-editor/web-layout.html).

## Ruler

Using ruler we can refer to setting specific margins, tab stops, or indentations within a document to ensure consistent formatting in Document Editor.
Use the ruler to set specific margins, tab stops, or indentations within a document to ensure consistent formatting in Document Editor.

The following example illustrates how to enable ruler in Document Editor
The following example illustrates how to enable the ruler in Document Editor.

{% tabs %}
{% highlight js tabtitle="index.js" %}
Expand All @@ -48,20 +48,21 @@ Explore how to use the ruler in the JavaScript (ES5) Document Editor for working

Using the heading navigation pane allows users to swiftly navigate documents by heading, enhancing their ability to move through the document efficiently.

The following example illustrates how to enable heading navigation pane in Document Editor
The following example illustrates how to enable the heading navigation pane in Document Editor.

```ts
let container: DocumentEditorContainer = new DocumentEditorContainer({ enableToolbar: true,height: '590px',
// Enable heading navigation pane in document editor
let container: DocumentEditorContainer = new DocumentEditorContainer({ enableToolbar: true, height: '590px',
// Enable the heading navigation pane in Document Editor.
documentEditorSettings: {
showNavigationPane: true,
}
});
DocumentEditorContainer.Inject(Toolbar);
ej.documenteditor.DocumentEditorContainer.Inject(ej.documenteditor.Toolbar);
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
container.appendTo('#container');
```
> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.

N> The Web API hosted link `https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/` utilized in the Document Editor's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer to and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.

### Online Demo

Expand Down
Loading