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

Master phoenix fge 2 #2958

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Master phoenix fge 2 #2958

merged 2 commits into from
Mar 12, 2024

Conversation

FrancoisGe
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Mar 7, 2024

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


export function normalizeCursorPosition(node, offset, right) {
[node, offset] = normalizeSelfClosingElement(node, offset);
[node, offset] = normalizeNotEditableNode(node, offset, right);
// Be permissive about the received offset.
offset = Math.min(Math.max(offset, 0), nodeSize(node));
Copy link

Choose a reason for hiding this comment

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

@@ -134,7 +138,7 @@ export class SelectionPlugin extends Plugin {
* @param { Node } [selection.focusNode=selection.anchorNode]
* @param { number } [selection.focusOffset=selection.anchorOffset]
* @param { Object } [options]
* @param { boolean } [normalize=true] Normalize the selection
* @param { boolean } [normalize=true] Deep Normalize the selection
Copy link

Choose a reason for hiding this comment

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

normalizeDeep=true

@ged-odoo ged-odoo merged commit 5382437 into master-phoenix Mar 12, 2024
@ged-odoo ged-odoo deleted the master-phoenix-fge-2 branch March 12, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants