WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 years ago

#18363 closed defect (bug) (fixed)

After inserting a link in the rich editor, hitting Enter key to start new paragraph has no effect

Reported by: vtowel Owned by: azaozz
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.2.1
Component: TinyMCE Keywords:
Focuses: Cc:

Description

To reproduce:

  1. Start editing a new post
  2. Type some random text
  3. Highlight the last word, or the whole line that you just typed, then click the hyperlink button
  4. Enter a URL for the hyperlink and click Add Link
  5. Hit the Enter key to create a new paragraph

Expected output:
A new paragraph is created

Actual output:
Nothing happens, not until you type some other text, then hit enter. It also works fine if there is already text following the newly created link and you hit enter to move that text down to the next paragraph. It just doesn't work if you do it exactly as described above.

Change History (5)

comment:1 ocean903 years ago

  • Component changed from General to TinyMCE

comment:2 jonezjea3 years ago

I found out that when you do a little press on the spacebar after the link and then press enter the new paragraph is there.

comment:3 SergeyBiryukov2 years ago

Closed #19000 as a duplicate.

comment:4 nacin2 years ago

  • Owner set to azaozz
  • Status changed from new to assigned

azaozz, can you look at this?

comment:5 azaozz2 years ago

  • Milestone changed from Awaiting Review to 3.3
  • Resolution set to fixed
  • Status changed from assigned to closed

This was a bug in the older TinyMCE, fixed when we updated it for 3.3.

Note: See TracTickets for help on using tickets.