@syncfusion/ej2-richtexteditor 20.3.59 → 20.3.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.json ADDED
@@ -0,0 +1,244 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:jsdoc/recommended"
10
+ ],
11
+ "parser": "@typescript-eslint/parser",
12
+ "parserOptions": {
13
+ "ecmaFeatures": { "js": true },
14
+ "ecmaVersion": 2018,
15
+ "project": "./tsconfig.json",
16
+ "sourceType": "module"
17
+ },
18
+ "plugins": [
19
+ "@typescript-eslint",
20
+ "@typescript-eslint/tslint",
21
+ "jsdoc"
22
+ ],
23
+ "rules": {
24
+ "use-isnan": "error",
25
+ "@typescript-eslint/no-inferrable-types": "off",
26
+ "@typescript-eslint/ban-types": ["warn", {
27
+ "types": {
28
+ "Object": false,
29
+ "object": false,
30
+ "{}": false,
31
+ "Function": false
32
+ }
33
+ }],
34
+ "jsdoc/check-tag-names": 0,
35
+ "@typescript-eslint/tslint/config": [
36
+ "error",
37
+ {
38
+ "rules": {
39
+ "ban": true,
40
+ "chai-vague-errors": true,
41
+ "max-func-body-length": [
42
+ true,
43
+ 120,
44
+ {
45
+ "ignore-parameters-to-function-regex": "describe"
46
+ }
47
+ ],
48
+ "missing-jsdoc": true,
49
+ "no-backbone-get-set-outside-model": false,
50
+ "no-cookies": false,
51
+ "no-delete-expression": false,
52
+ "no-disable-auto-sanitization": true,
53
+ "no-duplicate-case": true,
54
+ "no-duplicate-parameter-names": true,
55
+ "no-empty-interfaces": false,
56
+ "no-exec-script": true,
57
+ "no-function-expression": false,
58
+ "no-multiple-var-decl": false,
59
+ "no-string-based-set-immediate": false,
60
+ "no-string-based-set-interval": false,
61
+ "no-unnecessary-bind": false,
62
+ "no-unused-imports": true,
63
+ "no-with-statement": false,
64
+ "prefer-array-literal": false,
65
+ "typedef": [
66
+ true,
67
+ "call-signature",
68
+ "parameter",
69
+ "property-declaration",
70
+ "variable-declaration",
71
+ "arrow-parameter",
72
+ "member-variable-declaration"
73
+ ],
74
+ "use-named-parameter": false,
75
+ "valid-typeof": true,
76
+ "whitespace": [
77
+ true,
78
+ "check-branch",
79
+ "check-decl",
80
+ "check-operator",
81
+ "check-separator",
82
+ "check-type"
83
+ ]
84
+ }
85
+ }
86
+ ],
87
+ "no-control-regex": "error",
88
+ "no-constant-condition": "error",
89
+ "no-invalid-regexp": "error",
90
+ "curly": "error",
91
+ "eol-last": [
92
+ "error",
93
+ "always"
94
+ ],
95
+ "guard-for-in": "error",
96
+ "no-labels": "error",
97
+ "max-len": [
98
+ "error",
99
+ {
100
+ "code": 140,
101
+ "tabWidth": 4,
102
+ "ignoreComments": true,
103
+ "ignoreStrings": true,
104
+ "ignoreTemplateLiterals": true,
105
+ "ignoreRegExpLiterals": true
106
+ }
107
+ ],
108
+ "no-console": [
109
+ "error",
110
+ {
111
+ "allow": [
112
+ "warn",
113
+ "dir",
114
+ "timeLog",
115
+ "assert",
116
+ "clear",
117
+ "count",
118
+ "countReset",
119
+ "group",
120
+ "groupEnd",
121
+ "table",
122
+ "dirxml",
123
+ "error",
124
+ "groupCollapsed",
125
+ "Console",
126
+ "profile",
127
+ "profileEnd",
128
+ "timeStamp",
129
+ "context"
130
+ ]
131
+ }
132
+ ],
133
+ "no-redeclare": [
134
+ "error",
135
+ {
136
+ "builtinGlobals": true
137
+ }
138
+ ],
139
+ "@typescript-eslint/no-parameter-properties": "error",
140
+ "@typescript-eslint/indent": [
141
+ "error",
142
+ 4,
143
+ {
144
+ "CallExpression": {
145
+ "arguments": "first"
146
+ },
147
+ "FunctionDeclaration": {
148
+ "parameters": "first"
149
+ },
150
+ "FunctionExpression": {
151
+ "parameters": "first"
152
+ }
153
+ }
154
+ ],
155
+ "no-debugger": "error",
156
+ "no-eval": "error",
157
+ "no-extra-semi": "error",
158
+ "no-throw-literal": "error",
159
+ "no-fallthrough": "error",
160
+ "comma-dangle": [
161
+ "error",
162
+ "never"
163
+ ],
164
+ "no-trailing-spaces": "error",
165
+ "@typescript-eslint/no-unused-expressions": "error",
166
+ "@typescript-eslint/no-var-requires": "error",
167
+ "one-var": [
168
+ "error",
169
+ "never"
170
+ ],
171
+ "@typescript-eslint/no-explicit-any": "error",
172
+ "no-cond-assign": [
173
+ "error",
174
+ "always"
175
+ ],
176
+ "@typescript-eslint/consistent-type-assertions": "off",
177
+ "jsdoc/check-alignment": "error",
178
+ "no-empty": "error",
179
+ "quotes": [
180
+ "error",
181
+ "single"
182
+ ],
183
+ "semi": [
184
+ "error",
185
+ "always"
186
+ ],
187
+ "eqeqeq": [
188
+ "error",
189
+ "smart"
190
+ ],
191
+ "valid-typeof": [
192
+ "error",
193
+ {
194
+ "requireStringLiterals": true
195
+ }
196
+ ],
197
+ "camelcase": [
198
+ "error",
199
+ {
200
+ "properties": "always",
201
+ "ignoreDestructuring": true,
202
+ "ignoreImports": true
203
+ }
204
+ ],
205
+ "no-irregular-whitespace": [
206
+ "error",
207
+ {
208
+ "skipStrings": true,
209
+ "skipComments": true,
210
+ "skipRegExps": true,
211
+ "skipTemplates": true
212
+ }
213
+ ],
214
+ "valid-jsdoc": [
215
+ "error",
216
+ {
217
+ "prefer": {
218
+ "arg": "param",
219
+ "argument": "param",
220
+ "class": "constructor",
221
+ "return": "returns",
222
+ "virtual": "abstract"
223
+ }
224
+ }
225
+ ],
226
+ "no-var": "error",
227
+ "radix": "error"
228
+ },
229
+ "reportUnusedDisableDirectives": true,
230
+ "overrides": [
231
+ {
232
+ "files": [
233
+ "node_modules",
234
+ "dist",
235
+ "public",
236
+ "coverage",
237
+ "test-report"
238
+ ],
239
+ "rules": {
240
+ "no-unused-expressions": "off"
241
+ }
242
+ }
243
+ ]
244
+ }
package/CHANGELOG.md CHANGED
@@ -6,6 +6,32 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
+ - `#I422392` - Now, the embed video is not removed when pressing the enter key.
10
+
11
+ - `#I422764` - Now, when using similar fontFamily values for multiple items updates the dropDown text properly.
12
+
13
+ ## 20.3.60 (2022-12-06)
14
+
15
+ ### RichTextEditor
16
+
17
+ #### Bug Fixes
18
+
19
+ - `#I416708` - Now, pasting the content from MS Word will maintain the DOM structure properly.
20
+
21
+ - `#I418749` - Now, pasted texts get inside the `contentEditable div` when using the `enterKey` as `BR` or `DIV`.
22
+
23
+ - `#FB39086` - Now, image not duplicated when press the enter key.
24
+
25
+ - `#I420916` - Now, the indent and outdent toolbar are working properly for the RTL mode.
26
+
27
+ - `#I421972` - Now, the display popup toolbar item in the Image quick toolbar displays the text properly.
28
+
29
+ ## 20.3.59 (2022-11-29)
30
+
31
+ ### RichTextEditor
32
+
33
+ #### Bug Fixes
34
+
9
35
  - `#I411229` - Now, pressing the enter key at the start of a line after deleting the previous line works properly.
10
36
 
11
37
  - `#I412883` - Now, pressing the enter key at the start of the dynamically inserted text works properly.
@@ -14,6 +40,8 @@
14
40
 
15
41
  - `#I416708` - Now, pressing the backspace key after pasting contents from MS Word works properly.
16
42
 
43
+ - `#I417838` - Now, Underline and Strike through toolbar styles will work properly when we change the font size in RTE.
44
+
17
45
  ## 20.3.47 (2022-09-29)
18
46
 
19
47
  ### RichTextEditor