Changes between Initial Version and Version 1 of Documentation/Plugins/EnterParagraphs


Ignore:
Timestamp:
02/13/05 08:55:43 (15 years ago)
Author:
gogo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Plugins/EnterParagraphs

    v1 v1  
     1= EnterParagraphs Plugin = 
     2 
     3The EnterParagraphs plugin is used to make Gecko based web browsers (Mozilla (Firefox), Epihpany etc) work a bit more like Internet Explorer in terms of the behaviour when you press Enter.  Essentially, when you press enter in IE it starts a new paragraph, while in Mozilla it inserts a <br/> (break) tag.  The Internet Explorer behaviour is the technically correct behaviour. 
     4 
     5The plugin was developed by hipikat at the htmlarea.com forums. 
     6 
     7== Special Case == 
     8 
     9In Xinha this plugin is a special case because it is turned on/off by a special configuration variable (mozParaHandler), it's not necessary to LoadPlugin etc.  The variable was introduced in changeset:9.  This configuration variable has three settings... 
     10 
     11 * "built-in" doesn't alter mozilla's paragraph handling at all, so this probably means hitting enter will cause a <br/> to be inserted. 
     12 * "dirty" will use a "quick and dirty" fix which will make mozilla put in paragraphs instead of breaks in '''most''' cases. But it's far from perfect. 
     13 * "best" will use "hipikat"'s EnterParagraphs? plugin to provide the fix for mozilla 
     14 
     15if you have config.mozParaHandler set to "best" then EnterParagraphs will be automatically loaded, registered and used.  The recommended setting is "best".