@syncfusion/ej2-angular-richtexteditor 34.2.7 → 34.2.8-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 (32) hide show
  1. package/@syncfusion/ej2-angular-richtexteditor.es5.js +402 -0
  2. package/@syncfusion/ej2-angular-richtexteditor.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-richtexteditor.js +383 -0
  4. package/@syncfusion/ej2-angular-richtexteditor.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/README.md +62 -127
  7. package/dist/ej2-angular-richtexteditor.umd.js +1042 -0
  8. package/dist/ej2-angular-richtexteditor.umd.js.map +1 -0
  9. package/dist/ej2-angular-richtexteditor.umd.min.js +11 -0
  10. package/dist/ej2-angular-richtexteditor.umd.min.js.map +1 -0
  11. package/ej2-angular-richtexteditor.d.ts +5 -0
  12. package/ej2-angular-richtexteditor.metadata.json +1 -0
  13. package/package.json +10 -23
  14. package/public_api.d.ts +1 -1
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/index.d.ts +4 -4
  18. package/src/rich-text-editor/richtexteditor-all.module.d.ts +27 -33
  19. package/src/rich-text-editor/richtexteditor.component.d.ts +96 -99
  20. package/src/rich-text-editor/richtexteditor.module.d.ts +5 -11
  21. package/CHANGELOG.md +0 -2979
  22. package/esm2020/public_api.mjs +0 -2
  23. package/esm2020/src/index.mjs +0 -5
  24. package/esm2020/src/rich-text-editor/richtexteditor-all.module.mjs +0 -89
  25. package/esm2020/src/rich-text-editor/richtexteditor.component.mjs +0 -245
  26. package/esm2020/src/rich-text-editor/richtexteditor.module.mjs +0 -25
  27. package/esm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -5
  28. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs +0 -357
  29. package/fesm2015/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
  30. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs +0 -357
  31. package/fesm2020/syncfusion-ej2-angular-richtexteditor.mjs.map +0 -1
  32. package/syncfusion-ej2-angular-richtexteditor.d.ts +0 -5
package/README.md CHANGED
@@ -1,26 +1,12 @@
1
1
  # Angular Rich Text Editor | Angular Markdown Editor
2
2
 
3
- > **Using this package with an AI coding agent**
4
- >
5
- > Before generating Syncfusion® code, ask your AI coding agent to run the Syncfusion® setup using the following prompt:
6
- >
7
- > ```text
8
- > Set up this project for Syncfusion® before generating code. Fetch
9
- > and follow the official instructions at https://ai.syncfusion.com/,
10
- > then report the detected platform, installed skill pack, MCP
11
- > status, and any required licensing action.
12
- > ```
13
- > The setup detects your project’s platform and loads the appropriate Syncfusion® skill pack. No Syncfusion® account or MCP key is required to install or read Syncfusion® agent skills.
14
- >
15
- > **Platform reference:** [https://ai.syncfusion.com/angular/llms.txt](https://ai.syncfusion.com/angular/llms.txt)
16
-
17
- The [Angular RichTextEditor](https://www.syncfusion.com/rich-text-editor-sdk/angular-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm) is a feature-rich WYSIWYG HTML editor and Markdown editor. The Rich Text Editor is widely used to create blogs, forum posts, notes sections, comment sections, messaging applications, and more. The component provides an efficient user interface for a better editing experience with mobile support. It has a variety of tools to edit and format rich content, and it return a valid HTML markup or Markdown (MD) content. It allows users to insert images, links, tables, media files and lists with modular architectures.
3
+ The [Angular RichTextEditor](https://www.syncfusion.com/angular-ui-components/angular-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm) is a feature-rich WYSIWYG HTML editor and Markdown editor. The Rich Text Editor is widely used to create blogs, forum posts, notes sections, comment sections, messaging applications, and more. The component provides an efficient user interface for a better editing experience with mobile support. It has a variety of tools to edit and format rich content, and it return a valid HTML markup or Markdown (MD) content. It allows users to insert images, links, tables, media files and lists with modular architectures.
18
4
 
19
5
  <div align="center">
20
6
  <h4>
21
- <a href="https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/getting-started">📖Getting started</a> &#x2022;
7
+ <a href="https://ej2.syncfusion.com/angular/documentation/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm">📖Getting started</a> &#x2022;
22
8
  <a href="https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm#/tailwind3/rich-text-editor/tools">🚀Online demos</a> &#x2022;
23
- <a href="https://www.syncfusion.com/rich-text-editor-sdk/angular-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm">🌐Learn more</a>
9
+ <a href="https://www.syncfusion.com/angular-components/angular-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm">🌐Learn more</a>
24
10
  </h4>
25
11
  </div>
26
12
 
@@ -37,86 +23,76 @@ Trusted by the world's leading companies
37
23
 
38
24
  ## ⚡️ Quick Start
39
25
 
40
- This guide uses the Angular CLI as the development environment for the Angular Rich Text Editor. Install [Node.js](https://nodejs.org/), and the [Angular CLI](https://github.com/angular/angular-cli), before proceeding.
26
+ Syncfusion <sup>®</sup> Rich Text Editor is easy to integrate into Angular applications. Just install the package, configure the module, and drop the component into your template.
41
27
 
42
- ### Create an Angular application
28
+ ### 🛠️ Installation
43
29
 
44
- To set up the Angular CLI globally, run the following command.
30
+ Install the Rich Text Editor and its dependencies using npm:
45
31
 
46
- ```sh
47
- npm install -g @angular/cli
32
+ ```bash
33
+ npm install @syncfusion/ej2-angular-richtexteditor --save
48
34
  ```
49
35
 
50
- Then create a new application:
36
+ This command will:
51
37
 
52
- ```sh
53
- ng new my-app
54
- ```
38
+ * Adds `@syncfusion/ej2-angular-richtexteditor` package and its peer dependencies to your `package.json` file.
39
+ * Registers the Syncfusion<sup>®</sup> UI default theme (tailwind) in the `angular.json` file.
55
40
 
56
- This command prompts you to configure the stylesheet format, Server-Side Rendering (SSR/SSG), and AI tooling options. Select the options that best fit the project.
41
+ ### ⚙️ Setup
57
42
 
58
- Navigate to the project folder:
43
+ #### 1. Create an Angular Application
59
44
 
60
- ```sh
45
+ You can use [Angular CLI](https://github.com/angular/angular-cli) to setup your Angular applications. To install the Angular CLI, use the following command.
46
+
47
+ ```bash
48
+ npm install -g @angular/cli
49
+ ng new my-app
61
50
  cd my-app
62
51
  ```
63
52
 
64
- ### Install the Rich Text Editor package
53
+ #### 2. Import the Rich Text Editor Module
65
54
 
66
- The `@syncfusion/ej2-angular-richtexteditor` package supports Angular 14 and later.
55
+ In `app.module.ts`, import the required module:
67
56
 
68
- ```sh
69
- npm install @syncfusion/ej2-angular-richtexteditor --save
70
- ```
71
-
72
- ### Add the CSS reference
73
-
74
- Install the Syncfusion<sup>®</sup> [Tailwind 3](https://www.npmjs.com/package/@syncfusion/ej2-tailwind3-theme) theme package:
57
+ ```typescript
58
+ import { NgModule } from '@angular/core';
59
+ import { BrowserModule } from '@angular/platform-browser';
60
+ import { RichTextEditorAllModule } from '@syncfusion/ej2-angular-richtexteditor';
61
+ import { AppComponent } from './app.component';
62
+
63
+ @NgModule({
64
+ declarations: [AppComponent],
65
+ imports: [BrowserModule, RichTextEditorAllModule],
66
+ bootstrap: [AppComponent]
67
+ })
68
+ export class AppModule { }
75
69
 
76
- ```sh
77
- npm install @syncfusion/ej2-tailwind3-theme --save
78
70
  ```
79
71
 
80
- Then add the following CSS reference to the `src/styles.css` file:
81
-
82
- ```css
83
- @import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/rich-text-editor/index.css';
84
- ```
72
+ <blockquote>
73
+ <p>ℹ️ <b>Note:</b></p>
74
+ <span><code>RichTextEditorAllModule</code> includes all features of the Rich Text Editor. To reduce bundle size, consider importing only the required modules individually. For detailed information on module injection, refer to the Syncfusion Rich Text Editor Module <a href="https://ej2.syncfusion.com/angular/documentation/rich-text-editor/module">Documentation</a>.</span>
75
+ </blockquote>
85
76
 
86
- ### Add the Rich Text Editor component with required modules
77
+ ### 🧩 Add the Rich Text Editor Component
87
78
 
88
- Add the Rich Text Editor component to the `src/app/app.ts` file with the basic required modules, `Toolbar`, `Image`, `Link`, `HtmlEditor`, and `QuickToolbar`, provided using the `providers` array, and add the control's HTML elements to the component `template`:
79
+ In **src/app/app.component.ts**, use `<ejs-richtexteditor>` selector in `template` attribute of `@Component` directive to render the Syncfusion<sup>®</sup> Angular Rich Text Editor component.
89
80
 
90
81
  ```typescript
91
82
  import { Component } from '@angular/core';
92
- import { RichTextEditorModule, ToolbarService, LinkService, ImageService, HtmlEditorService, QuickToolbarService } from '@syncfusion/ej2-angular-richtexteditor';
93
-
83
+ import { ToolbarService, LinkService, ImageService, HtmlEditorService } from '@syncfusion/ej2-angular-richtexteditor';
94
84
  @Component({
95
- selector: 'app-root',
96
- imports: [RichTextEditorModule],
97
- providers: [ToolbarService, LinkService, ImageService, HtmlEditorService, QuickToolbarService],
98
- template: `<ejs-richtexteditor id="editor" height="300px">
99
- <ng-template #valueTemplate>
100
- <p>Start editing your content here.</p>
101
- </ng-template>
102
- </ejs-richtexteditor>`
85
+ selector: 'app-root',
86
+ template: `<ejs-richtexteditor id='defaultRTE'>
87
+ <ng-template #valueTemplate>
88
+ <p>Start editing your content here.</p>
89
+ </ng-template>
90
+ </ejs-richtexteditor>`,
91
+ providers: [ToolbarService, LinkService, ImageService, HtmlEditorService]
103
92
  })
104
- export class App {}
105
- ```
106
-
107
- <blockquote>
108
- <p>ℹ️ <b>Note:</b></p>
109
- <span>The example above imports only the required services (<code>ToolbarService</code>, <code>LinkService</code>, <code>ImageService</code>, <code>HtmlEditorService</code>, <code>QuickToolbarService</code>) to keep the bundle size small. For detailed information on module injection, refer to the Syncfusion<sup>®</sup> Rich Text Editor Module <a href="https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/module">Documentation</a>.</span>
110
- </blockquote>
111
-
112
- ### Run the application
113
-
114
- ```sh
115
- ng serve --open
93
+ export class AppComponent { }
116
94
  ```
117
95
 
118
- Now, open your project in a browser, and the Rich Text Editor will be displayed! 🚀
119
-
120
96
  ## 🛠️ Supported frameworks
121
97
 
122
98
  Rich Text Editor component is also offered in following list of frameworks.
@@ -145,40 +121,40 @@ Rich Text Editor component is also offered in following list of frameworks.
145
121
 
146
122
  * [Checklist](https://ej2.syncfusion.com/angular/demos/#/tailwind3/rich-text-editor/tools) - Checklist support enables users to create interactive task lists in the editor. It is useful for organizing work items and tracking progress within content.
147
123
 
148
- * [Accessibility & WCAG 2.0 Compliance](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/accessibility) - Accessibility support helps the editor work with assistive technologies and keyboard navigation. It ensures the component can be used more effectively by a broader audience.
124
+ * [Accessibility & WCAG 2.0 Compliance](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/accessibility) - Accessibility support helps the editor work with assistive technologies and keyboard navigation. It ensures the component can be used more effectively by a broader audience.
149
125
 
150
- * [Preventing Cross-Site Scripting (XSS)](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/validation-security/xhtml-validation#cross-site-scripting-xss-prevention) - XSS protection helps validate and sanitize editor content before it is used or rendered. It reduces security risks by blocking malicious scripts and unsafe markup.
126
+ * [Preventing Cross-Site Scripting (XSS)](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/validation-security/xhtml-validation#cross-site-scripting-xss-prevention) - XSS protection helps validate and sanitize editor content before it is used or rendered. It reduces security risks by blocking malicious scripts and unsafe markup.
151
127
 
152
- * [HTML code editing](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/editor-value#source-code-editing) - HTML code editing lets users view and edit the underlying markup directly. It is helpful when precise control over the document structure is required.
128
+ * [HTML code editing](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/editor-value#source-code-editing) - HTML code editing lets users view and edit the underlying markup directly. It is helpful when precise control over the document structure is required.
153
129
 
154
- * [Markdown editor](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/editor-types/editor-mode#markdown-editor) - Markdown editor mode lets users create and edit content using Markdown syntax. It is ideal for lightweight authoring and text-based workflows.
130
+ * [Markdown editor](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/editor-types/editor-mode#markdown-editor) - Markdown editor mode lets users create and edit content using Markdown syntax. It is ideal for lightweight authoring and text-based workflows.
155
131
 
156
- * [Custom Toolbar Items](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm#toolbar-items) - Custom toolbar items allow additional actions to be added to the editor toolbar. They help tailor the editing experience to specific application needs.
132
+ * [Custom Toolbar Items](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm#toolbar-items) - Custom toolbar items allow additional actions to be added to the editor toolbar. They help tailor the editing experience to specific application needs.
157
133
 
158
- * [Quick Toolbar](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/toolbar/quick-toolbar) - Quick Toolbar shows contextual actions for selected content such as text, images, and tables. It helps users apply common operations without leaving the editing area.
134
+ * [Quick Toolbar](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/toolbar/quick-toolbar) - Quick Toolbar shows contextual actions for selected content such as text, images, and tables. It helps users apply common operations without leaving the editing area.
159
135
 
160
136
  * [File Browser](https://ej2.syncfusion.com/angular/demos/#/tailwind3/rich-text-editor/file-browser) - File Browser integration allows users to browse and select files within editor workflows. It supports file-based content management in a more seamless way.
161
137
 
162
- * [Emoji Picker](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/smart-editing/emoji-picker) - Emoji picker support lets users insert emojis into the editor content. It helps make messages and content more expressive and engaging.
138
+ * [Emoji Picker](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/smart-editing/emoji-picker) - Emoji picker support lets users insert emojis into the editor content. It helps make messages and content more expressive and engaging.
163
139
 
164
140
  * [Insert Media](https://ej2.syncfusion.com/angular/demos/#/tailwind3/rich-text-editor/insert-media) - Insert Media allows audio and video content to be embedded in the editor. It is useful for creating richer and more interactive documents.
165
141
 
166
- * [Toolbar](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm/#toolbar-items) - Toolbar support provides editing controls and customization options for the editor. It supports floating behavior, multiple layout types, and toolbar positioning for flexible UI setups.
142
+ * [Toolbar](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm/#toolbar-items) - Toolbar support provides editing controls and customization options for the editor. It supports floating behavior, multiple layout types, and toolbar positioning for flexible UI setups.
167
143
 
168
144
  * [Export and Import](https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm/#/tailwind3/rich-text-editor/export-document) - Export and Import support allows content to be moved between the editor and document formats such as PDF and Word. It simplifies content sharing, archiving, and document processing.
169
145
 
170
- * [Undo and redo](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/undo-redo) - Undo and redo support lets users reverse or repeat recent editing actions. It improves editing confidence by making changes easier to correct.
146
+ * [Undo and redo](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/undo-redo) - Undo and redo support lets users reverse or repeat recent editing actions. It improves editing confidence by making changes easier to correct.
171
147
 
172
- * [Module injection](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm/#module-injection) - Module injection lets the editor load only the features that are needed. It helps reduce bundle size and keeps the component more efficient.
148
+ * [Module injection](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm/#module-injection) - Module injection lets the editor load only the features that are needed. It helps reduce bundle size and keeps the component more efficient.
173
149
 
174
- * [Third-party integration](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/third-party-integration/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm) - Third-party integration lets the editor work with external libraries and services. It extends the editor with additional capabilities beyond the built-in feature set.
150
+ * [Third-party integration](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/third-party-integration/?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm) - Third-party integration lets the editor work with external libraries and services. It extends the editor with additional capabilities beyond the built-in feature set.
175
151
 
176
152
  ## 📚 Resources
177
153
 
178
- * [Documentation](https://help.syncfusion.com/rich-text-editor-sdk/angular/rich-text-editor/getting-started)
154
+ * [Documentation](https://ej2.syncfusion.com/angular/documentation/rich-text-editor/getting-started)
179
155
  * [Theme Studio](https://ej2.syncfusion.com/themestudio/)
180
- * [What's New](https://www.syncfusion.com/products/whatsnew/rich-text-editor-sdk)
181
- * [Road Map](https://www.syncfusion.com/products/roadmap/rich-text-editor-sdk)
156
+ * [What's New](https://www.syncfusion.com/products/whatsnew/angular?utm_medium=listing&utm_source=github)
157
+ * [Road Map](https://www.syncfusion.com/products/roadmap/angular)
182
158
  * [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all)
183
159
 
184
160
  ## 🤝 Support
@@ -186,52 +162,11 @@ Rich Text Editor component is also offered in following list of frameworks.
186
162
  Product support is available through the following mediums.
187
163
 
188
164
  * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
189
- * [Community forum](https://www.syncfusion.com/forums/rich-text-editor-sdk)
165
+ * [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm)
190
166
  * [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
191
167
  * [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm)
192
168
  * Live chat
193
169
 
194
- ## Other Popular Angular Components
195
-
196
- Explore other popular Syncfusion<sup>®</sup> Angular components curated from UI components, standalone SDKs, and document solution suites.
197
-
198
- <table>
199
- <tr>
200
- <td align="center">
201
- <a href="https://www.syncfusion.com/angular-components/angular-data-grid">Angular DataGrid</a>
202
- </td>
203
- <td align="center">
204
- <a href="https://www.syncfusion.com/angular-components/angular-charts">Angular Charts</a>
205
- </td>
206
- <td align="center">
207
- <a href="https://www.syncfusion.com/angular-components/angular-file-manager">Angular File Manager</a>
208
- </td>
209
- <td align="center">
210
- <a href="https://www.syncfusion.com/gantt-sdk/angular-gantt-chart">Angular Gantt Chart</a>
211
- </td>
212
- <td align="center">
213
- <a href="https://www.syncfusion.com/diagram-sdk/angular-diagram">Angular Diagram</a>
214
- </td>
215
- </tr>
216
- <tr>
217
- <td align="center">
218
- <a href="https://www.syncfusion.com/scheduler-sdk/angular-scheduler">Angular Scheduler</a>
219
- </td>
220
- <td align="center">
221
- <a href="https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor">Angular DOCX Editor</a>
222
- </td>
223
- <td align="center">
224
- <a href="https://www.syncfusion.com/pdf-viewer-sdk/angular-pdf-viewer">Angular PDF Viewer</a>
225
- </td>
226
- <td align="center">
227
- <a href="https://www.syncfusion.com/spreadsheet-editor-sdk/angular-spreadsheet-editor">Angular Spreadsheet Editor</a>
228
- </td>
229
- <td align="center">
230
- <a href="https://www.syncfusion.com/angular-components/angular-maps-library">Angular Maps</a>
231
- </td>
232
- </tr>
233
- </table>
234
-
235
170
  ## 🔄 Change log
236
171
 
237
172
  Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/richtexteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-rich-text-editor-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.