Opened 15 years ago

Closed 15 years ago

#327 closed defect (wontfix)

hitting enter in firefox causes double spacing

Reported by: anonymous Owned by: gogo
Priority: highest Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: enterparagraph enter paragraphs


This is the old problem we had with IE not working correctly with enterparagraphs. If you go to the nightly example, hit enter in firefox after any line you see you get double spacing. It makes formatting almost impossible using enter. This used to work, but now is broken.

Change History (5)

comment:1 Changed 15 years ago by willeffects

revision 172 it works. revision 173 it breaks.

comment:2 Changed 15 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 Changed 15 years ago by gogo

  • Resolution invalid deleted
  • Status changed from closed to reopened

Some moron closed this.

comment:4 Changed 15 years ago by gocher

Hit enter set new paragraph, hit shift enter inserts <br /> in IE and Mozilla ! I think that's ok.

comment:5 Changed 15 years ago by anonymous

  • Resolution set to wontfix
  • Status changed from reopened to closed

I closed this because you can fix this by changing line 212:

this.mozParaHandler = 'built-in';

  this.mozParaHandler = 'built-in'; // set to 'built-in', 'dirty' or 'best'
                                // built-in: will (may) use 'br' instead of 'p' tags
                                // dirty   : will use p and work good enough for the majority of cases,
                                // best    : works the best, but it's about 12kb worth of javascript
                                //   and will probably be slower than 'dirty'.  This is the "EnterParagraphs"
                                //   plugin from "hipikat", rolled in to be part of the core code
Note: See TracTickets for help on using tickets.