Ignore:
Timestamp:
05/18/05 21:15:06 (15 years ago)
Author:
yermol
Message:

htmlarea.js

. added workaround fix for NASTY FIREFOX BUG resulting in the infamous

uneditable area problem (exception on designMode="on" issue -
refer to bug:


https://bugzilla.mozilla.org/show_bug.cgi?id=207842


and this thread:


http://xinha.gogo.co.nz/punbb/viewtopic.php?id=229


. trailing <BR>'s are no longer stripped out of the document. This

was wreaking havoc on EnterParagraphs?. It's not clear whether or not
this is going to have unanticipated side-effects.

plugins/EnterParagraphs/enter-paragraphs.js

NOT FULLY FUNCTIONAL YET - DOESN'T HANDLE ALL CASES CORRECTLY,
but it's much better than it was I think.

. largely reworked.
. changed obfuscated variables names to make it more readable.
. expanded out nested (x ? y : z) constructs to make it more readable.
. added alot of comments.
. fixed a serious bug in findEachNodeUnder() that was not correctly

handling beginning and end node conditions.

. fixed design flaw that selected a non-existent insertion point for

placing the cursor.

. fixed several exceptions.
. now correctly handles lists by passing the back back to the Gecko

engine if we are in a list with the exception of being at the
first position in the first element in which case we insert
a paragraph before the list and move the cursor back to the first
item on the list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/unified_backend/plugins/Linker/scan.php

    r121 r172  
    278278// get the output in an error popup. 
    279279// 
    280 // _ddtOn(); 
    281  
    282 _ddt( __FILE__, __LINE__, "scan.php: Resulting array is '" + $javascript_array + "'" ); 
     280 
     281_setDebugLog( "/tmp/debug_log.txt" ); 
     282 
     283_ddtOn(); 
     284 
     285_ddt( __FILE__, __LINE__, "scan.php: hello\n" ); 
     286 
     287_ddt( __FILE__, __LINE__, "scan.php: Resulting array is '" . $javascript_array . "'" ); 
    283288 
    284289echo $javascript_array; 
Note: See TracChangeset for help on using the changeset viewer.