Changeset 1503

Show
Ignore:
Timestamp:
2008-02-11 19:10:45 (5 months ago)
Author:
alfonsoml
Message:

Remove the surrounding div: #1613

Location:
FCKeditor/trunk
Files:
11 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/fckeditor.afp

    r907 r1503  
    6363                HtmlValue = THIS.cValue         && HTMLSPECIALCHARS() 
    6464 
    65                 html = [<div>] 
     65                html = [] 
    6666                IF THIS.IsCompatible() 
    6767                        lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName 
     
    9494                        html = html + [<textarea name="]+THIS.cInstanceName +[" rows="4" cols="40" style="width: ]+WidthCSS+[ height: ]+HeightCSS+[">]+HtmlValue+[</textarea>] 
    9595                ENDIF 
    96  
    97                 html = html + [</div>] 
    9896 
    9997                RETURN (html) 
  • FCKeditor/trunk/fckeditor.asp

    r891 r1503  
    132132                End If 
    133133 
    134                 CreateHtml = "<div>" & html & "</div>" 
     134                CreateHtml = html  
    135135 
    136136        End Function 
  • FCKeditor/trunk/fckeditor.cfc

    r1170 r1503  
    123123 
    124124        <cfscript> 
    125         result = result & "<div>" & chr(13) & chr(10); 
    126125        result = result & "<textarea name=""#this.instanceName#"" rows=""4"" cols=""40"" style=""WIDTH: #this.width#; HEIGHT: #this.height#"">#HTMLEditFormat(this.value)#</textarea>" & chr(13) & chr(10); 
    127         result = result & "</div>" & chr(13) & chr(10); 
    128126        </cfscript> 
    129127        <cfreturn result /> 
     
    154152 
    155153        <cfscript> 
    156         result = result & "<div>" & chr(13) & chr(10); 
    157154        result = result & "<input type=""hidden"" id=""#this.instanceName#"" name=""#this.instanceName#"" value=""#HTMLEditFormat(this.value)#"" style=""display:none"" />" & chr(13) & chr(10); 
    158155        result = result & "<input type=""hidden"" id=""#this.instanceName#___Config"" value=""#GetConfigFieldString()#"" style=""display:none"" />" & chr(13) & chr(10); 
    159156        result = result & "<iframe id=""#this.instanceName#___Frame"" src=""#sURL#"" width=""#this.width#"" height=""#this.height#"" frameborder=""0"" scrolling=""no""></iframe>" & chr(13) & chr(10); 
    160         result = result & "</div>" & chr(13) & chr(10); 
    161157        </cfscript> 
    162158        <cfreturn result /> 
  • FCKeditor/trunk/fckeditor.cfm

    r1170 r1503  
    131131 
    132132        <cfoutput> 
    133         <div> 
    134133        <input type="hidden" id="#attributes.instanceName#" name="#attributes.instanceName#" value="#HTMLEditFormat(attributes.value)#" style="display:none" /> 
    135134        <input type="hidden" id="#attributes.instanceName#___Config" value="#sConfig#" style="display:none" /> 
    136135        <iframe id="#attributes.instanceName#___Frame" src="#sURL#" width="#attributes.width#" height="#attributes.height#" frameborder="0" scrolling="no"></iframe> 
    137         </div> 
    138136        </cfoutput> 
    139137 
     
    154152        <!--- Fixed Bug ##1075166. hk@lwd.de 20041206 ---> 
    155153        <cfoutput> 
    156         <div> 
    157154        <textarea name="#attributes.instanceName#" rows="4" cols="40" style="WIDTH: #attributes.width#; HEIGHT: #attributes.height#">#HTMLEditFormat(attributes.value)#</textarea> 
    158         </div> 
    159155        </cfoutput> 
    160156 
  • FCKeditor/trunk/fckeditor.js

    r1185 r1503  
    7777        } 
    7878 
    79         var sHtml = '<div>' ; 
     79        var sHtml = '' ; 
    8080 
    8181        if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) 
     
    9191                sHtml += '<textarea name="' + this.InstanceName + '" rows="4" cols="40" style="width:' + sWidth + ';height:' + sHeight + '">' + this._HTMLEncode( this.Value ) + '<\/textarea>' ; 
    9292        } 
    93  
    94         sHtml += '</div>' ; 
    9593 
    9694        return sHtml ; 
  • FCKeditor/trunk/fckeditor.lasso

    r889 r1503  
    6565                        if(self->isCompatibleBrowser); 
    6666                                local('out' = ' 
    67                                         <div> 
    6867                                                <input type="hidden" id="' + self->instancename + '" name="' + self->instancename + '" value="' + encode_html(self->initialvalue) + '" style="display:none" /> 
    6968                                                ' + self->parseConfig + ' 
    7069                                                <iframe id="' + self->instancename + '___Frame" src="' + self->basepath + 'editor/fckeditor.html?InstanceName=' + self->instancename + '&Toolbar=' + self->toolbarset + '" width="' + self->width + '" height="' + self->height + '" frameborder="0" scrolling="no"></iframe> 
    71                                         </div> 
    7270                                '); 
    7371                        else; 
    7472                                local('out' = ' 
    75                                         <div> 
    7673                                                <textarea name="' + self->instancename + '" rows="4" cols="40" style="width: ' + self->width + '; height: ' + self->height + '">' + encode_html(self->initialvalue) + '</textarea> 
    77                                         </div> 
    7874                                '); 
    7975                        /if; 
  • FCKeditor/trunk/fckeditor_php4.php

    r1038 r1503  
    5858                $HtmlValue = htmlspecialchars( $this->Value ) ; 
    5959 
    60                 $Html = '<div>' ; 
     60                $Html = '' ; 
    6161                 
    6262                if ( !isset( $_GET ) ) { 
     
    100100                        $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; 
    101101                } 
    102  
    103                 $Html .= '</div>' ; 
    104102 
    105103                return $Html ; 
  • FCKeditor/trunk/fckeditor_php5.php

    r1038 r1503  
    5858                $HtmlValue = htmlspecialchars( $this->Value ) ; 
    5959 
    60                 $Html = '<div>' ; 
     60                $Html = '' ; 
    6161 
    6262                if ( $this->IsCompatible() ) 
     
    9595                        $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; 
    9696                } 
    97  
    98                 $Html .= '</div>' ; 
    9997 
    10098                return $Html ; 
  • FCKeditor/trunk/fckeditor.pl

    r888 r1503  
    6464 
    6565        $HtmlValue = &specialchar_cnv($Value); 
    66         $Html = '<div>' ; 
     66        $Html = '' ; 
    6767        if(&IsCompatible()) { 
    6868                $Link = $BasePath . "editor/fckeditor.html?InstanceName=$InstanceName"; 
     
    9494                $Html .= "<textarea name=\"$InstanceName\" rows=\"4\" cols=\"40\" style=\"width: $WidthCSS; height: $HeightCSS\">$HtmlValue</textarea>"; 
    9595        } 
    96         $Html .= '</div>'; 
    9796        return($Html); 
    9897} 
  • FCKeditor/trunk/fckeditor.py

    r887 r1503  
    5858        def CreateHtml(self): 
    5959                HtmlValue = escape(self.Value) 
    60                 Html = "<div>" 
     60                Html = "" 
    6161 
    6262                if (self.IsCompatible()): 
     
    106106                                        HtmlValue 
    107107                                        ) 
    108                 Html += "</div>" 
    109108                return Html 
    110109 
  • FCKeditor/trunk/_whatsnew.html

    r1501 r1503  
    8383                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing control elements 
    8484                        in Firefox, Opera and Safari now works properly.</li> 
     85                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor was surrounded 
     86                        by a &lt;div&gt; element that wasn't really needed.</li> 
    8587        </ul> 
    8688        <p>