WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 14 months ago

Last modified 14 months 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:

Description

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)

comment:1 markoheijnen14 months 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.

comment:2 SergeyBiryukov14 months ago

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

You can disable the wpautop() filter:
http://codex.wordpress.org/Function_Reference/wpautop#Disabling_the_filter

Note: See TracTickets for help on using tickets.