@atlaskit/editor-plugin-code-block-advanced
Version:
CodeBlockAdvanced plugin for @atlaskit/editor-core
1,402 lines (810 loc) • 30.7 kB
Markdown
@atlaskit/editor-plugin-code-block-advanced
# 10.1.4
## Patch Changes
- Updated dependencies
# 10.1.3
## Patch Changes
- [`6b9ee34bdd875`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b9ee34bdd875) -
Fix wrapped code block first paint
- Updated dependencies
# 10.1.2
## Patch Changes
- Updated dependencies
# 10.1.1
## Patch Changes
- [`7e8145e6a7ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e8145e6a7ce6) -
Add ADF-backed code block line number visibility
- Updated dependencies
# 10.1.0
## Minor Changes
- [`f1eebdf4ed96b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1eebdf4ed96b) -
Autofix: add explicit package exports (barrel removal)
## Patch Changes
- Updated dependencies
# 10.0.20
## Patch Changes
- Updated dependencies
# 10.0.19
## Patch Changes
- Updated dependencies
# 10.0.18
## Patch Changes
- Updated dependencies
# 10.0.17
## Patch Changes
- [`ded95ac7efcc4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ded95ac7efcc4) -
Persist code block wrap state in ADF, default code blocks created across editor runtime paths to
wrapped, and update the wrap toolbar tooltip behind platform_editor_code_block_q4_lovability.
- Updated dependencies
# 10.0.16
## Patch Changes
- Updated dependencies
# 10.0.15
## Patch Changes
- Updated dependencies
# 10.0.14
## Patch Changes
- Updated dependencies
# 10.0.13
## Patch Changes
- [`2fb1c8a74a856`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2fb1c8a74a856) -
ADF Change 101: Add wrap and hideLineNumbers attributes to codeBlock stage-0 variants
- Updated dependencies
# 10.0.12
## Patch Changes
- Updated dependencies
# 10.0.11
## Patch Changes
- Updated dependencies
# 10.0.10
## Patch Changes
- Updated dependencies
# 10.0.9
## Patch Changes
- Updated dependencies
# 10.0.8
## Patch Changes
- Updated dependencies
# 10.0.7
## Patch Changes
- Updated dependencies
# 10.0.6
## Patch Changes
- Updated dependencies
# 10.0.5
## Patch Changes
- Updated dependencies
# 10.0.4
## Patch Changes
- Updated dependencies
# 10.0.3
## Patch Changes
- Updated dependencies
# 10.0.2
## Patch Changes
- Updated dependencies
# 10.0.1
## Patch Changes
- Updated dependencies
# 10.0.0
## Major Changes
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
## Patch Changes
- Updated dependencies
# 9.0.0
## Patch Changes
- Updated dependencies
# 8.0.31
## Patch Changes
- [`73b2fc243f544`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73b2fc243f544) -
Cleaning up getBrowserInfo which was behind experiment platform_editor_hydratable_ui and is now
rolled out
- Updated dependencies
# 8.0.30
## Patch Changes
- Updated dependencies
# 8.0.29
## Patch Changes
- Updated dependencies
# 8.0.28
## Patch Changes
- Updated dependencies
# 8.0.27
## Patch Changes
- Updated dependencies
# 8.0.26
## Patch Changes
- Updated dependencies
# 8.0.25
## Patch Changes
- Updated dependencies
# 8.0.24
## Patch Changes
- Updated dependencies
# 8.0.23
## Patch Changes
- Updated dependencies
# 8.0.22
## Patch Changes
- [`cdf5e30bb1541`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cdf5e30bb1541) -
Fix for edge case in firefox with prosemirror decorations being unsorted, ensures they are sorted
for diff decorations.
- Updated dependencies
# 8.0.21
## Patch Changes
- [`65e300b324e87`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/65e300b324e87) -
Remove feature flag platform_editor_fix_advanced_codeblocks_crlf - CRLF line separator fix is now
always enabled
- Updated dependencies
# 8.0.20
## Patch Changes
- Updated dependencies
# 8.0.19
## Patch Changes
- [`495e6f8060297`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/495e6f8060297) -
Cleanup feature flag platform_editor_a11y_code_block_gutter_focus_fix - always set tabindex="-1"
on code block fold gutter buttons for improved accessibility.
- Updated dependencies
# 8.0.18
## Patch Changes
- Updated dependencies
# 8.0.17
## Patch Changes
- Updated dependencies
# 8.0.16
## Patch Changes
- Updated dependencies
# 8.0.15
## Patch Changes
- Updated dependencies
# 8.0.14
## Patch Changes
- Updated dependencies
# 8.0.13
## Patch Changes
- [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
- Updated dependencies
# 8.0.12
## Patch Changes
- [`86fd5ef0f1d07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/86fd5ef0f1d07) -
Mechanical type-import autofix for text formatting editor plugins.
- Updated dependencies
# 8.0.11
## Patch Changes
- Updated dependencies
# 8.0.10
## Patch Changes
- Updated dependencies
# 8.0.9
## Patch Changes
- Updated dependencies
# 8.0.8
## Patch Changes
- Updated dependencies
# 8.0.7
## Patch Changes
- Updated dependencies
# 8.0.6
## Patch Changes
- Updated dependencies
# 8.0.5
## Patch Changes
- Updated dependencies
# 8.0.4
## Patch Changes
- Updated dependencies
# 8.0.3
## Patch Changes
- Updated dependencies
# 8.0.2
## Patch Changes
- Updated dependencies
# 8.0.1
## Patch Changes
- Updated dependencies
# 8.0.0
## Patch Changes
- Updated dependencies
# 7.1.26
## Patch Changes
- [`dd5154ad0dec5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dd5154ad0dec5) -
[A11Y-10416] Add ARIA role and roledescription to code blocks with experiment gate
- Updated dependencies
# 7.1.25
## Patch Changes
- Updated dependencies
# 7.1.24
## Patch Changes
- Updated dependencies
# 7.1.23
## Patch Changes
- Updated dependencies
# 7.1.22
## Patch Changes
- Updated dependencies
# 7.1.21
## Patch Changes
- Updated dependencies
# 7.1.20
## Patch Changes
- Updated dependencies
# 7.1.19
## Patch Changes
- Updated dependencies
# 7.1.18
## Patch Changes
- Updated dependencies
# 7.1.17
## Patch Changes
- Updated dependencies
# 7.1.16
## Patch Changes
- Updated dependencies
# 7.1.15
## Patch Changes
- Updated dependencies
# 7.1.14
## Patch Changes
- [`0dc0791c6e745`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0dc0791c6e745) -
Fix additional CRLF issues with advanced codeblocks. Behind
platform_editor_fix_advanced_codeblocks_crlf_patch gate.
- Updated dependencies
# 7.1.13
## Patch Changes
- Updated dependencies
# 7.1.12
## Patch Changes
- Updated dependencies
# 7.1.11
## Patch Changes
- Updated dependencies
# 7.1.10
## Patch Changes
- Updated dependencies
# 7.1.9
## Patch Changes
- Updated dependencies
# 7.1.8
## Patch Changes
- Updated dependencies
# 7.1.7
## Patch Changes
- Updated dependencies
# 7.1.6
## Patch Changes
- Updated dependencies
# 7.1.5
## Patch Changes
- Updated dependencies
# 7.1.4
## Patch Changes
- Updated dependencies
# 7.1.3
## Patch Changes
- [`3425184968470`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3425184968470) -
Fix aria-hidden-focus a11y violation by adding tabindex=-1 to fold gutter buttons
- Updated dependencies
# 7.1.2
## Patch Changes
- Updated dependencies
# 7.1.1
## Patch Changes
- [`e91ea1cbba89a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e91ea1cbba89a) -
JRACLOUD-96830: Fix navigating and editing codeblocks with CRLF new lines.
- Updated dependencies
# 7.1.0
## Minor Changes
- [`77341edf4fd78`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/77341edf4fd78) -
[EDITOR-3786] Added a new plugin `@atlaskit/editor-plugin-content-format`, and made
`@atlaskit/editor-plugin-code-block-advanced` have a dependancy on it. Removed the ResizeObserver
from `@atlaskit/editor-plugin-code-block-advanced` and replaced it with a way to observe changes
to the `contentMode`. Updated examples to update the state of the new plugin so that examples work
with the new behaviour.
## Patch Changes
- Updated dependencies
# 7.0.0
## Patch Changes
- Updated dependencies
# 6.2.19
## Patch Changes
- [`e9827c9930323`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e9827c9930323) -
NO-ISSUE, add missing gating of `confluence_compact_text_format` to advanced code blocks
experiment to reach parity with old cc_editor_ai_content_mode experiment.
- Updated dependencies
# 6.2.18
## Patch Changes
- Updated dependencies
# 6.2.17
## Patch Changes
- Updated dependencies
# 6.2.16
## Patch Changes
- [`53aef9589ca55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/53aef9589ca55) -
[EDITOR-3786] Make sure that for any check of `cc_editor_ai_content_mode` &&
`platform_editor_content_mode_button_mvp` in the code we are also checking
`confluence_compact_text_format`
- Updated dependencies
# 6.2.15
## Patch Changes
- Updated dependencies
# 6.2.14
## Patch Changes
- [`e3779b75fdeca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3779b75fdeca) -
EDITOR-1643 Promote syncBlock and bodiedSyncBlock to full schema
- Updated dependencies
# 6.2.13
## Patch Changes
- Updated dependencies
# 6.2.12
## Patch Changes
- [`43d1dfc88c1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43d1dfc88c1de) -
Clean up platform_editor_block_menu_format_rank_revised
- Updated dependencies
# 6.2.11
## Patch Changes
- [`459eb2064ff46`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/459eb2064ff46) -
Remove block menu dependency from code block advanced.
- Updated dependencies
# 6.2.10
## Patch Changes
- [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
EDITOR-2791 bump adf-schema
- Updated dependencies
# 6.2.9
## Patch Changes
- Updated dependencies
# 6.2.8
## Patch Changes
- Updated dependencies
# 6.2.7
## Patch Changes
- [`3649625800804`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3649625800804) -
Fix the codeblock shift on initial load
# 6.2.6
## Patch Changes
- Updated dependencies
# 6.2.5
## Patch Changes
- [`21fe79119fe74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21fe79119fe74) -
EDITOR-2447 Bump adf-schema to 51.3.2
- Updated dependencies
# 6.2.4
## Patch Changes
- [`c28cd65d12c24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c28cd65d12c24) -
EDITOR-2447 Bump adf-schema to 51.3.1
- Updated dependencies
# 6.2.3
## Patch Changes
- Updated dependencies
# 6.2.2
## Patch Changes
- [`b4284749422b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b4284749422b0) -
[ux] Fix the code block gutter alignment issue when toggling content mode
- Updated dependencies
# 6.2.1
## Patch Changes
- [`2a658b46713fb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a658b46713fb) -
upgrade use of browser util
- Updated dependencies
# 6.2.0
## Minor Changes
- [`5167552fe1a93`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5167552fe1a93) -
[EDITOR-2339] Bump @atlaskit/adf-schema to 51.3.0
## Patch Changes
- [`685d27211d400`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/685d27211d400) -
[ux] Adjust codeblock font size relative to parent
- Updated dependencies
# 6.1.2
## Patch Changes
- Updated dependencies
# 6.1.1
## Patch Changes
- Updated dependencies
# 6.1.0
## Minor Changes
- [`0ac75e0d28c72`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ac75e0d28c72) -
Migrate @atlaskit/editor-prosemirror/history to @atlaskit/prosemirror-history package
## Patch Changes
- Updated dependencies
# 6.0.10
## Patch Changes
- [`26917199e153a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26917199e153a) -
ED-29473 Add inputMethod attribute for block menu opened and switch inputMethod and triggeredFrom
attributes for element converted event
- Updated dependencies
# 6.0.9
## Patch Changes
- Updated dependencies
# 6.0.8
## Patch Changes
- [`ea4cb74c395ce`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ea4cb74c395ce) -
[ux] Adds markdown language support to code blocks
- Updated dependencies
# 6.0.7
## Patch Changes
- Updated dependencies
# 6.0.6
## Patch Changes
- Updated dependencies
# 6.0.5
## Patch Changes
- Updated dependencies
# 6.0.4
## Patch Changes
- [`d24d26320c940`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d24d26320c940) -
FD-100510 clean up fg platform_editor_breakout_resizing_hello_release
- Updated dependencies
# 6.0.3
## Patch Changes
- Updated dependencies
# 6.0.2
## Patch Changes
- [`51d46145cda56`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51d46145cda56) -
Adds additional attributes to Element Converted event and fires the event for the empty line
transforms
- Updated dependencies
# 6.0.1
## Patch Changes
- Updated dependencies
# 6.0.0
## Patch Changes
- Updated dependencies
# 5.3.0
## Minor Changes
- [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
EDITOR-1566 bump adf-schema + update validator
## Patch Changes
- Updated dependencies
# 5.2.3
## Patch Changes
- [`b878645133984`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b878645133984) -
[ux] Adds revised ranks to use in Turn into menu. It will group the headings together at the top
of the menu.
- Updated dependencies
# 5.2.2
## Patch Changes
- [`842f254deb366`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/842f254deb366) -
clean up platform_editor_code_syntax_highlight_actionscript
- Updated dependencies
# 5.2.1
## Patch Changes
- Updated dependencies
# 5.2.0
## Minor Changes
- [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
EDITOR-1562 bump adf-schema for afm
## Patch Changes
- Updated dependencies
# 5.1.0
## Minor Changes
- [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
EDITOR-1568 bump adf-schema for afm
## Patch Changes
- Updated dependencies
# 5.0.1
## Patch Changes
- Updated dependencies
# 5.0.0
## Patch Changes
- Updated dependencies
# 4.0.4
## Patch Changes
- [`e239c0974b8dc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e239c0974b8dc) -
EDITOR-1464 Use codeBlockWithLocalId and add local-id attribute to dom output.
- Updated dependencies
# 4.0.3
## Patch Changes
- Updated dependencies
# 4.0.2
## Patch Changes
- [`255837cfba315`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
Internal changes to how border radius is applied.
- Updated dependencies
# 4.0.1
## Patch Changes
- Updated dependencies
# 4.0.0
## Patch Changes
- [`e882e86092666`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e882e86092666) -
[ux] Register expand, layout and code block itmes in block menu. Update panel item.
- Updated dependencies
# 3.2.4
## Patch Changes
- [`a2cd8c46a3e94`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2cd8c46a3e94) -
EDITOR-1442 Bump adf-schema
- Updated dependencies
# 3.2.3
## Patch Changes
- [`0ff4a6c7a39ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ff4a6c7a39ef) -
Creates global fold state to retain folds after breakouts and page resizing
- Updated dependencies
# 3.2.2
## Patch Changes
- [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
Sorted type and interface props to improve Atlaskit docs
- Updated dependencies
# 3.2.1
## Patch Changes
- [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
EDITOR-1373 Bump adf-schema version
- Updated dependencies
# 3.2.0
## Minor Changes
- [`ed1db63e29a76`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ed1db63e29a76) -
[ux] Editor: add basic syntax highlighting for actionscript inside code block
## Patch Changes
- Updated dependencies
# 3.1.2
## Patch Changes
- Updated dependencies
# 3.1.1
## Patch Changes
- Updated dependencies
# 3.1.0
## Minor Changes
- [#199487](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199487)
[`9146513a60d45`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9146513a60d45) -
Add a new experiment for code folding in the editor.
## Patch Changes
- Updated dependencies
# 3.0.7
## Patch Changes
- [#195649](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/195649)
[`231bb33e06dfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/231bb33e06dfe) -
EDITOR-1131 Bump adf-schema version to 50.2.0
- Updated dependencies
# 3.0.6
## Patch Changes
- Updated dependencies
# 3.0.5
## Patch Changes
- [#194707](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/194707)
[`03234d0ecc5a6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/03234d0ecc5a6) -
Cleanup feature gate to fix right click in code blocks
- Updated dependencies
# 3.0.4
## Patch Changes
- [#191913](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/191913)
[`6d1e56695e91d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d1e56695e91d) -
EDITOR-1131 Bump adf-schema package to 50.0.0
- [#193159](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193159)
[`b004f44506551`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b004f44506551) -
[ED-28680] Fix a11y violation for aria-input-field-name in advanced code blocks
- Updated dependencies
# 3.0.3
## Patch Changes
- [#187144](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187144)
[`a16147d8fbdfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a16147d8fbdfe) -
Bump @atlaskit/adf-schema to v49.0.5
- Updated dependencies
# 3.0.2
## Patch Changes
- Updated dependencies
# 3.0.1
## Patch Changes
- [#182587](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/182587)
[`ab1ee31f25e9c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ab1ee31f25e9c) -
Fixes issue where right click menu would select entire code block.
- Updated dependencies
# 3.0.0
## Major Changes
- [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024)
[`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ##
Make `@atlaskit/editor-common` a peer dependency
**WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in
all editor plugin packages.
**WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in
consuming applications, preventing issues caused by multiple versions of singleton libraries (such
as context mismatches or duplicated state). This is especially important for packages that rely on
shared context or singletons.
**HOW TO ADJUST:**
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
any of these editor plugins.
- Ensure the version you install matches the version required by the plugins.
- You can use the
[`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to
verify that all required peer dependencies are installed and compatible.
- Example install command:
```
npm install @atlaskit/editor-common
```
or
```
yarn add @atlaskit/editor-common
```
**Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the
application level, you may see errors or unexpected behavior.
## Patch Changes
- Updated dependencies
# 2.4.0
## Minor Changes
- [#175595](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175595)
[`b041b53e6615d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b041b53e6615d) -
ED-28347 bubble dragenter event from adv code block
## Patch Changes
- Updated dependencies
# 2.3.5
## Patch Changes
- Updated dependencies
# 2.3.4
## Patch Changes
- Updated dependencies
# 2.3.3
## Patch Changes
- [#172642](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/172642)
[`4742ad40d0dde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4742ad40d0dde) -
[ux] Fixes height of the new resize handle when a code block is the first node in the document.
# 2.3.2
## Patch Changes
- Updated dependencies
# 2.3.1
## Patch Changes
- Updated dependencies
# 2.3.0
## Minor Changes
- [#166502](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166502)
[`ea1ed63fc9615`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ea1ed63fc9615) -
ED-28032 add keyboard shortcuts for new resizing experience behind
platform_editor_breakout_resizing
# 2.2.13
## Patch Changes
- Updated dependencies
# 2.2.12
## Patch Changes
- Updated dependencies
# 2.2.11
## Patch Changes
- [#158523](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/158523)
[`3fe5dff3f49a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3fe5dff3f49a5) -
Triple click should select entire code block.
- Updated dependencies
# 2.2.10
## Patch Changes
- [#156937](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156937)
[`0a144ecb9fd2b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a144ecb9fd2b) -
[ux] Improve the syntax highlighting for diff language.
- Updated dependencies
# 2.2.9
## Patch Changes
- [#156363](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156363)
[`fa74bacdec758`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fa74bacdec758) -
Reduce number of codemirror transactions fired for performance.
- Updated dependencies
# 2.2.8
## Patch Changes
- Updated dependencies
# 2.2.7
## Patch Changes
- [#153048](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/153048)
[`3ed1cacec6ad5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3ed1cacec6ad5) -
[ux] Fix small gutter flicker on load
# 2.2.6
## Patch Changes
- [#152049](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152049)
[`a2bdf059329e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2bdf059329e8) -
Add support for Gherkin language to code
# 2.2.5
## Patch Changes
- Updated dependencies
# 2.2.4
## Patch Changes
- [#149738](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149738)
[`3098e65159385`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3098e65159385) -
Fix selection when the editor is disabled.
# 2.2.3
## Patch Changes
- [#142712](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142712)
[`6eb10c572bdad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6eb10c572bdad) -
[ux] Improve syntax highlighting for yaml.
- Updated dependencies
# 2.2.2
## Patch Changes
- [#139592](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139592)
[`fe3dc07ed6ab8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fe3dc07ed6ab8) -
Fixes a selection bug on chrome if there are multiple code blocks at the start of a document
# 2.2.1
## Patch Changes
- Updated dependencies
# 2.2.0
## Minor Changes
- [#137683](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137683)
[`c1020ef8cdf87`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1020ef8cdf87) -
Adds support for Handlebars syntax highlighting.
## Patch Changes
- [#137043](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137043)
[`616c9cd4a2c60`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/616c9cd4a2c60) -
Fix line wrapping and decorations being lost on breakout in advanced codeblocks
- Updated dependencies
# 2.1.4
## Patch Changes
- [#136263](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/136263)
[`602e9a7824b0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/602e9a7824b0c) -
Fix editor crashing with advanced code blocks due to infinite codemirror loop with decorations
when changing breakout.
- Updated dependencies
# 2.1.3
## Patch Changes
- Updated dependencies
# 2.1.2
## Patch Changes
- [#122467](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122467)
[`c8953846d7bc3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8953846d7bc3) -
Fix copying the code block on safari.
# 2.1.1
## Patch Changes
- Updated dependencies
# 2.1.0
## Minor Changes
- [#120472](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120472)
[`73c800ab5f2fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73c800ab5f2fc) -
ED-26766 update adf-schema from 47.2.1 to 47.6.0 and adf-schema-json from 1.27.0 to 1.31.0
## Patch Changes
- Updated dependencies
# 2.0.0
## Major Changes
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
status of only supporting React 18 going forward. No explicit breaking change to React support has
been made in this release, but this is to signify going forward, breaking changes for React 16 or
React 17 may come via non-major semver releases.
Please refer this community post for more details:
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
## Patch Changes
- Updated dependencies
# 1.1.2
## Patch Changes
- [#112186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112186)
[`9462d8ca2405a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9462d8ca2405a) -
Bump adf-schema to 47.2.1
# 1.1.1
## Patch Changes
- [#113094](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113094)
[`b7cb7ca6cd1e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b7cb7ca6cd1e0) -
Stop auto-scrolling on large code blocks from prosemirror.
# 1.1.0
## Minor Changes
- [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
[`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
Bumped editor-prosemirror version to 7.0.0
## Patch Changes
- Updated dependencies
# 1.0.3
## Patch Changes
- [#107185](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107185)
[`f0dd5f5bd4d4e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f0dd5f5bd4d4e) -
[ux] Sync all prosemirror decorations with codemirror decorations.
- Updated dependencies
# 1.0.2
## Patch Changes
- [#105726](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105726)
[`2eb0f22c4b065`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2eb0f22c4b065) -
[ux] Fix toDOM implementation whitespace with 100+ lines of code
- [#103918](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103918)
[`29844093c6ab4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/29844093c6ab4) -
Expose new shared state for code block plugin which indicates the current node that the copy text
button is hovered for. Display highlight decorations for the copy text button in the advanced code
block plugin.
- Updated dependencies
# 1.0.1
## Patch Changes
- [#102828](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102828)
[`e9e0bd7d3c706`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9e0bd7d3c706) -
[ux] Ensure lazy node view matches code block advanced snippet so there is no layout shift.
# 1.0.0
## Major Changes
- [#100411](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100411)
[`14499ab145534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14499ab145534) -
[ux] Introduces advanced code block as per:
https://hello.atlassian.net/wiki/spaces/EDITOR/pages/4632293323/Editor+RFC+063+Advanced+code+blocks.
This can be added to an existing editor preset to enrich the code block experience with syntax
highlighting and can be extended for other features via CodeMirror extensions (ie. autocompletion,
code folding etc.).