Skip to content

[BUG]: Switching to rich text editor destroys markdown table formatting #456

@r10r

Description

@r10r

Describe the feature you'd like to see

Hi @fccview,

I noticed that markdown table format is destroyed after switching to the rich text editor.
The setting Table Syntax in Notes is set to Markdown

| Gewinde | Steigung P (mm) | Kernloch Ø (mm) |
|--------|------------------|-----------------|
| M1     | 0.25             | 0.75            |
| M1.2   | 0.25             | 0.95            |
| M1.4   | 0.30             | 1.10            |
| M1.6   | 0.35             | 1.25            |
| M1.8   | 0.35             | 1.45            |
| M2     | 0.40             | 1.60            |
| M2.5   | 0.45             | 2.05            |
| M3     | 0.50             | 2.50            |
| M3.5   | 0.60             | 2.90            |
| M4     | 0.70             | 3.30            |
| M5     | 0.80             | 4.20            |
| M6     | 1.00             | 5.00            |
| M7     | 1.00             | 6.00            |
| M8     | 1.25             | 6.80            |
| M10    | 1.50             | 8.50            |
| M12    | 1.75             | 10.20           |
| M14    | 2.00             | 12.00           |
| M16    | 2.00             | 14.00           |
| M18    | 2.50             | 15.50           |
| M20    | 2.50             | 17.50           |

All spaces used for alignment are squeezed

​| Gewinde | Steigung P (mm) | Kernloch Ø (mm) | |--------|------------------|-----------------| | M1 | 0.25 | 0.75 | | M1.2 | 0.25 | 0.95 | | M1.4 | 0.30 | 1.10 | | M1.6 | 0.35 | 1.25 | | M1.8 | 0.35 | 1.45 | | M2 | 0.40 | 1.60 | | M2.5 | 0.45 | 2.05 | | M3 | 0.50 | 2.50 | | M3.5 | 0.60 | 2.90 | | M4 | 0.70 | 3.30 | | M5 | 0.80 | 4.20 | | M6 | 1.00 | 5.00 | | M7 | 1.00 | 6.00 | | M8 | 1.25 | 6.80 | | M10 | 1.50 | 8.50 | | M12 | 1.75 | 10.20 | | M14 | 2.00 | 12.00 | | M16 | 2.00 | 14.00 | | M18 | 2.50 | 15.50 | | M20 | 2.50 | 17.50 |

As a workaround I now wrap the table in a code block

| Gewinde | Steigung P (mm) | Kernloch Ø (mm) |
|--------|------------------|-----------------|
| M1     | 0.25             | 0.75            |
| M1.2   | 0.25             | 0.95            |
| M1.4   | 0.30             | 1.10            |
| M1.6   | 0.35             | 1.25            |
| M1.8   | 0.35             | 1.45            |
| M2     | 0.40             | 1.60            |
| M2.5   | 0.45             | 2.05            |
| M3     | 0.50             | 2.50            |
| M3.5   | 0.60             | 2.90            |
| M4     | 0.70             | 3.30            |
| M5     | 0.80             | 4.20            |
| M6     | 1.00             | 5.00            |
| M7     | 1.00             | 6.00            |
| M8     | 1.25             | 6.80            |
| M10    | 1.50             | 8.50            |
| M12    | 1.75             | 10.20           |
| M14    | 2.00             | 12.00           |
| M16    | 2.00             | 14.00           |
| M18    | 2.50             | 15.50           |
| M20    | 2.50             | 17.50           |

Version

1.21.0

Wireframes or mockups (optional)

No response

Checklist

  • I have searched across other issues to make sure this has not been already suggested.
  • I understand this request may be declined if it is not in line with the project's goals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis has been accepted and will be worked on

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions