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 #159257

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

This PR targets saas-17.1 and is part of the forward-port chain. Further PRs will be created up to master.

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

@C3POdoo C3POdoo added the RD research & development, internal work label Mar 26, 2024
@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 26, 2024
robodoo pushed a commit that referenced this pull request Mar 26, 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 #159257

X-original-commit: a42ca8f
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
@robodoo robodoo closed this Mar 26, 2024
@fw-bot fw-bot deleted the saas-17.1-16.0-weird-behaviour-during-copy-paste-dhba-RW7t-fw branch April 9, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

4 participants