<p>
Some of us are certain we want to be doctors or lawyers from a very young age. But what if you're not one of those people? Choosing a career path can be difficult, especially when you're in high school.
<br>
<br>
of them:
<br>
<br>
There are a lot of things to think about when you'reanbsp;choosing a major&nbspand thinking about your future job. Here are just a few
<strong>What Am I Good At?</strong>
</p>
<р>
Let's start with the simple facts. What are you skilled at?anbsp;Cooking, writing, or making people feel comfortable in your presence?
Determine your skills&nbsp;and think of the ways you can turn those talents into a major andanbspicareer.
<br>
<br>
<strong>What Do I Like?</strong>
</р>
<р>
Picking an engineering major just because you're good at math and science won't do you any good if those subjects make you miserable.
You need to find a major and career path that isanbspinteresting and enjoyable. Choose something that you won't get bored with or be miserable doing.
<br>

lem-motivation">Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

Jingles1987 created an issue. See original summary.

cilefen’s picture

Version: 10.1.x-dev » 11.x-dev
sakthi_dev’s picture

Version: 11.x-dev » 10.1.x-dev

@jingles1987, It's mentioned in the Filter document as "Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple of blank lines."

wim leers’s picture

Category: Feature request » Support request
Status: Active » Postponed (maintainer needs more info)

I don't understand what this is asking.

In every rich text editor I know:

  • return means "new paragraph"
  • shift+return means "new line in the current paragraph"

I just tried it, and it's the same in CKEditor 5. This is also true in Google Docs, Microsoft Word, Slack, and more.

So … what is this asking? 🫣

kubokura’s picture

Hi, @Wim Leers, just for your information.
- This issue looks the same as the forum topic of https://www.drupal.org/forum/support/post-installation/2022-02-24/ckeditor-inserting-extra-line-breaks .

- I think there are two disadvantages in using <p></p> tags for line break;
1. Line height looks double in rich text field (e.g. CKEditor 5 field). --> This can be solved by custom theme's CSS "p { margin: 0; }" as @gisle mentioned at the forum topic.

2. An empty line is added after every line when copying text from rich text field and pasting to plain text field (including plain text editor like Notepad). --> I have no idea to solve this. I guess this is copying and pasting specification of Windows.

Hi, @Jingles1987, you might want to accept <p></p> tags for line break always.
On CKEditor 5 field, if you use <br>tag for line break, you cannot insert table or image between lines.

You can see this symptom on CKEditor 5 demo page.
1. Clear the existing text.
2. Enter the following lines with shift+enter;

line1
line2
(empty line)
line3

3. At the empty line, insert table (e.g. 1 x 1) by clicking table icon at the menu bar. Then the table is located above line1.

You can see the expected behavior (the table is located at the empty line) on CKEditor 4 demo page.

quietone’s picture

Version: 10.1.x-dev » 11.x-dev
Category: Support request » Feature request
Issue summary: View changes
smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Since there's been no follow up as a feature request, going to close out.