Ticket #1233 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 5 years ago

Plugin to automatically insert paragraphs in javascript

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Plugins Version: trunk
Severity: normal Keywords:
Cc:

Description

When inserting text that is not already in a paragraph, xinha uses br's for spacing. In a paragraph, it simply stays in the paragraph. This can be a problem because the text is spaced differently, and doesn't look consistent.

I would like a plugin that would automatically find text nodes that are not already in a text container (like p's or h1's) and wraps them in a p tag, all on the client side.

Change History

Changed 5 years ago by gogo

  • milestone deleted

This has been attempted in the past I think, and with unsatisfactory results, I don't recall the full details. Moving to null target, if somebody wants to try, then by all means do.

Changed 5 years ago by gogo

  • status changed from new to closed
  • resolution set to wontfix

Actually, on thinking about this, I think what you are saying is exactly what mozParaHandler = 'best' does (although there is currently a problem in that) - #1226

Closing this because I think if it's not done by EnterParagraphs then it's not do-able (and not do-able in IE if IE doesn't do it natively).

Note: See TracTickets for help on using tickets.