Can't delete a line in a writer file

Linux Mint 20.3 Cinnamon.

In a writer document suddenly a line across the page popped up and I can’t delete it.

The ideas of

did not lead to the needed solution.

How can this line be deleted?

Thanks for helping comments

There are a couple of ways to remove the line if it is the Horizontal Line:

  • Click at the end of the previous paragraph before the line and press Del . Or
  • Click at the beginning of the line and double click the paragraph style you want in the Styles sidebar. You could instead press Ctrl+0 (zero) to change the paragraph style of the horizontal line to Body Text
1 Like

Near some text? Could it be a paragraph border?
In the middle of the page?
Hard to guess withou seeing.

Is a line inserted with menu Horizontal line?
Is this line inserted near the TOC?

The usual way to erase a line is to place in the paragraph before the line and use the Supr key.
If this Horizontal line is just after the Table of Contents, you must unprotect the TOC before to delete the line.

The Del key (in English keyboards).

1 Like