UNPKG

@atlaskit/editor-plugin-selection

Version:

Selection plugin for @atlaskit/editor-core

469 lines (273 loc) 12.3 kB
# @atlaskit/editor-plugin-selection ## 1.6.12 ### Patch Changes - Updated dependencies ## 1.6.11 ### Patch Changes - Updated dependencies ## 1.6.10 ### Patch Changes - Updated dependencies ## 1.6.9 ### Patch Changes - Updated dependencies ## 1.6.8 ### Patch Changes - Updated dependencies ## 1.6.7 ### Patch Changes - Updated dependencies ## 1.6.6 ### Patch Changes - Updated dependencies ## 1.6.5 ### Patch Changes - Updated dependencies ## 1.6.4 ### Patch Changes - Updated dependencies ## 1.6.3 ### Patch Changes - Updated dependencies ## 1.6.2 ### Patch Changes - [#178297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178297) [`a067ce11e9631`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a067ce11e9631) - NO-ISSUE-restrict-auto-selection-expand-on-textselection - Updated dependencies ## 1.6.1 ### Patch Changes - Updated dependencies ## 1.6.0 ### Minor Changes - [#169428](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169428) [`dc52eec1d2269`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dc52eec1d2269) - [ux] ED-25865 Auto include inline node as a part of selection when selection ends on an inline node - [#169428](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/169428) [`ded743b539788`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ded743b539788) - [ux] ED-25865 auto expand selection to include inline node ### Patch Changes - Updated dependencies ## 1.5.6 ### Patch Changes - [#171440](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171440) [`835f7bbff3122`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/835f7bbff3122) - ED-25816: refactors plugins to meet folder standards - Updated dependencies ## 1.5.5 ### Patch Changes - Updated dependencies ## 1.5.4 ### Patch Changes - Updated dependencies ## 1.5.3 ### Patch Changes - [#159308](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159308) [`14ef6f05d711c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14ef6f05d711c) - [ED-24690] Replace LD FF with Statsig platform-editor-single-player-expand - Updated dependencies ## 1.5.2 ### Patch Changes - [#155735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155735) [`14108e8c08732`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14108e8c08732) - Stop firing `document selected` event - [#155735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155735) [`1beeeda29023a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1beeeda29023a) - Upgrades editor packages to react 18 ## 1.5.1 ### Patch Changes - Updated dependencies ## 1.5.0 ### Minor Changes - [#152197](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152197) [`dddd3eca66a62`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dddd3eca66a62) - Expose SelectionPluginOptions type. ### Patch Changes - Updated dependencies ## 1.4.10 ### Patch Changes - Updated dependencies ## 1.4.9 ### Patch Changes - Updated dependencies ## 1.4.8 ### Patch Changes - Updated dependencies ## 1.4.7 ### Patch Changes - Updated dependencies ## 1.4.6 ### Patch Changes - [#143799](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143799) [`854fc7c6e6522`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/854fc7c6e6522) - [ux] ED-24255 update mark boundary cursor on any doc change - Updated dependencies ## 1.4.5 ### Patch Changes - Updated dependencies ## 1.4.4 ### Patch Changes - [#140867](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140867) [`17b58500a94e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/17b58500a94e3) - [ux] ED-24255 Adding a custom mark boundary cursor to fix the cursor position in inline code ## 1.4.3 ### 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. ## 1.4.2 ### Patch Changes - Updated dependencies ## 1.4.1 ### Patch Changes - Updated dependencies ## 1.4.0 ### Minor Changes - [#130825](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130825) [`d8a00de5637ff`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8a00de5637ff) - ENGHEALTH-9890: Bumps React peer dependency for Lego editor plugins ## 1.3.2 ### Patch Changes - [#125367](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125367) [`40695df29bb9a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40695df29bb9a) - Removed FF cd platform.editor.change-navigation-for-atom-nodes ## 1.3.1 ### Patch Changes - Updated dependencies ## 1.3.0 ### Minor Changes - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209) [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) - bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0 ### Patch Changes - Updated dependencies ## 1.2.13 ### Patch Changes - Updated dependencies ## 1.2.12 ### Patch Changes - Updated dependencies ## 1.2.11 ### Patch Changes - [#117973](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117973) [`6e37bac62083f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e37bac62083f) - moved one const, added new entry point for other and deprecated - Updated dependencies ## 1.2.10 ### Patch Changes - Updated dependencies ## 1.2.9 ### Patch Changes - Updated dependencies ## 1.2.8 ### Patch Changes - Updated dependencies ## 1.2.7 ### Patch Changes - [#111382](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111382) [`5ce3f135c6211`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ce3f135c6211) - Cleanup feature flag to protect for explicit HTML element check in some places. ## 1.2.6 ### Patch Changes - Updated dependencies ## 1.2.5 ### Patch Changes - Updated dependencies ## 1.2.4 ### Patch Changes - Updated dependencies ## 1.2.3 ### Patch Changes - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698) [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) - [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any language triggering composition on an empty line.This was fixed in a patch bump of prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5 ## 1.2.2 ### Patch Changes - Updated dependencies ## 1.2.1 ### Patch Changes - [#92552](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92552) [`7cd874b858c8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7cd874b858c8) - Check target elements are actually HTMLElement rather than typecasting. ## 1.2.0 ### Minor Changes - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934) [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) - bumped editor-prosemirror version to 4.0.0 ### Patch Changes - Updated dependencies ## 1.1.3 ### Patch Changes - [#90897](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90897) [`f7d77187a439`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f7d77187a439) - [ux] [ED-22841] Adjust isCollpasedExpand function to allow for the new singlePlayerExpand plugin which replaces the standard expand when livePage and the `platform.editor.single-player-expand` feature flag is enabled. ## 1.1.2 ### Patch Changes - [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247) [`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) - The internal composition of this package has changed. There is no expected change in behavior. ## 1.1.1 ### Patch Changes - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2` ## 1.1.0 ### Minor Changes - [#75042](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75042) [`ce823f018248`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ce823f018248) - [ux] ED-21987 Diverge expands in live pages so that they are not multiplayer, and are closed by default. ### Patch Changes - Updated dependencies ## 1.0.2 ### Patch Changes - Updated dependencies ## 1.0.1 ### Patch Changes - [#70261](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70261) [`a92879d672c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a92879d672c6) - [ux] ED-21620: Corrected the selection functions for atom nodes that are triggered on pressing the right and left arrow keys. ## 1.0.0 ### Major Changes - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386) [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) - This changeset exists to bump all editor plugins that currently don't have a major version. This is to address an issue with Jira plugin consumption. ## 0.2.2 ### Patch Changes - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency ## 0.2.1 ### Patch Changes - Updated dependencies ## 0.2.0 ### Minor Changes - [#65084](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65084) [`609bca09a972`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/609bca09a972) - expose selection as part of the shared state ### Patch Changes - Updated dependencies ## 0.1.3 ### Patch Changes - [#63289](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63289) [`f75faa16e84d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f75faa16e84d) - [ux] ED-20209: Fixed selection behaviour for Atomic and empty+selectable nodes and updated related tests. ## 0.1.2 ### Patch Changes - [#61696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61696) [`fcc2b35ad97b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fcc2b35ad97b) - ED-21505: Added better selections and highlights for MBE nodes on Editor ## 0.1.1 ### Patch Changes - [#57079](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/57079) [`d15db1b00c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d15db1b00c5a) - [ED-21267] Improve arrow navigation across MultiBodiedExtensions