Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#23457 closed defect (bug) (invalid)

Unwanted p tags everywhere

Reported by: looimaster's profile 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
11 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
11 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.