@atlaskit/editor-plugin-code-block 1.3.1 → 1.3.3

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 CHANGED
@@ -1,430 +1,444 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
14
+ [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
15
+ [ED-23332] Update adf-schema package to 36.10.1
16
+ - Updated dependencies
17
+
3
18
  ## 1.3.1
4
19
 
5
20
  ### Patch Changes
6
21
 
7
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
8
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
9
- ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
22
+ - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
23
+ [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
24
+ ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
10
25
 
11
26
  ## 1.3.0
12
27
 
13
28
  ### Minor Changes
14
29
 
15
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
16
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
17
- Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
30
+ - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
31
+ [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
32
+ Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
18
33
 
19
34
  ### Patch Changes
20
35
 
21
- - Updated dependencies
36
+ - Updated dependencies
22
37
 
23
38
  ## 1.2.8
24
39
 
25
40
  ### Patch Changes
26
41
 
27
- - Updated dependencies
42
+ - Updated dependencies
28
43
 
29
44
  ## 1.2.7
30
45
 
31
46
  ### Patch Changes
32
47
 
33
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
34
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
35
- [ED-22282] Bump adf-schema to 36.1.0
48
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
49
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
50
+ [ED-22282] Bump adf-schema to 36.1.0
36
51
 
37
52
  ## 1.2.6
38
53
 
39
54
  ### Patch Changes
40
55
 
41
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
42
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
43
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
44
- language triggering composition on an empty line.This was fixed in a patch bump of
45
- prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
56
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
57
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
58
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
59
+ language triggering composition on an empty line.This was fixed in a patch bump of
60
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
46
61
 
47
62
  ## 1.2.5
48
63
 
49
64
  ### Patch Changes
50
65
 
51
- - Updated dependencies
66
+ - Updated dependencies
52
67
 
53
68
  ## 1.2.4
54
69
 
55
70
  ### Patch Changes
56
71
 
57
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
58
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
59
- [ED-23102] Bump ADF schema to version 35.12.2
72
+ - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
73
+ [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
74
+ [ED-23102] Bump ADF schema to version 35.12.2
60
75
 
61
76
  ## 1.2.3
62
77
 
63
78
  ### Patch Changes
64
79
 
65
- - [#95492](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95492)
66
- [`c88ed307708a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c88ed307708a) -
67
- [ux] [ED-22897] Replace newlines with hard breaks when codeblock is converted to a paragraph
68
- when the user presses backspace at the start of the paragraph. (only applies if codeblock is the
69
- first Node of the document or first node of a list item) Enabled with feature flag
70
- "platform.editor.codeblock-preserve-newlines_54r3m"
80
+ - [#95492](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95492)
81
+ [`c88ed307708a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c88ed307708a) -
82
+ [ux] [ED-22897] Replace newlines with hard breaks when codeblock is converted to a paragraph when
83
+ the user presses backspace at the start of the paragraph. (only applies if codeblock is the first
84
+ Node of the document or first node of a list item) Enabled with feature flag
85
+ "platform.editor.codeblock-preserve-newlines_54r3m"
71
86
 
72
87
  ## 1.2.2
73
88
 
74
89
  ### Patch Changes
75
90
 
76
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
77
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
78
- [ED-23097] Bump ADF schema to version 35.12.1
91
+ - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
92
+ [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
93
+ [ED-23097] Bump ADF schema to version 35.12.1
79
94
 
80
95
  ## 1.2.1
81
96
 
82
97
  ### Patch Changes
83
98
 
84
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
85
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
86
- Updating adf-schema version to 35.10.0
99
+ - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
100
+ [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
101
+ Updating adf-schema version to 35.10.0
87
102
 
88
103
  ## 1.2.0
89
104
 
90
105
  ### Minor Changes
91
106
 
92
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
93
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
94
- bumped editor-prosemirror version to 4.0.0
107
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
108
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
109
+ bumped editor-prosemirror version to 4.0.0
95
110
 
96
111
  ### Patch Changes
97
112
 
98
- - Updated dependencies
113
+ - Updated dependencies
99
114
 
100
115
  ## 1.1.11
101
116
 
102
117
  ### Patch Changes
103
118
 
104
- - [#91461](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91461)
105
- [`1b353cb06cc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b353cb06cc8) -
106
- [ED-23042] Disable editing in code blocks and expand nodes when editorDisabled state is true
119
+ - [#91461](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91461)
120
+ [`1b353cb06cc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b353cb06cc8) -
121
+ [ED-23042] Disable editing in code blocks and expand nodes when editorDisabled state is true
107
122
 
108
123
  ## 1.1.10
109
124
 
110
125
  ### Patch Changes
111
126
 
112
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
113
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
114
- Bump adf-schema to 35.9.2 to support table alignment options
127
+ - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
128
+ [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
129
+ Bump adf-schema to 35.9.2 to support table alignment options
115
130
 
116
131
  ## 1.1.9
117
132
 
118
133
  ### Patch Changes
119
134
 
120
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
121
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
122
- Bump ADF-schema package to version 35.0.0
123
- - Updated dependencies
135
+ - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
136
+ [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
137
+ Bump ADF-schema package to version 35.0.0
138
+ - Updated dependencies
124
139
 
125
140
  ## 1.1.8
126
141
 
127
142
  ### Patch Changes
128
143
 
129
- - [#91080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91080)
130
- [`ef9f3c4ad482`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ef9f3c4ad482) -
131
- Revert change for disable code block in live view
132
- - Updated dependencies
144
+ - [#91080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91080)
145
+ [`ef9f3c4ad482`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ef9f3c4ad482) -
146
+ Revert change for disable code block in live view
147
+ - Updated dependencies
133
148
 
134
149
  ## 1.1.7
135
150
 
136
151
  ### Patch Changes
137
152
 
138
- - [#89138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89138)
139
- [`f70dc8331119`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f70dc8331119) -
140
- Disable code block content editing in live view mode
141
- - Updated dependencies
153
+ - [#89138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89138)
154
+ [`f70dc8331119`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f70dc8331119) -
155
+ Disable code block content editing in live view mode
156
+ - Updated dependencies
142
157
 
143
158
  ## 1.1.6
144
159
 
145
160
  ### Patch Changes
146
161
 
147
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
148
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
149
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
150
- 35.7.0 to 35.8.0
162
+ - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
163
+ [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
164
+ [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
165
+ 35.7.0 to 35.8.0
151
166
 
152
167
  ## 1.1.5
153
168
 
154
169
  ### Patch Changes
155
170
 
156
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
157
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
158
- Bump adf-schema to 35.7.0
171
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
172
+ [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
173
+ Bump adf-schema to 35.7.0
159
174
 
160
175
  ## 1.1.4
161
176
 
162
177
  ### Patch Changes
163
178
 
164
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
165
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
166
- Upgrade Typescript from `4.9.5` to `5.4.2`
179
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
180
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
181
+ Upgrade Typescript from `4.9.5` to `5.4.2`
167
182
 
168
183
  ## 1.1.3
169
184
 
170
185
  ### Patch Changes
171
186
 
172
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
173
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
174
- ED-22553 Updating adf-schema version to 35.6.0
187
+ - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
188
+ [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
189
+ ED-22553 Updating adf-schema version to 35.6.0
175
190
 
176
191
  ## 1.1.2
177
192
 
178
193
  ### Patch Changes
179
194
 
180
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
181
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
182
- ED-22219: adf-schema updated to 35.5.2
183
- - Updated dependencies
195
+ - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
196
+ [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
197
+ ED-22219: adf-schema updated to 35.5.2
198
+ - Updated dependencies
184
199
 
185
200
  ## 1.1.1
186
201
 
187
202
  ### Patch Changes
188
203
 
189
- - [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
190
- [`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
191
- MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
204
+ - [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
205
+ [`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
206
+ MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
192
207
 
193
- ## WHY?
208
+ ## WHY?
194
209
 
195
- Removing editor-common dependencies from prosemirror-input-rules package.
210
+ Removing editor-common dependencies from prosemirror-input-rules package.
196
211
 
197
- This makes it easier for editor updates because it simplifies our dependency graph.
212
+ This makes it easier for editor updates because it simplifies our dependency graph.
198
213
 
199
- ## WHAT and HOW?
214
+ ## WHAT and HOW?
200
215
 
201
- These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
202
- `@atlaskit/editor-common/types`:
216
+ These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
217
+ `@atlaskit/editor-common/types`:
203
218
 
204
- - InputRuleWrapper
205
- - InputRuleHandler
206
- - OnHandlerApply
207
- - createRule
219
+ - InputRuleWrapper
220
+ - InputRuleHandler
221
+ - OnHandlerApply
222
+ - createRule
208
223
 
209
- These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
210
- need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
224
+ These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
225
+ need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
211
226
 
212
- `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
227
+ `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
213
228
 
214
- - createPlugin
215
- - createInputRulePlugin
229
+ - createPlugin
230
+ - createInputRulePlugin
216
231
 
217
- - Updated dependencies
232
+ - Updated dependencies
218
233
 
219
234
  ## 1.1.0
220
235
 
221
236
  ### Minor Changes
222
237
 
223
- - [#75114](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75114)
224
- [`393ee487af1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/393ee487af1e) -
225
- Plugin configuration for code-block plugin is now optional.
238
+ - [#75114](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75114)
239
+ [`393ee487af1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/393ee487af1e) -
240
+ Plugin configuration for code-block plugin is now optional.
226
241
 
227
242
  ## 1.0.2
228
243
 
229
244
  ### Patch Changes
230
245
 
231
- - Updated dependencies
246
+ - Updated dependencies
232
247
 
233
248
  ## 1.0.1
234
249
 
235
250
  ### Patch Changes
236
251
 
237
- - [#73044](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73044)
238
- [`0fff4efc0417`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fff4efc0417) -
239
- [ux] ED-22131 Fixed selection placement when codeblock inserted through quick-insert inside
240
- panel
241
- - Updated dependencies
252
+ - [#73044](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73044)
253
+ [`0fff4efc0417`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fff4efc0417) -
254
+ [ux] ED-22131 Fixed selection placement when codeblock inserted through quick-insert inside panel
255
+ - Updated dependencies
242
256
 
243
257
  ## 1.0.0
244
258
 
245
259
  ### Major Changes
246
260
 
247
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
248
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
249
- This changeset exists to bump all editor plugins that currently don't have a major version. This
250
- is to address an issue with Jira plugin consumption.
261
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
262
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
263
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
264
+ is to address an issue with Jira plugin consumption.
251
265
 
252
266
  ### Patch Changes
253
267
 
254
- - Updated dependencies
268
+ - Updated dependencies
255
269
 
256
270
  ## 0.1.20
257
271
 
258
272
  ### Patch Changes
259
273
 
260
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
261
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
262
- Upgrading @atlaskit/editor-prosemirror dependency
274
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
275
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
276
+ Upgrading @atlaskit/editor-prosemirror dependency
263
277
 
264
278
  ## 0.1.19
265
279
 
266
280
  ### Patch Changes
267
281
 
268
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
269
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
270
- Move all plugin translations to editor-common
271
- - Updated dependencies
282
+ - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
283
+ [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
284
+ Move all plugin translations to editor-common
285
+ - Updated dependencies
272
286
 
273
287
  ## 0.1.18
274
288
 
275
289
  ### Patch Changes
276
290
 
277
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
278
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
279
- Updating adf-schema version to 35.5.1
291
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
292
+ [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
293
+ Updating adf-schema version to 35.5.1
280
294
 
281
295
  ## 0.1.17
282
296
 
283
297
  ### Patch Changes
284
298
 
285
- - Updated dependencies
299
+ - Updated dependencies
286
300
 
287
301
  ## 0.1.16
288
302
 
289
303
  ### Patch Changes
290
304
 
291
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
292
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
293
- [ED-21835] Change EditorAPI type to always union with undefined
305
+ - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
306
+ [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
307
+ [ED-21835] Change EditorAPI type to always union with undefined
294
308
 
295
309
  ## 0.1.15
296
310
 
297
311
  ### Patch Changes
298
312
 
299
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
300
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
301
- Ensure all editor plugins are marked as singletons
313
+ - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
314
+ [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
315
+ Ensure all editor plugins are marked as singletons
302
316
 
303
317
  ## 0.1.14
304
318
 
305
319
  ### Patch Changes
306
320
 
307
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
308
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
309
- ED-21609 Update adf-schema to 35.3.0
310
- - Updated dependencies
321
+ - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
322
+ [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
323
+ ED-21609 Update adf-schema to 35.3.0
324
+ - Updated dependencies
311
325
 
312
326
  ## 0.1.13
313
327
 
314
328
  ### Patch Changes
315
329
 
316
- - [#62880](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62880)
317
- [`a23ec26652ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a23ec26652ea) -
318
- Extracting breakout plugin from editor-core into new package @atlaskit/editor-plugin-breakout
330
+ - [#62880](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62880)
331
+ [`a23ec26652ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a23ec26652ea) -
332
+ Extracting breakout plugin from editor-core into new package @atlaskit/editor-plugin-breakout
319
333
 
320
334
  ## 0.1.12
321
335
 
322
336
  ### Patch Changes
323
337
 
324
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
325
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
326
- [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
338
+ - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
339
+ [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
340
+ [ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
327
341
 
328
342
  ## 0.1.11
329
343
 
330
344
  ### Patch Changes
331
345
 
332
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
333
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
334
- ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
346
+ - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
347
+ [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
348
+ ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
335
349
 
336
350
  ## 0.1.10
337
351
 
338
352
  ### Patch Changes
339
353
 
340
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
341
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
342
- ED-21371 Update adf-schema to 35.1.0
354
+ - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
355
+ [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
356
+ ED-21371 Update adf-schema to 35.1.0
343
357
 
344
358
  ## 0.1.9
345
359
 
346
360
  ### Patch Changes
347
361
 
348
- - Updated dependencies
362
+ - Updated dependencies
349
363
 
350
364
  ## 0.1.8
351
365
 
352
366
  ### Patch Changes
353
367
 
354
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
355
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
356
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
368
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
369
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
370
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
357
371
 
358
372
  ## 0.1.7
359
373
 
360
374
  ### Patch Changes
361
375
 
362
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
363
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
364
- update ADF schema
376
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
377
+ [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
378
+ update ADF schema
365
379
 
366
380
  ## 0.1.6
367
381
 
368
382
  ### Patch Changes
369
383
 
370
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
371
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
372
- ED-21266: Updated @atlaskit/adf-schema to 34.0.1
384
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
385
+ [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
386
+ ED-21266: Updated @atlaskit/adf-schema to 34.0.1
373
387
 
374
388
  ## 0.1.5
375
389
 
376
390
  ### Patch Changes
377
391
 
378
- - [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
379
- [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
380
- feature flags plugin optional in all plugins including:
381
-
382
- - analytics
383
- - base
384
- - card
385
- - code-block
386
- - expand
387
- - extension
388
- - floating-toolbar
389
- - hyperlink
390
- - insert-block
391
- - layout
392
- - layout
393
- - list
394
- - media
395
- - paste
396
- - rule
397
- - table
398
- - tasks-and-decisions
399
-
400
- We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
401
- mandatory to be added to the preset.
392
+ - [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
393
+ [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
394
+ feature flags plugin optional in all plugins including:
395
+
396
+ - analytics
397
+ - base
398
+ - card
399
+ - code-block
400
+ - expand
401
+ - extension
402
+ - floating-toolbar
403
+ - hyperlink
404
+ - insert-block
405
+ - layout
406
+ - layout
407
+ - list
408
+ - media
409
+ - paste
410
+ - rule
411
+ - table
412
+ - tasks-and-decisions
413
+
414
+ We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
415
+ mandatory to be added to the preset.
402
416
 
403
417
  ## 0.1.4
404
418
 
405
419
  ### Patch Changes
406
420
 
407
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
408
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
409
- ED-20971 Upgrade adf-schema package to ^34.0.0
421
+ - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
422
+ [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
423
+ Upgrade adf-schema package to ^34.0.0
410
424
 
411
425
  ## 0.1.3
412
426
 
413
427
  ### Patch Changes
414
428
 
415
- - Updated dependencies
429
+ - Updated dependencies
416
430
 
417
431
  ## 0.1.2
418
432
 
419
433
  ### Patch Changes
420
434
 
421
- - Updated dependencies
435
+ - Updated dependencies
422
436
 
423
437
  ## 0.1.1
424
438
 
425
439
  ### Patch Changes
426
440
 
427
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
428
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
429
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
430
- - Updated dependencies
441
+ - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
442
+ [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
443
+ Upgrade ADF schema version to 33.2.3 for MBE nodes.
444
+ - Updated dependencies
package/LICENSE.md CHANGED
@@ -1,13 +1,11 @@
1
1
  Copyright 2023 Atlassian Pty Ltd
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
6
5
 
7
6
  http://www.apache.org/licenses/LICENSE-2.0
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
@@ -12,7 +12,7 @@ export declare const resetShouldIgnoreFollowingMutations: Command;
12
12
  * if there is text selected it will wrap the current selection if not it will
13
13
  * append the codeblock to the end of the document.
14
14
  */
15
- export declare function createInsertCodeBlockTransaction({ state, }: {
15
+ export declare function createInsertCodeBlockTransaction({ state }: {
16
16
  state: EditorState;
17
17
  }): import("prosemirror-state").Transaction;
18
18
  export declare function insertCodeBlockWithAnalytics(inputMethod: INPUT_METHOD, analyticsAPI?: EditorAnalyticsAPI): Command;
@@ -12,7 +12,7 @@ export declare const resetShouldIgnoreFollowingMutations: Command;
12
12
  * if there is text selected it will wrap the current selection if not it will
13
13
  * append the codeblock to the end of the document.
14
14
  */
15
- export declare function createInsertCodeBlockTransaction({ state, }: {
15
+ export declare function createInsertCodeBlockTransaction({ state }: {
16
16
  state: EditorState;
17
17
  }): import("prosemirror-state").Transaction;
18
18
  export declare function insertCodeBlockWithAnalytics(inputMethod: INPUT_METHOD, analyticsAPI?: EditorAnalyticsAPI): Command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,15 +33,15 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^36.8.0",
36
+ "@atlaskit/adf-schema": "^36.10.7",
37
37
  "@atlaskit/code": "^15.2.0",
38
- "@atlaskit/editor-common": "^80.4.0",
38
+ "@atlaskit/editor-common": "^82.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
40
  "@atlaskit/editor-plugin-composition": "^1.1.0",
41
41
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
42
42
  "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
43
43
  "@atlaskit/editor-prosemirror": "4.0.1",
44
- "@atlaskit/icon": "^22.2.0",
44
+ "@atlaskit/icon": "^22.3.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.2.0",
46
46
  "@atlaskit/prosemirror-input-rules": "^3.1.0",
47
47
  "@babel/runtime": "^7.0.0",
@@ -52,7 +52,6 @@
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
56
55
  "typescript": "~5.4.2"
57
56
  },
58
57
  "techstack": {
@@ -88,7 +87,6 @@
88
87
  ]
89
88
  }
90
89
  },
91
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
92
90
  "stricter": {
93
91
  "no-unused-dependencies": {
94
92
  "checkDevDependencies": true
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-code-block"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -27,28 +28,28 @@ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
27
28
 
28
29
  // @public (undocumented)
29
30
  export interface CodeBlockOptions extends LongPressSelectionPluginOptions {
30
- // (undocumented)
31
- allowCompositionInputOverride?: boolean;
32
- // (undocumented)
33
- allowCopyToClipboard?: boolean;
34
- // (undocumented)
35
- appearance?: EditorAppearance | undefined;
31
+ // (undocumented)
32
+ allowCompositionInputOverride?: boolean;
33
+ // (undocumented)
34
+ allowCopyToClipboard?: boolean;
35
+ // (undocumented)
36
+ appearance?: EditorAppearance | undefined;
36
37
  }
37
38
 
38
39
  // @public (undocumented)
39
40
  export type CodeBlockPlugin = NextEditorPlugin<
40
- 'codeBlock',
41
- {
42
- pluginConfiguration: CodeBlockOptions;
43
- dependencies: [
44
- typeof decorationsPlugin,
45
- typeof compositionPlugin,
46
- OptionalPlugin<typeof analyticsPlugin>,
47
- ];
48
- actions: {
49
- insertCodeBlock: (inputMethod: INPUT_METHOD) => Command;
50
- };
51
- }
41
+ 'codeBlock',
42
+ {
43
+ pluginConfiguration: CodeBlockOptions;
44
+ dependencies: [
45
+ typeof decorationsPlugin,
46
+ typeof compositionPlugin,
47
+ OptionalPlugin<typeof analyticsPlugin>,
48
+ ];
49
+ actions: {
50
+ insertCodeBlock: (inputMethod: INPUT_METHOD) => Command;
51
+ };
52
+ }
52
53
  >;
53
54
 
54
55
  // @public (undocumented)
@@ -65,8 +66,8 @@ export const codeBlockPlugin: CodeBlockPlugin;
65
66
 
66
67
  ```json
67
68
  {
68
- "react": "^16.8.0",
69
- "react-intl-next": "npm:react-intl@^5.18.1"
69
+ "react": "^16.8.0",
70
+ "react-intl-next": "npm:react-intl@^5.18.1"
70
71
  }
71
72
  ```
72
73