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

convert command.isDisabled and isSelectionInBlockRoot #3178

Open
wants to merge 586 commits into
base: master-phoenix
Choose a base branch
from

Conversation

Zynton
Copy link

@Zynton Zynton commented May 3, 2024

No description provided.

cammarosano and others added 30 commits April 26, 2024 09:37
The original test in web_editor tested the "indentList" command.
Fun fact: this command is not used anywhere in the codebase, except for
the test suite...

The current test has as step function `keydownTab`, which, other than
indenting lists, indent non-list blocks as well.

For this reason I'm adapting the test.

PS: As of now, we don't have a "INDENT_LIST" command.
The plugin name should be abstracted from the implementation
cammarosano and others added 27 commits April 26, 2024 09:37
Implement the colorpicker gradient tab
for nested colored elements
The Powerbox commands have a parameter to disable them in certain
contexts, and many had it set on `!isSelectionInBlockRoot()` since
commit [1] but since neither of these things were converted for Phoenix,
many commands were missing the `isDisabled` key.
This applies them in all the places that were incompletely converted but
we'll need to make sure we don't forget to add them to future
conversions.

[1]: odoo@defce6b
@robodoo
Copy link

robodoo commented May 3, 2024

This PR targets the un-managed branch odoo-dev/odoo:master-phoenix, it needs to be retargeted before it can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants