@ckeditor/ckeditor5-basic-styles 40.1.0 → 40.2.0
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/CHANGELOG.md +25 -25
- package/package.json +2 -2
- package/src/attributecommand.d.ts +1 -1
- package/src/attributecommand.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,17 +5,17 @@ All changes in the package are documented in the main repository. See: https://g
|
|
|
5
5
|
|
|
6
6
|
Changes for the past releases are available below.
|
|
7
7
|
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v18.0.0...v19.0.0) (2020
|
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
|
9
9
|
|
|
10
10
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v17.0.0...v18.0.0) (2020
|
|
13
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
|
14
14
|
|
|
15
15
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v16.0.0...v17.0.0) (2020
|
|
18
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v16.0.0...v17.0.0) (February 18, 2020)
|
|
19
19
|
|
|
20
20
|
### Bug fixes
|
|
21
21
|
|
|
@@ -26,14 +26,14 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
26
26
|
* Updated translations. ([4def017](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4def017))
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v15.0.0...v16.0.0) (2019
|
|
29
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
|
30
30
|
|
|
31
31
|
### Other changes
|
|
32
32
|
|
|
33
33
|
* Updated translations. ([9dfd52c](https://github.com/ckeditor/ckeditor5-basic-styles/commit/9dfd52c))
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.4...v15.0.0) (2019
|
|
36
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.4...v15.0.0) (October 23, 2019)
|
|
37
37
|
|
|
38
38
|
### Features
|
|
39
39
|
|
|
@@ -45,7 +45,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
45
45
|
* Updated translations. ([56d6060](https://github.com/ckeditor/ckeditor5-basic-styles/commit/56d6060))
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
## [11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.3...v11.1.4) (2019
|
|
48
|
+
## [11.1.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.3...v11.1.4) (August 26, 2019)
|
|
49
49
|
|
|
50
50
|
### Bug fixes
|
|
51
51
|
|
|
@@ -58,26 +58,26 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
58
58
|
* Updated translations. ([52de3fe](https://github.com/ckeditor/ckeditor5-basic-styles/commit/52de3fe))
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
## [11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.2...v11.1.3) (2019
|
|
61
|
+
## [11.1.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.2...v11.1.3) (July 10, 2019)
|
|
62
62
|
|
|
63
63
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
## [11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.1...v11.1.2) (2019
|
|
66
|
+
## [11.1.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.1...v11.1.2) (July 4, 2019)
|
|
67
67
|
|
|
68
68
|
### Other changes
|
|
69
69
|
|
|
70
70
|
* Updated translations. ([8914cfc](https://github.com/ckeditor/ckeditor5-basic-styles/commit/8914cfc)) ([fb07a45](https://github.com/ckeditor/ckeditor5-basic-styles/commit/fb07a45))
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
## [11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.0...v11.1.1) (2019
|
|
73
|
+
## [11.1.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.1.0...v11.1.1) (June 6, 2019)
|
|
74
74
|
|
|
75
75
|
### Other changes
|
|
76
76
|
|
|
77
77
|
* Updated translations. ([c9cdc44](https://github.com/ckeditor/ckeditor5-basic-styles/commit/c9cdc44))
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.0.0...v11.1.0) (2019
|
|
80
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v11.0.0...v11.1.0) (April 4, 2019)
|
|
81
81
|
|
|
82
82
|
### Features
|
|
83
83
|
|
|
@@ -89,7 +89,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
89
89
|
* Updated translations. ([4365251](https://github.com/ckeditor/ckeditor5-basic-styles/commit/4365251))
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.1.0...v11.0.0) (2019
|
|
92
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.1.0...v11.0.0) (February 28, 2019)
|
|
93
93
|
|
|
94
94
|
### Other changes
|
|
95
95
|
|
|
@@ -100,7 +100,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
100
100
|
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.3...v10.1.0) (2018
|
|
103
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.3...v10.1.0) (December 5, 2018)
|
|
104
104
|
|
|
105
105
|
### Features
|
|
106
106
|
|
|
@@ -114,14 +114,14 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
114
114
|
* Updated translations. ([f9d3d07](https://github.com/ckeditor/ckeditor5-basic-styles/commit/f9d3d07)) ([67fb2e2](https://github.com/ckeditor/ckeditor5-basic-styles/commit/67fb2e2))
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
## [10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.2...v10.0.3) (2018
|
|
117
|
+
## [10.0.3](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.2...v10.0.3) (October 8, 2018)
|
|
118
118
|
|
|
119
119
|
### Other changes
|
|
120
120
|
|
|
121
121
|
* Updated translations. ([cf4e657](https://github.com/ckeditor/ckeditor5-basic-styles/commit/cf4e657))
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
## [10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.1...v10.0.2) (2018
|
|
124
|
+
## [10.0.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.1...v10.0.2) (July 18, 2018)
|
|
125
125
|
|
|
126
126
|
### Bug fixes
|
|
127
127
|
|
|
@@ -132,14 +132,14 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
132
132
|
* Updated translations. ([df8bcc4](https://github.com/ckeditor/ckeditor5-basic-styles/commit/df8bcc4))
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
## [10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.0...v10.0.1) (2018
|
|
135
|
+
## [10.0.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v10.0.0...v10.0.1) (June 21, 2018)
|
|
136
136
|
|
|
137
137
|
### Other changes
|
|
138
138
|
|
|
139
139
|
* Updated translations.
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.4...v10.0.0) (2018
|
|
142
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
|
143
143
|
|
|
144
144
|
### Other changes
|
|
145
145
|
|
|
@@ -151,7 +151,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
151
151
|
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018
|
|
154
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
|
155
155
|
|
|
156
156
|
### Other changes
|
|
157
157
|
|
|
@@ -159,12 +159,12 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
159
159
|
* Updated translations. ([b4c8419](https://github.com/ckeditor/ckeditor5-basic-styles/commit/b4c8419))
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018
|
|
162
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
|
163
163
|
|
|
164
164
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018
|
|
167
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
|
168
168
|
|
|
169
169
|
### Features
|
|
170
170
|
|
|
@@ -180,21 +180,21 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
180
180
|
* Updated translations. ([1ff4312](https://github.com/ckeditor/ckeditor5-basic-styles/commit/1ff4312))
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017
|
|
183
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
|
184
184
|
|
|
185
185
|
### Other changes
|
|
186
186
|
|
|
187
187
|
* Updated translations. ([398054d](https://github.com/ckeditor/ckeditor5-basic-styles/commit/398054d))
|
|
188
188
|
|
|
189
189
|
|
|
190
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.9.0...v1.0.0-alpha.1) (2017
|
|
190
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017)
|
|
191
191
|
|
|
192
192
|
### Features
|
|
193
193
|
|
|
194
194
|
* Introduced the `Code` plugin. Closes [#52](https://github.com/ckeditor/ckeditor5-basic-styles/issues/52). ([d720cb9](https://github.com/ckeditor/ckeditor5-basic-styles/commit/d720cb9))
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.1...v0.9.0) (2017
|
|
197
|
+
## [0.9.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.1...v0.9.0) (September 3, 2017)
|
|
198
198
|
|
|
199
199
|
### Bug fixes
|
|
200
200
|
|
|
@@ -218,7 +218,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
218
218
|
* The command API has been changed.
|
|
219
219
|
|
|
220
220
|
|
|
221
|
-
## [0.8.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.0...v0.8.1) (2017
|
|
221
|
+
## [0.8.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.8.0...v0.8.1) (May 7, 2017)
|
|
222
222
|
|
|
223
223
|
### Bug fixes
|
|
224
224
|
|
|
@@ -229,7 +229,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
229
229
|
* Updated translations. ([5250bec](https://github.com/ckeditor/ckeditor5-basic-styles/commit/5250bec))
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.1...v0.8.0) (2017
|
|
232
|
+
## [0.8.0](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.1...v0.8.0) (April 5, 2017)
|
|
233
233
|
|
|
234
234
|
### Features
|
|
235
235
|
|
|
@@ -240,7 +240,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
240
240
|
* Updated translations. ([2aa33fd](https://github.com/ckeditor/ckeditor5-basic-styles/commit/2aa33fd))
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
## [0.7.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.0...v0.7.1) (2017
|
|
243
|
+
## [0.7.1](https://github.com/ckeditor/ckeditor5-basic-styles/compare/v0.7.0...v0.7.1) (March 6, 2017)
|
|
244
244
|
|
|
245
245
|
### Other changes
|
|
246
246
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-basic-styles",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.2.0",
|
|
4
4
|
"description": "Basic styles feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "40.
|
|
15
|
+
"ckeditor5": "40.2.0"
|
|
16
16
|
},
|
|
17
17
|
"author": "CKSource (http://cksource.com/)",
|
|
18
18
|
"license": "GPL-2.0-or-later",
|
|
@@ -42,7 +42,7 @@ export default class AttributeCommand extends Command {
|
|
|
42
42
|
*/
|
|
43
43
|
refresh(): void;
|
|
44
44
|
/**
|
|
45
|
-
* Executes the command &
|
|
45
|
+
* Executes the command – applies the attribute to the selection or removes it from the selection.
|
|
46
46
|
*
|
|
47
47
|
* If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.
|
|
48
48
|
*
|
package/src/attributecommand.js
CHANGED
|
@@ -34,7 +34,7 @@ export default class AttributeCommand extends Command {
|
|
|
34
34
|
this.isEnabled = model.schema.checkAttributeInSelection(doc.selection, this.attributeKey);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Executes the command &
|
|
37
|
+
* Executes the command – applies the attribute to the selection or removes it from the selection.
|
|
38
38
|
*
|
|
39
39
|
* If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.
|
|
40
40
|
*
|