Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#23457 closed defect (bug) (invalid)

Unwanted p tags everywhere

Reported by: Looimaster Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:


WordPress is a blogging platform, so the following are extremely puzzling:

a) Why doesn't it allow a person to put any HTML they want to format their blog post or page? It puts unwanted <p> tags everywhere and ruins formatting. I wouldn't mind this if it did this correctly but it doesn't! It nests shortcodes in <p> or content of shortcodes or inserts empty paragraphs in the middle of other elements.

b) TinyMCE is heavy, slow and lags.

Change History (2)

#1 @markoheijnen
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 3.5.1 deleted

This isn't something to put on trac. Since you don't describe any bug. The hackers mailinglist seems more appropriate for this kind of discussions.

Also WordPress isn't probably going to move away from TinyMCE. I do note that the paragraph tags everywhere is most likely not a TineMCE thing.

#2 @SergeyBiryukov
5 years ago

It puts unwanted <p> tags everywhere and ruins formatting.

You can disable the wpautop() filter:

Note: See TracTickets for help on using tickets.