Opened 13 years ago

Closed 13 years ago

#8477 closed defect (fixed)

blank Editor adds extra space

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: Editor Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:


RichText?.js contains this line

if(html == ""){ html = " "; }

which seems to unnecessarily add a space to an empty BODY node and thus to the getValue of subsequently added text. The space can be deleted initially and then you'll end up with an empty BODY node again so its usefulness seems suspect. I'd like to remove this line in time for 1.3 if at all possible.

Change History (4)

comment:1 Changed 13 years ago by Douglas Hays

The line was added to workaround an old Firefox 1.x bug

comment:2 Changed 13 years ago by bill

Milestone: tbd1.3
Owner: changed from liucougar to Douglas Hays

Sounds good to me, if this isn't needed anymore then take it out.

comment:3 Changed 13 years ago by Douglas Hays

Status: newassigned

comment:4 Changed 13 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [16640]) Fixes #8477. Removed added blank.

Note: See TracTickets for help on using tickets.