@atlaskit/editor-plugin-code-block 1.3.2 → 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,439 +1,444 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.3.2
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
8
- [`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
9
- [ED-23332] Update adf-schema package to 36.10.1
10
- - Updated dependencies
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
11
17
 
12
18
  ## 1.3.1
13
19
 
14
20
  ### Patch Changes
15
21
 
16
- - [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
17
- [`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
18
- 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
19
25
 
20
26
  ## 1.3.0
21
27
 
22
28
  ### Minor Changes
23
29
 
24
- - [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
25
- [`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
26
- 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
27
33
 
28
34
  ### Patch Changes
29
35
 
30
- - Updated dependencies
36
+ - Updated dependencies
31
37
 
32
38
  ## 1.2.8
33
39
 
34
40
  ### Patch Changes
35
41
 
36
- - Updated dependencies
42
+ - Updated dependencies
37
43
 
38
44
  ## 1.2.7
39
45
 
40
46
  ### Patch Changes
41
47
 
42
- - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
43
- [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
44
- [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
45
51
 
46
52
  ## 1.2.6
47
53
 
48
54
  ### Patch Changes
49
55
 
50
- - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
51
- [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
52
- [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
53
- language triggering composition on an empty line.This was fixed in a patch bump of
54
- 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
55
61
 
56
62
  ## 1.2.5
57
63
 
58
64
  ### Patch Changes
59
65
 
60
- - Updated dependencies
66
+ - Updated dependencies
61
67
 
62
68
  ## 1.2.4
63
69
 
64
70
  ### Patch Changes
65
71
 
66
- - [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
67
- [`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
68
- [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
69
75
 
70
76
  ## 1.2.3
71
77
 
72
78
  ### Patch Changes
73
79
 
74
- - [#95492](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95492)
75
- [`c88ed307708a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c88ed307708a) -
76
- [ux] [ED-22897] Replace newlines with hard breaks when codeblock is converted to a paragraph
77
- when the user presses backspace at the start of the paragraph. (only applies if codeblock is the
78
- first Node of the document or first node of a list item) Enabled with feature flag
79
- "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"
80
86
 
81
87
  ## 1.2.2
82
88
 
83
89
  ### Patch Changes
84
90
 
85
- - [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
86
- [`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
87
- [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
88
94
 
89
95
  ## 1.2.1
90
96
 
91
97
  ### Patch Changes
92
98
 
93
- - [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
94
- [`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
95
- 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
96
102
 
97
103
  ## 1.2.0
98
104
 
99
105
  ### Minor Changes
100
106
 
101
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
102
- [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
103
- 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
104
110
 
105
111
  ### Patch Changes
106
112
 
107
- - Updated dependencies
113
+ - Updated dependencies
108
114
 
109
115
  ## 1.1.11
110
116
 
111
117
  ### Patch Changes
112
118
 
113
- - [#91461](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91461)
114
- [`1b353cb06cc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b353cb06cc8) -
115
- [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
116
122
 
117
123
  ## 1.1.10
118
124
 
119
125
  ### Patch Changes
120
126
 
121
- - [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
122
- [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
123
- 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
124
130
 
125
131
  ## 1.1.9
126
132
 
127
133
  ### Patch Changes
128
134
 
129
- - [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
130
- [`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
131
- Bump ADF-schema package to version 35.0.0
132
- - 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
133
139
 
134
140
  ## 1.1.8
135
141
 
136
142
  ### Patch Changes
137
143
 
138
- - [#91080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91080)
139
- [`ef9f3c4ad482`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ef9f3c4ad482) -
140
- Revert change for disable code block in live view
141
- - 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
142
148
 
143
149
  ## 1.1.7
144
150
 
145
151
  ### Patch Changes
146
152
 
147
- - [#89138](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89138)
148
- [`f70dc8331119`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f70dc8331119) -
149
- Disable code block content editing in live view mode
150
- - 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
151
157
 
152
158
  ## 1.1.6
153
159
 
154
160
  ### Patch Changes
155
161
 
156
- - [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
157
- [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
158
- [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
159
- 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
160
166
 
161
167
  ## 1.1.5
162
168
 
163
169
  ### Patch Changes
164
170
 
165
- - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
166
- [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
167
- 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
168
174
 
169
175
  ## 1.1.4
170
176
 
171
177
  ### Patch Changes
172
178
 
173
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
174
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
175
- 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`
176
182
 
177
183
  ## 1.1.3
178
184
 
179
185
  ### Patch Changes
180
186
 
181
- - [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
182
- [`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
183
- 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
184
190
 
185
191
  ## 1.1.2
186
192
 
187
193
  ### Patch Changes
188
194
 
189
- - [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
190
- [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
191
- ED-22219: adf-schema updated to 35.5.2
192
- - 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
193
199
 
194
200
  ## 1.1.1
195
201
 
196
202
  ### Patch Changes
197
203
 
198
- - [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
199
- [`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
200
- 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.
201
207
 
202
- ## WHY?
208
+ ## WHY?
203
209
 
204
- Removing editor-common dependencies from prosemirror-input-rules package.
210
+ Removing editor-common dependencies from prosemirror-input-rules package.
205
211
 
206
- 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.
207
213
 
208
- ## WHAT and HOW?
214
+ ## WHAT and HOW?
209
215
 
210
- These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
211
- `@atlaskit/editor-common/types`:
216
+ These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
217
+ `@atlaskit/editor-common/types`:
212
218
 
213
- - InputRuleWrapper
214
- - InputRuleHandler
215
- - OnHandlerApply
216
- - createRule
219
+ - InputRuleWrapper
220
+ - InputRuleHandler
221
+ - OnHandlerApply
222
+ - createRule
217
223
 
218
- These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
219
- 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( ... ))`).
220
226
 
221
- `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
227
+ `SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
222
228
 
223
- - createPlugin
224
- - createInputRulePlugin
229
+ - createPlugin
230
+ - createInputRulePlugin
225
231
 
226
- - Updated dependencies
232
+ - Updated dependencies
227
233
 
228
234
  ## 1.1.0
229
235
 
230
236
  ### Minor Changes
231
237
 
232
- - [#75114](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75114)
233
- [`393ee487af1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/393ee487af1e) -
234
- 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.
235
241
 
236
242
  ## 1.0.2
237
243
 
238
244
  ### Patch Changes
239
245
 
240
- - Updated dependencies
246
+ - Updated dependencies
241
247
 
242
248
  ## 1.0.1
243
249
 
244
250
  ### Patch Changes
245
251
 
246
- - [#73044](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73044)
247
- [`0fff4efc0417`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fff4efc0417) -
248
- [ux] ED-22131 Fixed selection placement when codeblock inserted through quick-insert inside
249
- panel
250
- - 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
251
256
 
252
257
  ## 1.0.0
253
258
 
254
259
  ### Major Changes
255
260
 
256
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
257
- [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
258
- This changeset exists to bump all editor plugins that currently don't have a major version. This
259
- 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.
260
265
 
261
266
  ### Patch Changes
262
267
 
263
- - Updated dependencies
268
+ - Updated dependencies
264
269
 
265
270
  ## 0.1.20
266
271
 
267
272
  ### Patch Changes
268
273
 
269
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
270
- [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
271
- 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
272
277
 
273
278
  ## 0.1.19
274
279
 
275
280
  ### Patch Changes
276
281
 
277
- - [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
278
- [`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
279
- Move all plugin translations to editor-common
280
- - 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
281
286
 
282
287
  ## 0.1.18
283
288
 
284
289
  ### Patch Changes
285
290
 
286
- - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
287
- [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
288
- 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
289
294
 
290
295
  ## 0.1.17
291
296
 
292
297
  ### Patch Changes
293
298
 
294
- - Updated dependencies
299
+ - Updated dependencies
295
300
 
296
301
  ## 0.1.16
297
302
 
298
303
  ### Patch Changes
299
304
 
300
- - [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
301
- [`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
302
- [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
303
308
 
304
309
  ## 0.1.15
305
310
 
306
311
  ### Patch Changes
307
312
 
308
- - [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
309
- [`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
310
- 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
311
316
 
312
317
  ## 0.1.14
313
318
 
314
319
  ### Patch Changes
315
320
 
316
- - [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
317
- [`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
318
- ED-21609 Update adf-schema to 35.3.0
319
- - 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
320
325
 
321
326
  ## 0.1.13
322
327
 
323
328
  ### Patch Changes
324
329
 
325
- - [#62880](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62880)
326
- [`a23ec26652ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a23ec26652ea) -
327
- 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
328
333
 
329
334
  ## 0.1.12
330
335
 
331
336
  ### Patch Changes
332
337
 
333
- - [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
334
- [`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
335
- [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
336
341
 
337
342
  ## 0.1.11
338
343
 
339
344
  ### Patch Changes
340
345
 
341
- - [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
342
- [`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
343
- 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
344
349
 
345
350
  ## 0.1.10
346
351
 
347
352
  ### Patch Changes
348
353
 
349
- - [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
350
- [`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
351
- 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
352
357
 
353
358
  ## 0.1.9
354
359
 
355
360
  ### Patch Changes
356
361
 
357
- - Updated dependencies
362
+ - Updated dependencies
358
363
 
359
364
  ## 0.1.8
360
365
 
361
366
  ### Patch Changes
362
367
 
363
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
364
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
365
- 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).
366
371
 
367
372
  ## 0.1.7
368
373
 
369
374
  ### Patch Changes
370
375
 
371
- - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
372
- [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
373
- 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
374
379
 
375
380
  ## 0.1.6
376
381
 
377
382
  ### Patch Changes
378
383
 
379
- - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
380
- [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
381
- 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
382
387
 
383
388
  ## 0.1.5
384
389
 
385
390
  ### Patch Changes
386
391
 
387
- - [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
388
- [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
389
- feature flags plugin optional in all plugins including:
390
-
391
- - analytics
392
- - base
393
- - card
394
- - code-block
395
- - expand
396
- - extension
397
- - floating-toolbar
398
- - hyperlink
399
- - insert-block
400
- - layout
401
- - layout
402
- - list
403
- - media
404
- - paste
405
- - rule
406
- - table
407
- - tasks-and-decisions
408
-
409
- We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
410
- 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.
411
416
 
412
417
  ## 0.1.4
413
418
 
414
419
  ### Patch Changes
415
420
 
416
- - [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
417
- [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) -
418
- 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
419
424
 
420
425
  ## 0.1.3
421
426
 
422
427
  ### Patch Changes
423
428
 
424
- - Updated dependencies
429
+ - Updated dependencies
425
430
 
426
431
  ## 0.1.2
427
432
 
428
433
  ### Patch Changes
429
434
 
430
- - Updated dependencies
435
+ - Updated dependencies
431
436
 
432
437
  ## 0.1.1
433
438
 
434
439
  ### Patch Changes
435
440
 
436
- - [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
437
- [`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) -
438
- ED-20763 Upgrade ADF schema version to 33.2.3 for MBE nodes.
439
- - 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.2",
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",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^36.10.7",
37
37
  "@atlaskit/code": "^15.2.0",
38
- "@atlaskit/editor-common": "^81.0.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",
@@ -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