UNPKG

@atlaskit/editor-plugin-code-block

Version:

Code block plugin for @atlaskit/editor-core

2,155 lines (1,259 loc) 69.5 kB
# @atlaskit/editor-plugin-code-block ## 14.1.5 ### Patch Changes - [`a07646d6c829b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a07646d6c829b) - Fix code block language selection analytics attributes - Updated dependencies ## 14.1.4 ### Patch Changes - Updated dependencies ## 14.1.3 ### Patch Changes - Updated dependencies ## 14.1.2 ### Patch Changes - Updated dependencies ## 14.1.1 ### Patch Changes - [`5bb7d8aa14c4e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5bb7d8aa14c4e) - Fix code block language picker trigger height in legacy toolbar - [`49b8e9a322976`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/49b8e9a322976) - Reduce q4 lovability experiment exposure noise in code block setup and bookkeeping paths - Updated dependencies ## 14.1.0 ### Minor Changes - [`b483e293da76f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b483e293da76f) - Add a gated `isSuggested` attribute to block menu element transformed analytics events so suggested and non-suggested transform selections can be distinguished. The event attribute is gated behind the `platform_editor_blocks_patch_2` feature gate. ### Patch Changes - [`64a0b50380570`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64a0b50380570) - - Improve TypeScript auto-detection for class fields and typed arrow function params/return types. - Avoid unnecessary code block node updates when auto-detection re-detects the same language. - Prevent wrap toggles from scrolling long code blocks to the top. - Keep the language picker placement stable while it is open. - Reset language picker search state on reopen so recent selections are not reported as search selections. - Prevent language picker close/selection from scrolling partially visible code blocks while restoring editor focus. - Add auto-detection analytics metadata to distinguish initial detection from re-detection. - Updated dependencies ## 14.0.6 ### Patch Changes - Updated dependencies ## 14.0.5 ### Patch Changes - Updated dependencies ## 14.0.4 ### Patch Changes - Updated dependencies ## 14.0.3 ### Patch Changes - Updated dependencies ## 14.0.2 ### Patch Changes - Updated dependencies ## 14.0.1 ### Patch Changes - [`4543a53261907`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4543a53261907) - Fix code block language picker behaviour for auto-detection state, cap the picker trigger width, keep detected labels stable across toolbar updates, and avoid selecting the whole code block when dragging across multiple code lines. - Updated dependencies ## 14.0.0 ### Major Changes - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ### Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**. Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist. Types are now exclusively via the `"types": "dist/types/index.d.ts"` property. ```diff - "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - }, ``` ### Patch Changes - [`81545f4d0e189`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81545f4d0e189) - Add code block format provider plumbing for Confluence editor presets and align code block formatting state with the shared provider result type. - Updated dependencies ## 13.1.17 ### Patch Changes - Updated dependencies ## 13.1.16 ### Patch Changes - Updated dependencies ## 13.1.15 ### Patch Changes - Updated dependencies ## 13.1.14 ### Patch Changes - Updated dependencies ## 13.1.13 ### Patch Changes - [`ff0d47c808e14`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff0d47c808e14) - Add provider-based opt-in for the code block formatting button. ## 13.1.12 ### Patch Changes - Updated dependencies ## 13.1.11 ### Patch Changes - Updated dependencies ## 13.1.10 ### Patch Changes - Updated dependencies ## 13.1.9 ### Patch Changes - Updated dependencies ## 13.1.8 ### Patch Changes - Updated dependencies ## 13.1.7 ### Patch Changes - [`38d753a24e9ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38d753a24e9ad) - Promote code block wrap and line number attrs to the full ADF schema - Updated dependencies ## 13.1.6 ### Patch Changes - [`5dd8cc218e393`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5dd8cc218e393) - Release packages affected by an issue blocking you from installing <@compiled>/react due to a yarn patch. - Updated dependencies ## 13.1.5 ### Patch Changes - Updated dependencies ## 13.1.4 ### Patch Changes - Updated dependencies ## 13.1.3 ### Patch Changes - Updated dependencies ## 13.1.2 ### Patch Changes - Updated dependencies ## 13.1.1 ### Patch Changes - [`44ba0da4e85d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/44ba0da4e85d7) - Gate the code block formatting button behind platform_editor_code_block_formatting - Updated dependencies ## 13.1.0 ### Minor Changes - [`75daf19dd12b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/75daf19dd12b0) - Add format code control for code blocks ### Patch Changes - Updated dependencies ## 13.0.1 ### Patch Changes - [`3e2877f105afc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e2877f105afc) - Gate code block auto-detection behind the q4 lovability experiment and platform_editor_code_block_language_detection_flow kill switch. - Updated dependencies ## 13.0.0 ### Patch Changes - Updated dependencies ## 12.1.11 ### Patch Changes - [`52a08b0d14e39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/52a08b0d14e39) - Add code block language auto-detection experiment - Updated dependencies ## 12.1.10 ### Patch Changes - Updated dependencies ## 12.1.9 ### Patch Changes - Updated dependencies ## 12.1.8 ### Patch Changes - Updated dependencies ## 12.1.7 ### Patch Changes - [`a0dc04472d27b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0dc04472d27b) - Add recently used code block languages and analytics metadata - Updated dependencies ## 12.1.6 ### Patch Changes - Updated dependencies ## 12.1.5 ### Patch Changes - [`47e7189edb428`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/47e7189edb428) - Refresh code block language picker UI - Updated dependencies ## 12.1.4 ### Patch Changes - Updated dependencies ## 12.1.3 ### Patch Changes - Updated dependencies ## 12.1.2 ### Patch Changes - Updated dependencies ## 12.1.1 ### Patch Changes - [`7e8145e6a7ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7e8145e6a7ce6) - Add ADF-backed code block line number visibility - Updated dependencies ## 12.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 ## 12.0.20 ### Patch Changes - Updated dependencies ## 12.0.19 ### Patch Changes - Updated dependencies ## 12.0.18 ### Patch Changes - Updated dependencies ## 12.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 ## 12.0.16 ### Patch Changes - Updated dependencies ## 12.0.15 ### Patch Changes - Updated dependencies ## 12.0.14 ### Patch Changes - Updated dependencies ## 12.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 ## 12.0.12 ### Patch Changes - Updated dependencies ## 12.0.11 ### Patch Changes - Updated dependencies ## 12.0.10 ### Patch Changes - Updated dependencies ## 12.0.9 ### Patch Changes - Updated dependencies ## 12.0.8 ### Patch Changes - Updated dependencies ## 12.0.7 ### Patch Changes - Updated dependencies ## 12.0.6 ### Patch Changes - Updated dependencies ## 12.0.5 ### Patch Changes - Updated dependencies ## 12.0.4 ### Patch Changes - Updated dependencies ## 12.0.3 ### Patch Changes - Updated dependencies ## 12.0.2 ### Patch Changes - Updated dependencies ## 12.0.1 ### Patch Changes - Updated dependencies ## 12.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 ## 11.0.0 ### Patch Changes - Updated dependencies ## 10.0.34 ### Patch Changes - [`1bd298ad0a152`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1bd298ad0a152) - [ux] EDITOR-6280 Clean up platform_editor_block_menu_v2_patch_3 to fix icon and copy in jira block menu - Updated dependencies ## 10.0.33 ### 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 ## 10.0.32 ### Patch Changes - Updated dependencies ## 10.0.31 ### Patch Changes - Updated dependencies ## 10.0.30 ### Patch Changes - Updated dependencies ## 10.0.29 ### Patch Changes - [`48a64b7bbac82`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/48a64b7bbac82) - Clean up stale experiment platform_editor_plain_text_support (always-enabled path) - Updated dependencies ## 10.0.28 ### Patch Changes - Updated dependencies ## 10.0.27 ### Patch Changes - Updated dependencies ## 10.0.26 ### Patch Changes - Updated dependencies ## 10.0.25 ### Patch Changes - Updated dependencies ## 10.0.24 ### Patch Changes - [`ce68e4cf353de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ce68e4cf353de) - Clean up feature gate `editor_a11y_remove_unwrap_button` - always show 'Turn on wrap' as the wrap button title (final value: true). - Updated dependencies ## 10.0.23 ### Patch Changes - Updated dependencies ## 10.0.22 ### Patch Changes - Updated dependencies ## 10.0.21 ### 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 - Updated dependencies ## 10.0.16 ### Patch Changes - Updated dependencies ## 10.0.15 ### 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 ## 10.0.14 ### Patch Changes - [`86fd5ef0f1d07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/86fd5ef0f1d07) - Mechanical type-import autofix for text formatting editor plugins. ## 10.0.13 ### Patch Changes - Updated dependencies ## 10.0.12 ### Patch Changes - Updated dependencies ## 10.0.11 ### Patch Changes - Updated dependencies ## 10.0.10 ### Patch Changes - [`9ed32aea2c1d3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9ed32aea2c1d3) - Replace feature experiment util with cross platform alternative for platform_editor_block_menu - 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 ### Patch Changes - Updated dependencies ## 9.1.1 ### Patch Changes - Updated dependencies ## 9.1.0 ### Minor Changes - [`f444a0d3e2c0b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f444a0d3e2c0b) - [FFCLEANUP-79468] clean up platform_editor_dec_a11y_fixes feature gate ### Patch Changes - Updated dependencies ## 9.0.27 ### Patch Changes - Updated dependencies ## 9.0.26 ### Patch Changes - Updated dependencies ## 9.0.25 ### Patch Changes - Updated dependencies ## 9.0.24 ### Patch Changes - Updated dependencies ## 9.0.23 ### Patch Changes - Updated dependencies ## 9.0.22 ### Patch Changes - Updated dependencies ## 9.0.21 ### Patch Changes - Updated dependencies ## 9.0.20 ### Patch Changes - [`7ea2e225c0abb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7ea2e225c0abb) - [ux] Minor styling, wording changes for block menu and sync blocks - Updated dependencies ## 9.0.19 ### Patch Changes - Updated dependencies ## 9.0.18 ### Patch Changes - Updated dependencies ## 9.0.17 ### Patch Changes - Updated dependencies ## 9.0.16 ### Patch Changes - Updated dependencies ## 9.0.15 ### Patch Changes - Updated dependencies ## 9.0.14 ### Patch Changes - Updated dependencies ## 9.0.13 ### Patch Changes - Updated dependencies ## 9.0.12 ### Patch Changes - Updated dependencies ## 9.0.11 ### Patch Changes - Updated dependencies ## 9.0.10 ### Patch Changes - Updated dependencies ## 9.0.9 ### Patch Changes - Updated dependencies ## 9.0.8 ### Patch Changes - Updated dependencies ## 9.0.7 ### Patch Changes - Updated dependencies ## 9.0.6 ### Patch Changes - Updated dependencies ## 9.0.5 ### Patch Changes - Updated dependencies ## 9.0.4 ### Patch Changes - Updated dependencies ## 9.0.3 ### Patch Changes - Updated dependencies ## 9.0.2 ### Patch Changes - [`b909e5f47ea91`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b909e5f47ea91) - EDITOR-4159 Make sure block-menu-item type component return null when tranform disabled - Updated dependencies ## 9.0.1 ### Patch Changes - Updated dependencies ## 9.0.0 ### Patch Changes - Updated dependencies ## 8.1.27 ### Patch Changes - [`3693402165994`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3693402165994) - ENGHEALTH-47506: fix a11y lint warning - Updated dependencies ## 8.1.26 ### Patch Changes - [`9cb0ce7857313`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9cb0ce7857313) - Fix const name. - Updated dependencies ## 8.1.25 ### Patch Changes - [`b5d004bf834f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b5d004bf834f8) - [ux] Adds block menu action to check if 'Turn into' item should be rendered or not. - Updated dependencies ## 8.1.24 ### Patch Changes - Updated dependencies ## 8.1.23 ### Patch Changes - Updated dependencies ## 8.1.22 ### Patch Changes - [`9f03725ffb7b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f03725ffb7b8) - Removing feature flag with changing internal use of custom icons. - Updated dependencies ## 8.1.21 ### Patch Changes - [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) - Icon entrypoint migration - Updated dependencies ## 8.1.20 ### Patch Changes - Updated dependencies ## 8.1.19 ### Patch Changes - [`e3779b75fdeca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e3779b75fdeca) - EDITOR-1643 Promote syncBlock and bodiedSyncBlock to full schema - Updated dependencies ## 8.1.18 ### Patch Changes - [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) - tsignores added for help-center local consumpton removed - Updated dependencies ## 8.1.17 ### Patch Changes - [`bd911d5eca1cb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd911d5eca1cb) - Use new transfromNode command in existing block menu items. Update transformNode analytics type. - Updated dependencies ## 8.1.16 ### Patch Changes - Updated dependencies ## 8.1.15 ### Patch Changes - Updated dependencies ## 8.1.14 ### Patch Changes - [`56c0427b2ab20`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/56c0427b2ab20) - [ux] Use new IA for block menu items. - Updated dependencies ## 8.1.13 ### Patch Changes - [`43d1dfc88c1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43d1dfc88c1de) - Clean up platform_editor_block_menu_format_rank_revised - Updated dependencies ## 8.1.12 ### Patch Changes - [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) - ts-ignore added temporarily to unblock local consumption for help-center, will be removed once project refs are setup - Updated dependencies ## 8.1.11 ### Patch Changes - [`8854ad2383b33`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8854ad2383b33) - Suppress no-literal-string-in-jsx - Updated dependencies ## 8.1.10 ### Patch Changes - [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) - EDITOR-2791 bump adf-schema - Updated dependencies ## 8.1.9 ### Patch Changes - Updated dependencies ## 8.1.8 ### Patch Changes - Updated dependencies ## 8.1.7 ### Patch Changes - Updated dependencies ## 8.1.6 ### Patch Changes - [`21fe79119fe74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21fe79119fe74) - EDITOR-2447 Bump adf-schema to 51.3.2 - Updated dependencies ## 8.1.5 ### Patch Changes - [`c28cd65d12c24`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c28cd65d12c24) - EDITOR-2447 Bump adf-schema to 51.3.1 - Updated dependencies ## 8.1.4 ### Patch Changes - Updated dependencies ## 8.1.3 ### Patch Changes - Updated dependencies ## 8.1.2 ### Patch Changes - [`a4fbfc862e34f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4fbfc862e34f) - [ux] ED-29557 Clean up plain text quick insert as it's not needed - Updated dependencies ## 8.1.1 ### Patch Changes - [`2a658b46713fb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a658b46713fb) - upgrade use of browser util ## 8.1.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 - Updated dependencies ## 8.0.14 ### Patch Changes - Updated dependencies ## 8.0.13 ### Patch Changes - [`9674ede5cd0bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9674ede5cd0bf) - ED-29547 fg cleanup editor_code_wrapping_perf_improvement_ed-25141 ## 8.0.12 ### Patch Changes - [`b6824e1dfce8e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b6824e1dfce8e) - ED-29505 Add analytics for plain text code block inserted - Updated dependencies ## 8.0.11 ### Patch Changes - [`76178d0e6e20d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76178d0e6e20d) - [ux] ED-29503 Update createInsertCodeBlockTransaction to pass in attributes when creating a new node - Updated dependencies ## 8.0.10 ### Patch Changes - Updated dependencies ## 8.0.9 ### Patch Changes - [`a4db0a2351f7d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4db0a2351f7d) - [ux] ED-29502 Add plain text quick insert option to codeBlockPlugin - Updated dependencies ## 8.0.8 ### 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 ## 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 - [`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 ## 8.0.1 ### Patch Changes - Updated dependencies ## 8.0.0 ### Patch Changes - Updated dependencies ## 7.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 ## 7.2.2 ### 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 ## 7.2.1 ### Patch Changes - Updated dependencies ## 7.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 ## 7.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 ## 7.0.1 ### Patch Changes - Updated dependencies ## 7.0.0 ### Patch Changes - Updated dependencies ## 6.1.0 ### Minor Changes - [`c0113eeccb2df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c0113eeccb2df) - [ux] ED-29120 add a new config option for default editor preset (`toolbar.enableNewToolbarExperience`) which allows the new toolbar to be disabled. This is needed for editors that can't be excluded at the experiment level. ### Patch Changes - Updated dependencies ## 6.0.2 ### Patch Changes - Updated dependencies ## 6.0.1 ### Patch Changes - Updated dependencies ## 6.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 ## 5.0.14 ### Patch Changes - [`a2cd8c46a3e94`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2cd8c46a3e94) - EDITOR-1442 Bump adf-schema - Updated dependencies ## 5.0.13 ### Patch Changes - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) - Sorted type and interface props to improve Atlaskit docs - Updated dependencies ## 5.0.12 ### Patch Changes - Updated dependencies ## 5.0.11 ### Patch Changes - [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) - EDITOR-1373 Bump adf-schema version - Updated dependencies ## 5.0.10 ### Patch Changes - [`25ec3e3638f52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/25ec3e3638f52) - Cleanup advanced code block experiment - Updated dependencies ## 5.0.9 ### Patch Changes - Updated dependencies ## 5.0.8 ### Patch 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. - Updated dependencies ## 5.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 ## 5.0.6 ### Patch Changes - Updated dependencies ## 5.0.5 ### 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 - Updated dependencies ## 5.0.4 ### Patch Changes - [#188597](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188597) [`4de5a96f3e24c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4de5a96f3e24c) - [ED-28523] Enable new editor element toolbars UI for Jira - Updated dependencies ## 5.0.3 ### Patch Changes - [#185723](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185723) [`751aeb4580469`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/751aeb4580469) - ED-28315 clean up fg platform_editor_controls_patch_13 ## 5.0.2 ### 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 ## 5.0.1 ### Patch Changes - Updated dependencies ## 5.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 ## 4.4.16 ### Patch Changes - [#173895](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173895) [`6e123631d7c26`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e123631d7c26) - Clean up platform_editor_interaction_api_refactor - Updated dependencies ## 4.4.15 ### Patch Changes - Updated dependencies ## 4.4.14 ### Patch Changes - [#173876](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173876) [`005f713fb3e5b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/005f713fb3e5b) - Clean up platform_editor_interaction_on_code_blocks - Updated dependencies ## 4.4.13 ### Patch Changes - Updated dependencies ## 4.4.12 ### Patch Changes - Updated dependencies ## 4.4.11 ### Patch Changes - Updated dependencies ## 4.4.10 ### Patch Changes - [#166652](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166652) [`6a35dedfa94ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6a35dedfa94ef) - ED-27806 Move copy and delete button in codeblock floating toolbar to overflow menu - Updated dependencies ## 4.4.9 ### Patch Changes - Updated dependencies ## 4.4.8 ### Patch Changes - [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113) [`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) - Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2 - Updated dependencies ## 4.4.7 ### Patch Changes - Updated dependencies ## 4.4.6 ### Patch Changes - Updated dependencies ## 4.4.5 ### Patch Changes - Updated dependencies ## 4.4.4 ### Patch Changes - [#156585](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156585) [`a63da8fac528b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a63da8fac528b) - [ux] [ED-27962] Code block will now trigger interaction state - Updated dependencies ## 4.4.3 ### Patch Changes - Updated dependencies ## 4.4.2 ### Patch Changes - Updated dependencies ## 4.4.1 ### Patch Changes - [#149482](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149482) [`1f1f73876c3c8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f1f73876c3c8) - ED-27860 Add analytics for copy and delete button in floating toolbars - Updated dependencies ## 4.4.0 ### Minor Changes - [#141575](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141575) [`4639ea2b9bab0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4639ea2b9bab0) - Adds support for overriding language names in the code block language list. ### Patch Changes - Updated dependencies ## 4.3.0 ### Minor Changes - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139) [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) - [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new `@atlassian/confluence-presets` package with Confluence `full-page` preset is created ### Patch Changes - Updated dependencies ## 4.2.8 ### Patch Changes - Updated dependencies ## 4.2.7 ### 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 ## 4.2.6 ### Patch Changes - Updated dependencies ## 4.2.5 ### Patch Changes - [#133457](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/133457) [`3feb915ee0488`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3feb915ee0488) - [ux] A11Y-10108 fixing Inappropriate accessible name for code block wrap toggle button - Updated dependencies ## 4.2.4 ### Patch Changes - [#134378](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134378) [`210a48c778086`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/210a48c778086) - EDITOR-546 Cleaned up platform_editor_cmd_a_progressively_select_nodes to revert to control behaviour. - Updated dependencies ## 4.2.3 ### Patch Changes - [#131493](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131493) [`3bc29223cad42`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3bc29223cad42) - ENGHEALTH-23697 Iconography update for editor-plugin-code-block ## 4.2.2 ### Patch Changes - Updated dependencies ## 4.2.1 ### Patch Changes - Updated dependencies ## 4.2.0 ### Minor Changes - [#124688](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/124688) [`9b1137bda6f87`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9b1137bda6f87) - [ux] ED-25486 Updates cmd+a behaviour to progressively select nodes behind platform_editor_cmd_a_progressively_select_nodes experiment. ### Patch Changes - Updated dependencies ## 4.1.2 ### Patch Changes - Updated dependencies ## 4.1.1 ### Patch Changes - Updated dependencies ## 4.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 ## 4.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 ## 3.7.1 ### 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 ## 3.7.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 ## 3.6.2 ### Patch Changes - [#107782](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107782) [`bc422d0adbbb5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc422d0adbbb5) - [ux] ED-26378 remove editor_nest_media_and_codeblock_in_quotes_jira - [#107782](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107782) [`cccc7a8347929`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cccc7a8347929) - [ux] ED-26378 Remove editor_nest_media_and_codeblock_in_quotes_jira and nestMediaAndCodeblockInQuote ## 3.6.1 ### Patch Changes - Updated dependencies ## 3.6.0 ### Minor Changes - [#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. ### Patch Changes - Updated dependencies ## 3.5.16 ### Patch 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.). ## 3.5.15 ### Patch Changes - Updated dependencies ## 3.5.14 ### Patch Changes - [#98963](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98963) [`3638dcf79b6c7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3638dcf79b6c7) - ED-26126 Cleanup code wrapping language bug fg ## 3.5.13 ### Patch Changes - Updated dependencies ## 3.5.12 ### Patch Changes - Updated dependencies ## 3.5.11 ### Patch Changes - Updated dependencies ## 3.5.10 ### Patch Changes - [#170778](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/170778) [`2202b03e196ad`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2202b03e196ad) - [ux] [ED-25407] FF cleanup - platform_editor_utilize_linebreakreplacement - Updated dependencies ## 3.5.9 ### Patch Changes - Updated dependencies ## 3.5.8 ### Patch Changes - [#167313](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167313) [`40d491ee58258`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40d491ee58258) - ED-24230 Remove code wrapping for editor FG ## 3.5.7 ### Patch Changes - [#165765](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165765) [`3f441f30e6507`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f441f30e6507) - Bump adf-schema to 46.0.0 - Updated dependencies ## 3.5.6 ### Patch Changes - [#168198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168198) [`c191e2b8a81ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c191e2b8a81ea) - ED-25807: refactors plugins to meet folder standards - Updated dependencies ## 3.5.5 ### Patch Changes - Updated dependencies ## 3.5.4 ### Patch Changes - [#159176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159176) [`8f1d77592a9dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f1d77592a9dc) - Bump adf-schema to 44.2.0 ## 3.5.3 ### Patch Changes - [#154664](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154664) [`365f9b8ae8789`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/365f9b8ae8789) - [ux] [ED-23241] Reverted [previous bugfix](https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo/pull-requests/95492/overview) for codeblock -> paragraph behaviour as it is handled by the Prosemirror schema now, using the linebreakReplacement setting - [#154186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154186) [`5c316170d29dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c316170d29dd) - Bump @atlaskit/adf-schema to 42.3.1 - Updated dependencies ## 3.5.2 ### Patch Changes - [#152510](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152510) [`dcf9edde7ac7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcf9edde7ac7b) - bump adf-schema to 42.0.1 - Updated dependencies ## 3.5.1 ### Patch Changes - [#151850](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151850) [`730e4417d9ad8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/730e4417d9ad8) - [ux] ED-25091: migrated code snippet to use new ADS icons - Updated dependencies ## 3.5.0 ### Minor Changes - [#151190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151190) [`a3723b1cdede2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3723b1cdede2) - [ux] [ED-25037] this change bumps @atlaskit/adf-schema from 40.9.0 to 40.9.4 which makes the blockquote selectable, adds missing marks to the PM node spec and fixes a bug that converted pasted external images to media groups. ### Patch Changes - Updated dependencies ## 3.4.4 ### Patch Changes - [#149910](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149910) [`bfb321d2bd9fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bfb321d2bd9fd) - ED-25141 - state.doc.nodesBetween was being called and could go beyond the range of the document and therefore throw an error. Occured when entering an inline code snippet with the back quote shortcut. See HOT-112305 for more details. ## 3.4.3 ### Patch Changes - [#149087](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149087) [`8b2dcb618ccf8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b2dcb618ccf8) - ED-25141: Code block wrapping performance improvement. Only update the line number decorators on a given code block when a line has been added or removed. Previously was updating line number decorators on every update for all code blocks. ## 3.4.2 ### Patch Changes - Updated dependencies ## 3.4.1 ### Patch Changes - Updated dependencies ## 3.4.0 ### Minor Changes - [#146025](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/146025) [`03eae90c614d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/03eae90c614d1) - Remove platform.editor.live-view.disable-editing-in-view-mode_fi1rx feature flag ## 3.3.19 ### Patch Changes - Updated dependencies ## 3.3.18 ### Patch Changes - Updated dependencies ## 3.3.17 ### Patch Changes - [#141594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/141594) [`3f6b2eb7bd493`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f6b2eb7bd493) - [ux] [ED-24867] This change moves nesting codeblocks and media in blockquotes via insertion methods behind an experiment gate. ## 3.3.16 ### Patch Changes - [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334) [`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) - [HOT-111629] We had an incident where the last character disappears when hitting the enter key on windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix. ## 3.3.15 ### Patch Changes - Updated dependencies ## 3.3.14 ### Patch Changes - [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118) [`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) - NOISSUE: Upgrades editor React peer dependencies to v18 - Updated dependencies ## 3.3.13 ### Patch Changes - [#136871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136871) [`87a30d5cb3ffb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/87a30d5cb3ffb) - ED-24814 - Addressing a bug where changing the language on a wrapped code block caused the wrapped decorator to disappear. Required changing the sequence in which we update the keys on the wrapped states WeakMap. Due to the amount of changes, it has all be placed behind a bug fix feature gate (editor_code_block_wrapping_language_change_bug) and the original feature gate (editor_support_code_block_wrapping). ## 3.3.12 ### Patch Changes - [#136348](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136348) [`fb4fb56f1da7c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fb4fb56f1da7c) - Use optimised entry-points on editor-common for browser. - Updated dependencies ## 3.3.11 ### Patch Changes - [#136266](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136266) [`cb41a82ab6813`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb41a82ab6813) - ED-24752 Add new plugin to code block that strips auto inserted fullstops from mac on code blocks - Updated dependencies ## 3.3.10 ### Patch Changes - [`cbe3b04ebb0b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cbe3b04ebb0b6) - ED-24730 - Address bug where word wrap decorator broke on drag and drop. Required some refactoring of decoration functions for code block. Moved all of them to decorators.ts and added unit tests. ## 3.3.9 ### Patch Changes - [#134918](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134918) [`89e5820ef3ed5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/89e5820ef3ed5) - [ux] ED-24678 adding a11y support for code block ## 3.3.8 ### Patch Changes - [#134213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134213) [`93bd7032842ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93bd7032842ec) - [ux] [ED-24636] Bump ADF Schema package ## 3.3.7 ### Patch Changes - [`193f8c85e1a39`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/193f8c85e1a39) - [ux] [ED-24635] - Disable Turn into dropdown options when wrapping is not supported - Update expand icon so that it can show disabled status - Update Turn into icon to show active status when dropdown is open - Updated dependencies ## 3.3.6 ### Patch Changes - Updated dependencies ## 3.3.5 ### Patch Changes - [#130377](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130377) [`3dad41b881f45`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3dad41b881f45) - [ux] ED-24613 add support for decorator mapping on new transactions and live view button enable - Updated dependencies ## 3.3.4 ### Patch Changes - [#128388](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128388) [`0ea0f81d30dcc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0ea0f81d30dcc) - ED-24501 Add a CSS var to maintain a dynamic line number gutter size on the code block based on the max number length. ED-24573 update handleClickOn in the code block plugin to work with new line number gutter. ## 3.3.3 ### Patch Changes - [`0f58d3a82867c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f58d3a82867c) - ED-24500 Add decorators on init of code block and on document updates ## 3.3.2 ### Patch Changes - [#128111](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128111) [`9863ffeb3e73e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9863ffeb3e73e) - remove codeblock preserve newlines ff - [#129049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/129049) [`6b1533d389c9d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1533d389c9d) - [ux] ED-24511 - Convert code block line numbers inline decorations to widget decorations. The line number gutter on editor code blocks should now reflect the number of lines of code, including when the code block has word wrap enabled. Minor for editor-common as new analytics attribute added. - Updated dependencies ## 3.3.1 ### Patch Changes - [#127940](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127940) [`7f340ec35b8a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7f340ec35b8a4) - [ux] ED-24320 Hook up decorators for toggled on and toggled off wrapping states in floating toolbar ## 3.3.0 ### Minor Changes - [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347) [`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) - [ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow quotes in panels and decisions in lists in stage0 schema, and a validator spec change ### Patch Changes - Updated dependencies ## 3.2.5 ### Patch Changes - [#127369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127369) [`95ff22b16d347`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/95ff22b16d347) - [ux] ED-24374 Add support for dynamic line number positions on code block nodeview ## 3.2.4 ### Patch Changes - [#126818](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126818) [`197b047fbe6e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/197b047fbe6e6) - ED-24245 - Adding analytics TRACK event that is triggere