Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling tab and shift+tab keys in document lists and an integration with other plugins #11244

Merged
merged 36 commits into from
Feb 24, 2022

Conversation

CatStrategist
Copy link
Contributor

@CatStrategist CatStrategist commented Feb 9, 2022

Suggested merge commit message (convention)

Feature (engine): Introduced TabObserver that allows listening to pressing down Tab key.

Other (table, code-block): Tab and Tab+Shift keystrokes handlers now listen to tab event and are executed with respect to context.

Internal (list): Implemented handling of Tab and Tab+Shift keys in document lists. Closes #10880.

Internal (list): indentList and outdentList commands are now registered with priority in 'Indent' MultiCommand , Tab and Tab+Shift listeners now executes in li context in order to not interfere with other plugins' listeners . Closes #11072.


Additional information

CatStrategist and others added 16 commits February 1, 2022 12:20
…. Changed invoked event in tablekeyboard tests from tab to keystrokes.
… command to the indent MultiCommand with a priority.
…gistering them in the indent MultiCommand. Add IndentBlock plugin to documents list manual test.
@CatStrategist CatStrategist changed the title Ck/10880 tab key Handling tab and shift+tab keys in document lists and added integration with other plugins Feb 16, 2022
@CatStrategist CatStrategist marked this pull request as ready for review February 16, 2022 23:49
@CatStrategist CatStrategist changed the title Handling tab and shift+tab keys in document lists and added integration with other plugins Handling tab and shift+tab keys in document lists and an integration with other plugins Feb 16, 2022
…ing tests for MultiCommand priority handling.
packages/ckeditor5-table/src/tablekeyboard.js Outdated Show resolved Hide resolved
packages/ckeditor5-table/src/tablekeyboard.js Outdated Show resolved Hide resolved
packages/ckeditor5-utils/tests/insertbypriority.js Outdated Show resolved Hide resolved
packages/ckeditor5-table/tests/tablekeyboard.js Outdated Show resolved Hide resolved
} );
} );

describe( 'outdent command', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no test with outdent block command executed.

@niegowski
Copy link
Contributor

I just realized that this PR is missing changes in the original list feature. We must remember that both kinds of lists will be available for some time.

@niegowski niegowski merged commit 354827a into ck/10812-document-list-editing Feb 24, 2022
@niegowski niegowski deleted the ck/10880-tab-key branch February 24, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants