[Libreoffice-bugs] [Bug 118969] New: CLEAR ALL FORMATTING -- in addition to clear direct formatting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 27 13:23:09 UTC 2018


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

            Bug ID: 118969
           Summary: CLEAR ALL FORMATTING -- in addition to clear direct
                    formatting
           Product: LibreOffice
           Version: 6.0.5.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jepe at cspv.hu

Description:
hi, 

lately, I find that a lot of times clear formatting of selection by "clear
direct formatting" won't work...

typically, it's when there is an "em" / "italic" involved...

I know this is not really a BUG ... this is logical result of using the "span"
tag.. and editing word sequences, sometimes word by word... for decorative
purposes :) 


BUT... this "HTML jamming"* would NO LONGER BE such a big deal if there was a
function to clear ALL formatting for an entire paragraph... :) 
* (speaking of copy-pasting the text into an HTML5 editor like tinymce)

If there was such a function, things would become so smooth :) 
I mean, you wouldn't have to worry about the future HTML clarity of your
text...
that is, what's beneath the surface...

once you notice that the CTRL+m does not work as expected, you could clear the
paragraph right away... and go on afresh :) 

in the menu, it could right under "clear direct formatting", 
like "clear ALL formatting (for the paragraph)"... 

since UNDO is very popular, if someone doesn't like the result, can change it
right back on... but it would be great help for all who know they need HTML
clarity... :) 


- - - - - additional notes:

I just made a test with a text...
I copied the paragraph... pasted it into a text-editor.. (Geany)
and copy-pasted back...

and I copy-pasted it also to a brand new document...

the two would not be the same!!!! I mean, when copy-pasted into a WYSIWYG html
editor... (Tinymce)....


the text now copy pasted FROM the long text... (5 pages, not so long) would
have the following extra tags, both at the beginning and the end:

<p><em><span style="font-variant: normal;"> <span
style="font-style: normal;"><span style="font-weight: normal;">

plus, the closing pairs of these at the end of the paragraph.. (of 190 words)




I hope this makes sense :) 

Steps to Reproduce:
1. edit a text extensively... apply italic to some words, one by one
2. and then try to remove italic by using CTRL+m
3.

Actual Results:
sometimes it works, it always does with a new document... 
BUT sometimes (after complexity has grown, by course of time, by using copy
pastes, especially copy-pastes of Italic formatted sequences from a Wikipedia
text!)
the CRTL+m won't work... it would make the selection ITALIC... 

Expected Results:
it should clear formatting... all except for formatting by styles...


BUT... it would be great "enough", and strategically even more reliable, if a
"clear all formatting" could be applied... for an entire paragraph... (how
else?)


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

-- 
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/20180727/20682c89/attachment.html>


More information about the Libreoffice-bugs mailing list