Skip to content
Snippets Groups Projects
Commit 1cc3354b authored by Adnan Saiyed's avatar Adnan Saiyed
Browse files

[FIX] web_editor: unexpected copy paste behaviour of link


Current behaviour before commit:

-When pasting copied content from editor inside
link inserts text with HTML content, in result
the pasted content seems isolated from the link.

e.g. <a href="#">te[]st</a>
	+ pasting <h1>123</h1>  <=>
	<a href="#">te<h1>123</h1>st</a>

Desired behaviour after commit:

-Now only text content is pasted which makes
pasted content as a part of the link.

e.g. <a href="#">te[]st</a>
	+ pasting <h1>123</h1>  <=>
	<a href="#">te123st</a>

closes odoo/odoo#134294

X-original-commit: db6d65a4
Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent f9f27779
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment