Make WordPress Core

Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#33810 closed defect (bug) (worksforme)

Impossible to place cursor after a pre tag at the end of content

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: low
Severity: normal Version: 3.8
Component: TinyMCE Keywords:
Focuses: Cc:


Given the following content at the end of a post:


It's impossible to place the cursor after the <pre> tag when using the visual editor.

Tested back to 3.8.

Change History (3)

#1 @iseulde
8 years ago

  • Component changed from Editor to TinyMCE
  • Milestone changed from Awaiting Review to Future Release

You mean it is impossible to create an new paragraph? I cannot get a new paragraph with just enter, but I can with shift+enter. It should respect the end_container_on_empty_block setting though.

#2 @iseulde
8 years ago

Though end_container_on_empty_block looks at an empty paragraph inside the block. pre never has any other elements inside.

#3 @azaozz
4 years ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Yes, Shift+Enter works here too. May not be very intuitive but don't see a good way to fix this. Enter should insert another line in the <pre>.

Last edited 4 years ago by azaozz (previous) (diff)
Note: See TracTickets for help on using tickets.