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

[FW][FIX] web_editor: issue with copy paste #159306

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 26, 2024

Current behavior before PR:

When attempting to copy a button that is a direct child of a div tag, the div was unintentionally copied along with the button, leading to additional space upon pasting, along with the background color.

Desired behavior after PR is merged:

Now, only the button will be copied and pasted.

task-3764652

Forward-Port-Of: #158975
Forward-Port-Of: #155212

Before this commit:

When attempting to copy a button that is a direct child of a div tag, the div
was unintentionally copied along with the button, leading to additional space
upon pasting, along with the background color.

After this commit:

Now, only the button will be copied and pasted

task-3764652

X-original-commit: a42ca8f
@robodoo
Copy link
Contributor

robodoo commented Mar 26, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 26, 2024

@dhba-odoo @dmo-odoo this PR targets master and is the last of the forward-port chain containing:

To merge the full chain, use

@fw-bot r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 26, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label Mar 26, 2024
@dmo-odoo
Copy link
Contributor

@fw-bot r+

robodoo pushed a commit that referenced this pull request Mar 28, 2024
Before this commit:

When attempting to copy a button that is a direct child of a div tag, the div
was unintentionally copied along with the button, leading to additional space
upon pasting, along with the background color.

After this commit:

Now, only the button will be copied and pasted

task-3764652

closes #159306

X-original-commit: a42ca8f
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
@dmo-odoo
Copy link
Contributor

@robodoo r-

@dmo-odoo
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Mar 28, 2024
Before this commit:

When attempting to copy a button that is a direct child of a div tag, the div
was unintentionally copied along with the button, leading to additional space
upon pasting, along with the background color.

After this commit:

Now, only the button will be copied and pasted

task-3764652

closes #159306

X-original-commit: a42ca8f
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
@robodoo robodoo closed this Mar 28, 2024
@robodoo robodoo added the 17.3 label Mar 28, 2024
@fw-bot fw-bot deleted the master-16.0-weird-behaviour-during-copy-paste-dhba-a0g6-fw branch April 11, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants