@syncfusion/ej2-vue-richtexteditor 20.3.61 → 20.4.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 (42) hide show
  1. package/CHANGELOG.md +0 -31
  2. package/README.md +131 -44
  3. package/dist/ej2-vue-richtexteditor.umd.min.js +2 -2
  4. package/dist/ej2-vue-richtexteditor.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-vue-richtexteditor.es2015.js +3 -0
  6. package/dist/es6/ej2-vue-richtexteditor.es2015.js.map +1 -1
  7. package/dist/es6/ej2-vue-richtexteditor.es5.js +3 -0
  8. package/dist/es6/ej2-vue-richtexteditor.es5.js.map +1 -1
  9. package/dist/global/ej2-vue-richtexteditor.min.js +2 -2
  10. package/package.json +17 -17
  11. package/src/rich-text-editor/richtexteditor.component.d.ts +1 -0
  12. package/src/rich-text-editor/richtexteditor.component.js +3 -0
  13. package/styles/bootstrap-dark.css +12 -5
  14. package/styles/bootstrap.css +12 -5
  15. package/styles/bootstrap4.css +12 -5
  16. package/styles/bootstrap5-dark.css +12 -5
  17. package/styles/bootstrap5.css +12 -5
  18. package/styles/fabric-dark.css +12 -5
  19. package/styles/fabric.css +12 -5
  20. package/styles/fluent-dark.css +12 -5
  21. package/styles/fluent.css +12 -5
  22. package/styles/highcontrast-light.css +12 -5
  23. package/styles/highcontrast.css +12 -5
  24. package/styles/material-dark.css +12 -5
  25. package/styles/material.css +12 -5
  26. package/styles/rich-text-editor/bootstrap-dark.css +12 -5
  27. package/styles/rich-text-editor/bootstrap.css +12 -5
  28. package/styles/rich-text-editor/bootstrap4.css +12 -5
  29. package/styles/rich-text-editor/bootstrap5-dark.css +12 -5
  30. package/styles/rich-text-editor/bootstrap5.css +12 -5
  31. package/styles/rich-text-editor/fabric-dark.css +12 -5
  32. package/styles/rich-text-editor/fabric.css +12 -5
  33. package/styles/rich-text-editor/fluent-dark.css +12 -5
  34. package/styles/rich-text-editor/fluent.css +12 -5
  35. package/styles/rich-text-editor/highcontrast-light.css +12 -5
  36. package/styles/rich-text-editor/highcontrast.css +12 -5
  37. package/styles/rich-text-editor/material-dark.css +12 -5
  38. package/styles/rich-text-editor/material.css +12 -5
  39. package/styles/rich-text-editor/tailwind-dark.css +12 -5
  40. package/styles/rich-text-editor/tailwind.css +12 -5
  41. package/styles/tailwind-dark.css +12 -5
  42. package/styles/tailwind.css +12 -5
package/CHANGELOG.md CHANGED
@@ -2,37 +2,6 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### RichTextEditor
6
-
7
- #### Bug Fixes
8
-
9
- - `#I422392` - Now, the embed video is not removed when pressing the enter key.
10
- - `#I422764` - Now, when using similar fontFamily values for multiple items updates the dropDown text properly.
11
-
12
- ## 20.3.60 (2022-12-06)
13
-
14
- ### RichTextEditor
15
-
16
- #### Bug Fixes
17
-
18
- - `#I416708` - Now, pasting the content from MS Word will maintain the DOM structure properly.
19
- - `#I418749` - Now, pasted texts get inside the `contentEditable div` when using the `enterKey` as `BR` or `DIV`.
20
- - `#FB39086` - Now, image not duplicated when press the enter key.
21
- - `#I420916` - Now, the indent and outdent toolbar are working properly for the RTL mode.
22
- - `#I421972` - Now, the display popup toolbar item in the Image quick toolbar displays the text properly.
23
-
24
- ## 20.3.59 (2022-11-29)
25
-
26
- ### RichTextEditor
27
-
28
- #### Bug Fixes
29
-
30
- - `#I411229` - Now, pressing the enter key at the start of a line after deleting the previous line works properly.
31
- - `#I412883` - Now, pressing the enter key at the start of the dynamically inserted text works properly.
32
- - `#I412540` - Now, the indentation format is maintained properly when pasting content from MS Word.
33
- - `#I416708` - Now, pressing the backspace key after pasting contents from MS Word works properly.
34
- - `#I417838` - Now, Underline and Strike through toolbar styles will work properly when we change the font size in RTE.
35
-
36
5
  ## 20.3.47 (2022-09-29)
37
6
 
38
7
  ### RichTextEditor
package/README.md CHANGED
@@ -1,68 +1,155 @@
1
- # ej2-vue-richtexteditor
1
+ # Vue RichTextEditor Component
2
2
 
3
- The [Vue Rich Text Editor](https://www.syncfusion.com/vue-ui-components/vue-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm) component is a HTML and markdown editor that provides best user experience for creating and updating the content.
3
+ The [Vue Rich Text Editor](https://www.syncfusion.com/vue-ui-components/vue-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm) component is a feature-rich WYSIWYG HTML editor and WYSIWYG Markdown editor. The Rich Text Editor is widely used to create blogs, forum posts, notes sections, comment sections, messaging applications, and more. The control 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.
4
4
 
5
- ![](../../ReadMe_Images/RTE.GIF)
5
+ <p align="center">
6
+ <a href="https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started/">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/vue/demos/#/bootstrap5/rich-text-editor/tools.html">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/vue-components/vue-wysiwyg-rich-text-editor">Learn more</a>
9
+ </p>
6
10
 
11
+ <p align="center">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/vue/vue-rich-text-editor.gif" alt="Vue RichTextEditor Component"/>
13
+ </p>
7
14
 
8
- >Note: This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
9
- >A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers..
15
+ <p align="center">
16
+ Trusted by the world's leading companies
17
+ <a href="https://www.syncfusion.com">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
19
+ </a>
20
+ </p>
10
21
 
11
- ## 1. Setup To install this package and its dependent packages, use the following command
22
+ ## Setup
12
23
 
13
- Use the following commands to install rich text editor components and its dependent packages.
24
+ ### Create a Vue Application
14
25
 
26
+ You can use [`Vue CLI`](https://github.com/vuejs/vue-cli) to setup your Vue 2 applications.To install Vue CLI use the following commands.
27
+
28
+ ```bash
29
+ npm install -g @vue/cli
30
+ vue create quickstart
31
+ cd quickstart
32
+ npm run serve
33
+ ```
34
+ Initiating a new project prompts us to choose the type of project to be used for the current application. Select the option `Default ([Vue 2] babel, eslint)` from the menu.
35
+
36
+ ### Adding Syncfusion Rich Text Editor package
37
+
38
+ All Syncfusion Vue packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Vue Rich Text Editor package, use the following command.
39
+
40
+ ```bash
41
+ npm install @syncfusion/ej2-vue-richtexteditor --save
42
+ ```
43
+
44
+ ### Registering Rich Text Editor Component
45
+
46
+ You can register the Rich Text Editor component in your application by using the **Vue.use()**. Refer to the code example given below.
47
+
48
+ ```typescript
49
+ import { RichTextEditorPlugin } from '@syncfusion/ej2-vue-richtexteditor';
50
+ Vue.use(RichTextEditorPlugin);
51
+ ```
52
+
53
+ > Registering **RichTextEditorPlugin** in vue, will register the Rich Text Editor component along with its required child directives globally.
54
+
55
+ ### Adding CSS references for Rich Text Editor
56
+
57
+ Add CSS references needed for Rich Text Editor in **style** section of the **App.vue** file from **../node_modules/@syncfusion** package folder.
58
+
59
+ ```html
60
+ <style>
61
+ @import "../node_modules/@syncfusion/ej2-base/styles/bootstrap5.css";
62
+ @import "../node_modules/@syncfusion/ej2-inputs/styles/bootstrap5.css";
63
+ @import "../node_modules/@syncfusion/ej2-lists/styles/bootstrap5.css";
64
+ @import "../node_modules/@syncfusion/ej2-popups/styles/bootstrap5.css";
65
+ @import "../node_modules/@syncfusion/ej2-buttons/styles/bootstrap5.css";
66
+ @import "../node_modules/@syncfusion/ej2-navigations/styles/bootstrap5.css";
67
+ @import "../node_modules/@syncfusion/ej2-splitbuttons/styles/bootstrap5.css";
68
+ @import "../node_modules/@syncfusion/ej2-vue-richtexteditor/styles/bootstrap5.css";
69
+ </style>
15
70
  ```
16
- npm install @syncfusion/ej2-vue-richtexteditor
17
71
 
72
+ ## Add Rich Text Editor Component
73
+
74
+ Add the Vue Rich Text Editor by using **ejs-richtexteditor** selector in **template** section of the **App.vue** file.
75
+
76
+ ```html
77
+ <template>
78
+ <ejs-richtexteditor ref="defaultRTE" :height="400">
79
+ <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.Users can format their content using standard toolbar commands.</p>
80
+ </ejs-richtexteditor>
81
+ </template>
82
+
83
+ <script>
84
+ import Vue from "vue";
85
+ import { RichTextEditorPlugin, Toolbar, Link, Image, Count, HtmlEditor, QuickToolbar } from "@syncfusion/ej2-vue-richtexteditor";
86
+
87
+ Vue.use(RichTextEditorPlugin);
88
+
89
+ export default {
90
+ provide: {
91
+ richtexteditor:[Toolbar, Link, Image, Count, HtmlEditor, QuickToolbar]
92
+ }
93
+ }
94
+ </script>
95
+
96
+ <style>
97
+ @import "../node_modules/@syncfusion/ej2-base/styles/bootstrap5.css";
98
+ @import "../node_modules/@syncfusion/ej2-inputs/styles/bootstrap5.css";
99
+ @import "../node_modules/@syncfusion/ej2-lists/styles/bootstrap5.css";
100
+ @import "../node_modules/@syncfusion/ej2-popups/styles/bootstrap5.css";
101
+ @import "../node_modules/@syncfusion/ej2-buttons/styles/bootstrap5.css";
102
+ @import "../node_modules/@syncfusion/ej2-navigations/styles/bootstrap5.css";
103
+ @import "../node_modules/@syncfusion/ej2-splitbuttons/styles/bootstrap5.css";
104
+ @import "../node_modules/@syncfusion/ej2-vue-richtexteditor/styles/bootstrap5.css";
105
+ </style>
18
106
  ```
107
+ > Refer the [Getting Started with Vue3](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/get-started/#getting-started) for using Syncfusion Vue components in Vue 3 applications.
108
+
109
+ ## Supported frameworks
110
+
111
+ RichTextEditor component is also offered in the following frameworks.
19
112
 
20
- ## 2. Components included
113
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
114
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
21
115
 
22
- * [GettingStarted](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
23
- * [View Online Demos](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/tools.html)
24
- * [Product Page](https://www.syncfusion.com/vue-ui-components/vue-wysiwyg-rich-text-editor)
116
+ ## Showcase samples
25
117
 
26
- ## 3. Supported frameworks
118
+ * [Vue HTML editor Demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/tools.html)
119
+ * [Blog posting using vue rich text editor demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/blog-posting.html)
120
+ * [Vue Markdown editor Demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/markdown-editor.html)
121
+ * [Vue live HTML editor demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/online-html-editor.html)
27
122
 
28
- Rich text editor component also supports the following frameworks:
29
- 1. [TypeScript Rich Text Editor](https://www.syncfusion.com/javascript-ui-controls/js-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
30
- 2. [Angular Rich Text Editor](https://www.syncfusion.com/angular-ui-components/angular-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
31
- 3. [React Rich Text Editor](https://www.syncfusion.com/react-ui-components/react-wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
32
- 4. [ASP.NET Core Rich Text Editor](https://www.syncfusion.com/aspnet-core-ui-controls/wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
33
- 5. [ASP.NET MVC Rich Text Editor](https://www.syncfusion.com/aspnet-mvc-ui-controls/wysiwyg-rich-text-editor?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
123
+ ## Key features
34
124
 
35
- ## 4. Use-case samples / Showcase samples
125
+ * [Edit mode](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/iframe.html) - HTML content is possible to edit in a `div` element or an `iframe` in the rich text editor.
126
+ * [Markdown editor](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/markdown-preview.html) - The rich text editor allows you to edit Markdown content using the Markdown syntax.
127
+ * [Markdown content preview](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/markdown-preview.html) - Preview of the modified Markdown content in the editor, you can give users the ability to see what the formatted content will look like before they save it.
128
+ * [HTML code editing](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm#code-view) - The rich text editor allows users to edit the HTML code directly in the HTML code view. This can be useful for users who are familiar with HTML and want to have more control over the formatting and layout of their content.
129
+ * [Tools](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm#toolbar-items) - The rich text editor handles a wide range of features, including inserting images, hyperlinks, tables, formatting tools, and more.
130
+ * [Toolbar appearance](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/bootstrap5/rich-text-editor/types.html) - The rich text editor can provide a fully customizable toolbar that allows users to access the various formatting and editing options that are available.
131
+ * [Undo and redo](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm#undoredo-manager) - Users can use undo and redo actions to reverse or repeat actions they took while editing the content.
132
+ * [Module injection](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm#module-injection) - It is possible to create a editor that utilizes a modular library to load the necessary functionality on demand. This can be useful for optimizing the performance of the editor.
133
+ * [Third-party integration](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/third-party-integration/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm#third-party-integration) - It is possible to integrate a third-party library into a rich text editor to add additional functionality or features to the editor like `Code-mirror`, `Embedly` and more.
36
134
 
37
- * [Vue HTML editor Demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/tools.html)
38
- * [Blog posting Demo in Vue](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/blog-posting.html)
39
- * [Vue Markdown editor Demo](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/markdown-editor.html)
40
- * [Inline edit Demo in Vue](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/inline.html)
135
+ ## Support
41
136
 
42
- ## 5. Key features
137
+ Product support is available through following mediums.
43
138
 
44
- * [Mode](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/iframe.html): Provides &lt;IFRAME&gt; and &lt;DIV&gt; mode.
45
- * [Markdown](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/markdown-preview.html): Handles markdown editing.
46
- * [Module](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#module-injection): Contains a modular library to load the necessary functionality on demand.
47
- * [Toolbar](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/types.html): Provides a fully customizable toolbar.
48
- * [Editing](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#code-view): HTML view to edit the source directly for developers.
49
- * [Third-party Integration](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/third-party-integration/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/): Integrates third-party library.
50
- * [Preview](https://ej2.syncfusion.com/vue/demos/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#/material/rich-text-editor/markdown-preview.html): Preview the modified content before saving it.
51
- * [Tools](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/toolbar/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#toolbar-items): Handles images, hyperlinks, uploads, and more.
52
- * [Undo and Redo](https://ej2.syncfusion.com/vue/documentation/rich-text-editor/miscellaneous/?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm/#undoredo-manager): Contains undo/redo manager.
139
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
140
+ * [Community forum](https://www.syncfusion.com/forums/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-richtexteditor-npm)
141
+ * [GitHub issues](https://github.com/syncfusion/ej2-vue-ui-components/issues/new)
142
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/vue?utm_source=npm&utm_medium=listing&utm_campaign=vue-richtexteditor-npm)
143
+ * Live chat
53
144
 
145
+ ## Changelog
54
146
 
55
- ## 6. Support
147
+ Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/richtexteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
56
148
 
57
- Product support can be obtained through the following mediums:
58
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm) support system or [Community forum.](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
59
- * New [GitHub issue](https://github.com/syncfusion/ej2-vue-ui-components/issues/new?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm).
60
- * Ask your query in Stack Overflow with tag ‘syncfusion’, ‘ej2’.
61
-
62
- ## 7. License
63
- Check the license details [here](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
149
+ ## License and copyright
64
150
 
65
- ## 8. Change log
66
- Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/components/richtexteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm)
151
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Vue UI components](https://www.syncfusion.com/vue-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
152
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
153
+ See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=vue-rich-text-editor-npm) for more info.
67
154
 
68
155
  © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-richtexteditor.umd.min.js
3
- * version : 20.3.61
3
+ * version : 20.4.38
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["isLazyUpdate","plugins","autoSaveOnIdle","backgroundColor","bulletFormatList","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","enableTabKey","enableXhtml","enabled","enterKey","fileManagerSettings","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertAudioSettings","insertImageSettings","insertVideoSettings","keyConfig","locale","maxLength","numberFormatList","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","shiftEnterKey","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","afterImageDelete","afterMediaDelete","afterPasteCleanup","beforeDialogClose","beforeDialogOpen","beforeFileUpload","beforeImageDrop","beforeImageUpload","beforePasteCleanup","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","fileRemoving","fileSelected","fileUploadFailed","fileUploadSuccess","fileUploading","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate","updatedToolbarStatus"],a=["value"],l=function(e){function l(){var n=e.call(this,arguments)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return r(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var l=a[i];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[r]}}},l.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},l.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},l.prototype.render=function(e){return e("textarea",this.$slots.default)},l.prototype.custom=function(){this.updated()},l.prototype.cleanList=function(e){return this.ej2Instances.cleanList(e)},l.prototype.closeDialog=function(e){return this.ej2Instances.closeDialog(e)},l.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},l.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},l.prototype.executeCommand=function(e,t,n){return this.ej2Instances.executeCommand(e,t,n)},l.prototype.focusIn=function(){return this.ej2Instances.focusIn()},l.prototype.focusOut=function(){return this.ej2Instances.focusOut()},l.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},l.prototype.getContent=function(){return this.ej2Instances.getContent()},l.prototype.getHtml=function(){return this.ej2Instances.getHtml()},l.prototype.getRange=function(){return this.ej2Instances.getRange()},l.prototype.getSelectedHtml=function(){return this.ej2Instances.getSelectedHtml()},l.prototype.getSelection=function(){return this.ej2Instances.getSelection()},l.prototype.getText=function(){return this.ej2Instances.getText()},l.prototype.getXhtml=function(){return this.ej2Instances.getXhtml()},l.prototype.hideInlineToolbar=function(){return this.ej2Instances.hideInlineToolbar()},l.prototype.print=function(){return this.ej2Instances.print()},l.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},l.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},l.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},l.prototype.selectAll=function(){return this.ej2Instances.selectAll()},l.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},l.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},l.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},l.prototype.showInlineToolbar=function(){return this.ej2Instances.showInlineToolbar()},l.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},l=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],l)}(o.ComponentBase),c={name:"ejs-richtexteditor",install:function(e){e.component(c.name,l)}};e.RichTextEditorComponent=l,e.RichTextEditorPlugin=c,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-richtexteditor"),require("@syncfusion/ej2-base"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-richtexteditor","@syncfusion/ej2-base","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Richtexteditor,e.ej2Base,e.ej2VueBase)}(this,function(e,t,n,o){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},i=["isLazyUpdate","plugins","autoSaveOnIdle","backgroundColor","bulletFormatList","cssClass","editorMode","enableAutoUrl","enableHtmlEncode","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","enableTabKey","enableXhtml","enabled","enterKey","fileManagerSettings","floatingToolbarOffset","fontColor","fontFamily","fontSize","format","formatter","height","htmlAttributes","iframeSettings","inlineMode","insertAudioSettings","insertImageSettings","insertVideoSettings","keyConfig","locale","maxLength","numberFormatList","pasteCleanupSettings","placeholder","quickToolbarSettings","readonly","saveInterval","shiftEnterKey","showCharCount","tableSettings","toolbarSettings","undoRedoSteps","undoRedoTimer","value","valueTemplate","width","actionBegin","actionComplete","afterImageDelete","afterMediaDelete","afterPasteCleanup","beforeDialogClose","beforeDialogOpen","beforeFileUpload","beforeImageDrop","beforeImageUpload","beforePasteCleanup","beforeQuickToolbarOpen","beforeSanitizeHtml","blur","change","created","destroyed","dialogClose","dialogOpen","fileRemoving","fileSelected","fileUploadFailed","fileUploadSuccess","fileUploading","focus","imageRemoving","imageSelected","imageUploadFailed","imageUploadSuccess","imageUploading","quickToolbarClose","quickToolbarOpen","resizeStart","resizeStop","resizing","toolbarClick","toolbarStatusUpdate","updatedToolbarStatus"],a=["value"],l=function(e){function l(){var n=e.call(this,arguments)||this;return n.propKeys=i,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.RichTextEditor({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return r(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,o=e;t<o.length;t++){var r=o[t],s=this.templateCollection[r];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var l=a[i];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[r]}}},l.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},l.prototype.trigger=function(e,t,o){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(r=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var r,s=(r=this.models.toString().match(/checked|value/)||[])[0];t&&r&&!n.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,o)},l.prototype.render=function(e){return e("textarea",this.$slots.default)},l.prototype.custom=function(){this.updated()},l.prototype.cleanList=function(e){return this.ej2Instances.cleanList(e)},l.prototype.closeDialog=function(e){return this.ej2Instances.closeDialog(e)},l.prototype.disableToolbarItem=function(e,t){return this.ej2Instances.disableToolbarItem(e,t)},l.prototype.enableToolbarItem=function(e,t){return this.ej2Instances.enableToolbarItem(e,t)},l.prototype.executeCommand=function(e,t,n){return this.ej2Instances.executeCommand(e,t,n)},l.prototype.focusIn=function(){return this.ej2Instances.focusIn()},l.prototype.focusOut=function(){return this.ej2Instances.focusOut()},l.prototype.getCharCount=function(){return this.ej2Instances.getCharCount()},l.prototype.getContent=function(){return this.ej2Instances.getContent()},l.prototype.getHtml=function(){return this.ej2Instances.getHtml()},l.prototype.getRange=function(){return this.ej2Instances.getRange()},l.prototype.getSelectedHtml=function(){return this.ej2Instances.getSelectedHtml()},l.prototype.getSelection=function(){return this.ej2Instances.getSelection()},l.prototype.getText=function(){return this.ej2Instances.getText()},l.prototype.getXhtml=function(){return this.ej2Instances.getXhtml()},l.prototype.hideInlineToolbar=function(){return this.ej2Instances.hideInlineToolbar()},l.prototype.print=function(){return this.ej2Instances.print()},l.prototype.refreshUI=function(){return this.ej2Instances.refreshUI()},l.prototype.removeToolbarItem=function(e){return this.ej2Instances.removeToolbarItem(e)},l.prototype.renderTemplates=function(e){return this.ej2Instances.renderTemplates(e)},l.prototype.sanitizeHtml=function(e){return this.ej2Instances.sanitizeHtml(e)},l.prototype.selectAll=function(){return this.ej2Instances.selectAll()},l.prototype.selectRange=function(e){return this.ej2Instances.selectRange(e)},l.prototype.showDialog=function(e){return this.ej2Instances.showDialog(e)},l.prototype.showFullScreen=function(){return this.ej2Instances.showFullScreen()},l.prototype.showInlineToolbar=function(){return this.ej2Instances.showInlineToolbar()},l.prototype.showSourceCode=function(){return this.ej2Instances.showSourceCode()},l=s([o.EJComponentDecorator({props:i,model:{event:"modelchanged"}})],l)}(o.ComponentBase),c={name:"ejs-richtexteditor",install:function(e){e.component(c.name,l)}};e.RichTextEditorComponent=l,e.RichTextEditorPlugin=c,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-vue-richtexteditor.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.umd.min.js","sources":["../vue2/src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n return createElement('textarea', this.$slots.default);\n };\n RichTextEditorComponent.prototype.custom = function () {\n this.updated();\n };\n RichTextEditorComponent.prototype.cleanList = function (e) {\n return this.ej2Instances.cleanList(e);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","RichTextEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","RichTextEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","render","createElement","$slots","default","custom","cleanList","e","closeDialog","type","disableToolbarItem","items","muteToolbarUpdate","enableToolbarItem","executeCommand","commandName","value","option","focusIn","focusOut","getCharCount","getContent","getHtml","getRange","getSelectedHtml","getSelection","getText","getXhtml","hideInlineToolbar","print","refreshUI","removeToolbarItem","sanitizeHtml","selectAll","selectRange","range","showDialog","showFullScreen","showInlineToolbar","showSourceCode","EJComponentDecorator","props","event","ComponentBase","RichTextEditorPlugin","name","install","Vue","component"],"mappings":"uaAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,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AK8B,aAAakE,aAE7B5E,EAAwBlB,UAAU+F,kBAAoB,SAAUpB,GAC5D,OAAO7E,KAAK8B,aAAamE,kBAAkBpB,IAE/CzD,EAAwBlB,UAAUgG,aAAe,SAAUhB,GACvD,OAAOlF,KAAK8B,aAAaoE,aAAahB,IAE1C9D,EAAwBlB,UAAUiG,UAAY,WAC1C,OAAOnG,KAAK8B,aAAaqE,aAE7B/E,EAAwBlB,UAAUkG,YAAc,SAAUC,GACtD,OAAOrG,KAAK8B,aAAasE,YAAYC,IAEzCjF,EAAwBlB,UAAUoG,WAAa,SAAU3B,GACrD,OAAO3E,KAAK8B,aAAawE,WAAW3B,IAExCvD,EAAwBlB,UAAUqG,eAAiB,WAC/C,OAAOvG,KAAK8B,aAAayE,kBAE7BnF,EAAwBlB,UAAUsG,kBAAoB,WAClD,OAAOxG,KAAK8B,aAAa0E,qBAE7BpF,EAAwBlB,UAAUuG,eAAiB,WAC/C,OAAOzG,KAAK8B,aAAa2E,kBAE7BrF,EAA0BhB,GACtBsG,wBACIC,MAAOzF,EACPsC,OACIoD,MAAO,mBAGhBxF,IAELyF,iBAESC,GACPC,KAAM,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAqBC,KAAM3F"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.umd.min.js","sources":["../vue2/src/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\nexport var properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport var modelProps = ['value'];\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nvar RichTextEditorComponent = /** @class */ (function (_super) {\n __extends(RichTextEditorComponent, _super);\n function RichTextEditorComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new RichTextEditor({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n RichTextEditorComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n RichTextEditorComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n RichTextEditorComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n RichTextEditorComponent.prototype.render = function (createElement) {\n return createElement('textarea', this.$slots.default);\n };\n RichTextEditorComponent.prototype.custom = function () {\n this.updated();\n };\n RichTextEditorComponent.prototype.cleanList = function (e) {\n return this.ej2Instances.cleanList(e);\n };\n RichTextEditorComponent.prototype.closeDialog = function (type) {\n return this.ej2Instances.closeDialog(type);\n };\n RichTextEditorComponent.prototype.disableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.enableToolbarItem = function (items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n };\n RichTextEditorComponent.prototype.executeCommand = function (commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n };\n RichTextEditorComponent.prototype.focusIn = function () {\n return this.ej2Instances.focusIn();\n };\n RichTextEditorComponent.prototype.focusOut = function () {\n return this.ej2Instances.focusOut();\n };\n RichTextEditorComponent.prototype.getCharCount = function () {\n return this.ej2Instances.getCharCount();\n };\n RichTextEditorComponent.prototype.getContent = function () {\n return this.ej2Instances.getContent();\n };\n RichTextEditorComponent.prototype.getHtml = function () {\n return this.ej2Instances.getHtml();\n };\n RichTextEditorComponent.prototype.getRange = function () {\n return this.ej2Instances.getRange();\n };\n RichTextEditorComponent.prototype.getSelectedHtml = function () {\n return this.ej2Instances.getSelectedHtml();\n };\n RichTextEditorComponent.prototype.getSelection = function () {\n return this.ej2Instances.getSelection();\n };\n RichTextEditorComponent.prototype.getText = function () {\n return this.ej2Instances.getText();\n };\n RichTextEditorComponent.prototype.getXhtml = function () {\n return this.ej2Instances.getXhtml();\n };\n RichTextEditorComponent.prototype.hideInlineToolbar = function () {\n return this.ej2Instances.hideInlineToolbar();\n };\n RichTextEditorComponent.prototype.print = function () {\n return this.ej2Instances.print();\n };\n RichTextEditorComponent.prototype.refreshUI = function () {\n return this.ej2Instances.refreshUI();\n };\n RichTextEditorComponent.prototype.removeToolbarItem = function (items) {\n return this.ej2Instances.removeToolbarItem(items);\n };\n RichTextEditorComponent.prototype.renderTemplates = function (callBack) {\n return this.ej2Instances.renderTemplates(callBack);\n };\n RichTextEditorComponent.prototype.sanitizeHtml = function (value) {\n return this.ej2Instances.sanitizeHtml(value);\n };\n RichTextEditorComponent.prototype.selectAll = function () {\n return this.ej2Instances.selectAll();\n };\n RichTextEditorComponent.prototype.selectRange = function (range) {\n return this.ej2Instances.selectRange(range);\n };\n RichTextEditorComponent.prototype.showDialog = function (type) {\n return this.ej2Instances.showDialog(type);\n };\n RichTextEditorComponent.prototype.showFullScreen = function () {\n return this.ej2Instances.showFullScreen();\n };\n RichTextEditorComponent.prototype.showInlineToolbar = function () {\n return this.ej2Instances.showInlineToolbar();\n };\n RichTextEditorComponent.prototype.showSourceCode = function () {\n return this.ej2Instances.showSourceCode();\n };\n RichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], RichTextEditorComponent);\n return RichTextEditorComponent;\n}(ComponentBase));\nexport { RichTextEditorComponent };\nexport var RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install: function (Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","RichTextEditorComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","RichTextEditor","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","render","createElement","$slots","default","custom","cleanList","e","closeDialog","type","disableToolbarItem","items","muteToolbarUpdate","enableToolbarItem","executeCommand","commandName","value","option","focusIn","focusOut","getCharCount","getContent","getHtml","getRange","getSelectedHtml","getSelection","getText","getXhtml","hideInlineToolbar","print","refreshUI","removeToolbarItem","renderTemplates","callBack","sanitizeHtml","selectAll","selectRange","range","showDialog","showFullScreen","showInlineToolbar","showSourceCode","EJComponentDecorator","props","event","ComponentBase","RichTextEditorPlugin","name","install","Vue","component"],"mappings":"uaAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KA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,OAAOhG,KAAK8B,aAAakE,aAE7B5E,EAAwBlB,UAAU+F,kBAAoB,SAAUpB,GAC5D,OAAO7E,KAAK8B,aAAamE,kBAAkBpB,IAE/CzD,EAAwBlB,UAAUgG,gBAAkB,SAAUC,GAC1D,OAAOnG,KAAK8B,aAAaoE,gBAAgBC,IAE7C/E,EAAwBlB,UAAUkG,aAAe,SAAUlB,GACvD,OAAOlF,KAAK8B,aAAasE,aAAalB,IAE1C9D,EAAwBlB,UAAUmG,UAAY,WAC1C,OAAOrG,KAAK8B,aAAauE,aAE7BjF,EAAwBlB,UAAUoG,YAAc,SAAUC,GACtD,OAAOvG,KAAK8B,aAAawE,YAAYC,IAEzCnF,EAAwBlB,UAAUsG,WAAa,SAAU7B,GACrD,OAAO3E,KAAK8B,aAAa0E,WAAW7B,IAExCvD,EAAwBlB,UAAUuG,eAAiB,WAC/C,OAAOzG,KAAK8B,aAAa2E,kBAE7BrF,EAAwBlB,UAAUwG,kBAAoB,WAClD,OAAO1G,KAAK8B,aAAa4E,qBAE7BtF,EAAwBlB,UAAUyG,eAAiB,WAC/C,OAAO3G,KAAK8B,aAAa6E,kBAE7BvF,EAA0BhB,GACtBwG,wBACIC,MAAO3F,EACPsC,OACIsD,MAAO,mBAGhB1F,IAEL2F,iBAESC,GACPC,KAAM,qBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAqBC,KAAM7F"}
@@ -207,6 +207,9 @@ class RichTextEditorComponent extends ComponentBase {
207
207
  removeToolbarItem(items) {
208
208
  return this.ej2Instances.removeToolbarItem(items);
209
209
  }
210
+ renderTemplates(callBack) {
211
+ return this.ej2Instances.renderTemplates(callBack);
212
+ }
210
213
  sanitizeHtml(value) {
211
214
  return this.ej2Instances.sanitizeHtml(value);
212
215
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nlet RichTextEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass RichTextEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new RichTextEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n }\n custom() {\n this.updated();\n }\n cleanList(e) {\n return this.ej2Instances.cleanList(e);\n }\n closeDialog(type) {\n return this.ej2Instances.closeDialog(type);\n }\n disableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n }\n enableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n }\n executeCommand(commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n }\n focusIn() {\n return this.ej2Instances.focusIn();\n }\n focusOut() {\n return this.ej2Instances.focusOut();\n }\n getCharCount() {\n return this.ej2Instances.getCharCount();\n }\n getContent() {\n return this.ej2Instances.getContent();\n }\n getHtml() {\n return this.ej2Instances.getHtml();\n }\n getRange() {\n return this.ej2Instances.getRange();\n }\n getSelectedHtml() {\n return this.ej2Instances.getSelectedHtml();\n }\n getSelection() {\n return this.ej2Instances.getSelection();\n }\n getText() {\n return this.ej2Instances.getText();\n }\n getXhtml() {\n return this.ej2Instances.getXhtml();\n }\n hideInlineToolbar() {\n return this.ej2Instances.hideInlineToolbar();\n }\n print() {\n return this.ej2Instances.print();\n }\n refreshUI() {\n return this.ej2Instances.refreshUI();\n }\n removeToolbarItem(items) {\n return this.ej2Instances.removeToolbarItem(items);\n }\n sanitizeHtml(value) {\n return this.ej2Instances.sanitizeHtml(value);\n }\n selectAll() {\n return this.ej2Instances.selectAll();\n }\n selectRange(range) {\n return this.ej2Instances.selectRange(range);\n }\n showDialog(type) {\n return this.ej2Instances.showDialog(type);\n }\n showFullScreen() {\n return this.ej2Instances.showFullScreen();\n }\n showInlineToolbar() {\n return this.ej2Instances.showInlineToolbar();\n }\n showSourceCode() {\n return this.ej2Instances.showSourceCode();\n }\n};\nRichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], RichTextEditorComponent);\nexport { RichTextEditorComponent };\nexport const RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install(Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;SAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC;IAClJ,OAAO,CAAC,GAAG,CAAC,IAAI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B;KACJ,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,uBAAuB,CAAC,CAAC;AAC5B,AACO,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
1
+ {"version":3,"file":"ej2-vue-richtexteditor.es2015.js","sources":["../src/es6/rich-text-editor/richtexteditor.component.js"],"sourcesContent":["var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { RichTextEditor } from '@syncfusion/ej2-richtexteditor';\n// {{VueImport}}\nexport const properties = ['isLazyUpdate', 'plugins', 'autoSaveOnIdle', 'backgroundColor', 'bulletFormatList', 'cssClass', 'editorMode', 'enableAutoUrl', 'enableHtmlEncode', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'enableTabKey', 'enableXhtml', 'enabled', 'enterKey', 'fileManagerSettings', 'floatingToolbarOffset', 'fontColor', 'fontFamily', 'fontSize', 'format', 'formatter', 'height', 'htmlAttributes', 'iframeSettings', 'inlineMode', 'insertAudioSettings', 'insertImageSettings', 'insertVideoSettings', 'keyConfig', 'locale', 'maxLength', 'numberFormatList', 'pasteCleanupSettings', 'placeholder', 'quickToolbarSettings', 'readonly', 'saveInterval', 'shiftEnterKey', 'showCharCount', 'tableSettings', 'toolbarSettings', 'undoRedoSteps', 'undoRedoTimer', 'value', 'valueTemplate', 'width', 'actionBegin', 'actionComplete', 'afterImageDelete', 'afterMediaDelete', 'afterPasteCleanup', 'beforeDialogClose', 'beforeDialogOpen', 'beforeFileUpload', 'beforeImageDrop', 'beforeImageUpload', 'beforePasteCleanup', 'beforeQuickToolbarOpen', 'beforeSanitizeHtml', 'blur', 'change', 'created', 'destroyed', 'dialogClose', 'dialogOpen', 'fileRemoving', 'fileSelected', 'fileUploadFailed', 'fileUploadSuccess', 'fileUploading', 'focus', 'imageRemoving', 'imageSelected', 'imageUploadFailed', 'imageUploadSuccess', 'imageUploading', 'quickToolbarClose', 'quickToolbarOpen', 'resizeStart', 'resizeStop', 'resizing', 'toolbarClick', 'toolbarStatusUpdate', 'updatedToolbarStatus'];\nexport const modelProps = ['value'];\nexport const testProp = getProps({ props: properties });\nexport const props = testProp[0];\nexport const watch = testProp[1];\nexport const emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\nfor (let props of modelProps) {\n emitProbs.push('update:' + props);\n}\n/**\n * `ejs-richtexteditor` represents the VueJS RichTextEditor Component.\n * ```vue\n * <ejs-richtexteditor></ejs-richtexteditor>\n * ```\n */\nlet RichTextEditorComponent = \n/* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n}) End */\nclass RichTextEditorComponent extends ComponentBase {\n constructor() {\n super(arguments);\n this.propKeys = properties;\n this.models = modelProps;\n this.hasChildDirective = false;\n this.hasInjectedModules = true;\n this.tagMapper = {};\n this.tagNameMapper = {};\n this.isVue3 = !isExecute;\n this.ej2Instances = new RichTextEditor({});\n this.ej2Instances._trigger = this.ej2Instances.trigger;\n this.ej2Instances.trigger = this.trigger;\n this.bindProperties();\n this.ej2Instances._setProperties = this.ej2Instances.setProperties;\n this.ej2Instances.setProperties = this.setProperties;\n this.ej2Instances.clearTemplate = this.clearTemplate;\n this.updated = this.updated;\n }\n clearTemplate(templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (let tempName of templateNames) {\n let elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (let ele of elementCollection) {\n let destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n }\n setProperties(prop, muteOnChange) {\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map((key) => {\n this.models.map((model) => {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (this.isVue3) {\n this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n this.$emit('update:' + key, prop[key]);\n this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n }\n trigger(eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/checked|value/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n let key = this.models.toString().match(/currentView|selectedDate/) || [];\n let propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n }\n render(createElement) {\n let h = !isExecute ? gh : createElement;\n let slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('textarea', slots);\n }\n custom() {\n this.updated();\n }\n cleanList(e) {\n return this.ej2Instances.cleanList(e);\n }\n closeDialog(type) {\n return this.ej2Instances.closeDialog(type);\n }\n disableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.disableToolbarItem(items, muteToolbarUpdate);\n }\n enableToolbarItem(items, muteToolbarUpdate) {\n return this.ej2Instances.enableToolbarItem(items, muteToolbarUpdate);\n }\n executeCommand(commandName, value, option) {\n return this.ej2Instances.executeCommand(commandName, value, option);\n }\n focusIn() {\n return this.ej2Instances.focusIn();\n }\n focusOut() {\n return this.ej2Instances.focusOut();\n }\n getCharCount() {\n return this.ej2Instances.getCharCount();\n }\n getContent() {\n return this.ej2Instances.getContent();\n }\n getHtml() {\n return this.ej2Instances.getHtml();\n }\n getRange() {\n return this.ej2Instances.getRange();\n }\n getSelectedHtml() {\n return this.ej2Instances.getSelectedHtml();\n }\n getSelection() {\n return this.ej2Instances.getSelection();\n }\n getText() {\n return this.ej2Instances.getText();\n }\n getXhtml() {\n return this.ej2Instances.getXhtml();\n }\n hideInlineToolbar() {\n return this.ej2Instances.hideInlineToolbar();\n }\n print() {\n return this.ej2Instances.print();\n }\n refreshUI() {\n return this.ej2Instances.refreshUI();\n }\n removeToolbarItem(items) {\n return this.ej2Instances.removeToolbarItem(items);\n }\n renderTemplates(callBack) {\n return this.ej2Instances.renderTemplates(callBack);\n }\n sanitizeHtml(value) {\n return this.ej2Instances.sanitizeHtml(value);\n }\n selectAll() {\n return this.ej2Instances.selectAll();\n }\n selectRange(range) {\n return this.ej2Instances.selectRange(range);\n }\n showDialog(type) {\n return this.ej2Instances.showDialog(type);\n }\n showFullScreen() {\n return this.ej2Instances.showFullScreen();\n }\n showInlineToolbar() {\n return this.ej2Instances.showInlineToolbar();\n }\n showSourceCode() {\n return this.ej2Instances.showSourceCode();\n }\n};\nRichTextEditorComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n], RichTextEditorComponent);\nexport { RichTextEditorComponent };\nexport const RichTextEditorPlugin = {\n name: 'ejs-richtexteditor',\n install(Vue) {\n Vue.component(RichTextEditorPlugin.name, RichTextEditorComponent);\n }\n};\n"],"names":["this"],"mappings":";;;;AAAA,IAAI,UAAU,GAAG,CAACA,SAAI,IAAIA,SAAI,CAAC,UAAU,KAAK,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;IACnF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,G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IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KAC/C;IACD,UAAU,CAAC,IAAI,EAAE;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;KAC7C;IACD,cAAc,GAAG;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C;IACD,iBAAiB,GAAG;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,CAAC;KAChD;IACD,cAAc,GAAG;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC;KAC7C;CACJ,CAAC;AACF,uBAAuB,GAAG,UAAU,CAAC;IACjC,oBAAoB,CAAC;QACjB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE;YACH,KAAK,EAAE,cAAc;SACxB;KACJ,EAAE,SAAS,CAAC;;;;;;;;;;;CAWhB,EAAE,uBAAuB,CAAC,CAAC;AAC5B,AACO,MAAM,oBAAoB,GAAG;IAChC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,CAAC,GAAG,EAAE;QACT,GAAG,CAAC,SAAS,CAAC,oBAAoB,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC;KACrE;CACJ;;;;;"}
@@ -215,6 +215,9 @@ var RichTextEditorComponent = /** @__PURE__ @class */ (function (_super) {
215
215
  RichTextEditorComponent.prototype.removeToolbarItem = function (items) {
216
216
  return this.ej2Instances.removeToolbarItem(items);
217
217
  };
218
+ RichTextEditorComponent.prototype.renderTemplates = function (callBack) {
219
+ return this.ej2Instances.renderTemplates(callBack);
220
+ };
218
221
  RichTextEditorComponent.prototype.sanitizeHtml = function (value) {
219
222
  return this.ej2Instances.sanitizeHtml(value);
220
223
  };