Open Bug 1780352 Opened 4 years ago

Task content box formatting

Categories

(Calendar :: General, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: david.c.day, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

  1. Added a Task to Calendar in Thunderbird (edit page showing)
    2.Typed 500word text into the large content box describing the task, including carriage returns, 4spaces (tabs exit the box!), and number bullet lists, by hand
  2. Clicked "PreFormat" (PLAIN TEXT COURIER is preferable to HTML for indenting)
  3. Saved

Actual results:

The box on the tasks list page now shows a preview of the saved text.
Problem is, the carefully applied formatting is mangled, with spurious carriage returns appearing mid sentence.
It took several re-edits of the task to persuade it to sit still, and I am still not convinced it will be as saved.

Expected results:

I guess in an ideal world, "PLAIN TEXT COURIER FIXED WIDTH" text would be an option for laying out task descriptions, rather than just the HTML styles currently offered, which will then not suffer HTML-erisation in preview. Since we have this option for emails, one assumes the code for this is in there already, and just needs to be provided as an option - Task Editor Default - "plain text/html", and perhaps a per task option to change that using the dropdown "format" options.

One of the best things with simple text editors, and setting out 4 col indents (tabs) is the little "code folding glyph" that appears. This means, task step details can be laid out indented, and folded away to look at the main points. It prints nicely too.

Not everything need be HTML - takes too long to edit/manage in my view - but YMMV.

PS - The "tab" exiting this editor is also really annoying - could it not just insert 4 spaces instead, you know, like a regular text editor?! ;-)

You need to log in before you can comment on or make changes to this bug.