forum
forum copied to clipboard
Applying a heading sometimes also changes text in following lines in Super Editor
I have several times run into the situation where applying a heading (e.g. H1) to a line in the Super Editor also changes the following lines. This does not happen if I leave a newline between my target line and following lines. If I delete the newline, bringing the following paragraph up one line, then it suddenly takes on the heading font.
I can not provide steps to reproduce because it does not happen every time. I think, but am not certain, that it happens on text I have copied and pasted into the editor from somewhere else.
Expected behavior It is expected that applying a heading should affect only the line in question.
Desktop (please complete the following information):
- OS: Mac OS 14.2.1
- Browser n/a
- Version 3.191.18
Hi @raacampbell, it's important to note that the Super note type handles content as different sections, or chunks of the note, rather than on a strictly per-line basis. For example, one paragraph of text will be considered just one section or chunk of the note, if it was typed continuously without hitting Enter/Return to move to a new section.
Text formatting options like headings, code blocks, quotes etc. will apply onto the entire section where the cursor is currently located. You can tell what elements of your note count as one section by paying attention to the dotted tab that appears on the far left, as your cursor moves over the different parts of the note:
Perhaps the content you've copied and pasted from different sources might have been counted as just one section, so the formatting was applied onto everything within it?
I see. I'll keep that in mind, but the editor definitely was not behaving as expected. e.g. as I saw, I press return after my line of interest to leave a new line. Set the line of interest to H1. Then delete the newline. After this, text on the line after the H1 also becomes H1. If happens again I will take a series of screenshots.
How can I split lines into different sections to apply different formatting?
Hi @clavinet, you can hit Enter/Return on your keyboard while the cursor is just before the portion that you want to separate into a different section 🙏