[Libreoffice-bugs] [Bug 98381] Pasting text at the beginning of a style changes the style to that of the pasted text
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 18 15:58:22 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=98381
--- Comment #16 from William Friedman <will.friedman at gmail.com> ---
(In reply to Heiko Tietze from comment #15)
> The current solution with applying the source style if the target paragraph
> is not empty (unless it's a footnote, see bug 100018 comment 15) is correct.
> Changing this leads to much more regression and confusion.
Wait, that's not what happens. The source style (i.e., the style of the copied
text) is applied only if the target paragraph *is* empty; if the target
paragraph is *not* empty, then the source text is changed to the target
paragraph's style. I agree that the latter behavior is correct; my argument has
been that pasting source text into an empty paragraph in a different style
should *also* be changed to the target style. (In particular with reference to
footnotes, but also applicable to everything else.) It is crucial, however,
that manually applied character attributes (bold, italics, etc.) be preserved
when pasting changes the style of the source text.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200218/c004cb76/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list