https://bugs.documentfoundation.org/show_bug.cgi?id=169061

--- Comment #4 from Miklos Vajna <[email protected]> ---
Care to share the Calc document you used to produce that demo video?

In general, when you paste, now we take the HTML content of the clipboard into
account, so for example if your selection had a hyperlink, we no longer lose it
in paste. As a side effect of this, it may be now more visible if the existing
editeng HTML import does something unexpected with newlines.

Note that the start and end of pasted content is always tricky, since you can
paste in the middle of an existing paragraph and the clipboard content is a
self-contained document, so it's always a question if the starting and ending
paragraph of that should be put into an existing paragraph or a new one.

Example: if your clipboard content starts with a heading and your cursor is at
the end of an existing paragraph, you probably do want a paragraph break
between the cursor position and the start of the pasted content. But if you
just copy a single word, then you probably don't.

So this sounds like a pre-existing problem (how editeng HTML import behaves,
which is now used for calc cell text and comment text), but if we know more
about the target document and the pasted HTML (a clipboard dump would be
ideal), then possibly things can be improved.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to