Changeset 1503
- Timestamp:
- 2008-02-11 19:10:45 (5 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 11 modified
-
fckeditor.afp (modified) (2 diffs)
-
fckeditor.asp (modified) (1 diff)
-
fckeditor.cfc (modified) (2 diffs)
-
fckeditor.cfm (modified) (2 diffs)
-
fckeditor.js (modified) (2 diffs)
-
fckeditor.lasso (modified) (1 diff)
-
fckeditor_php4.php (modified) (2 diffs)
-
fckeditor_php5.php (modified) (2 diffs)
-
fckeditor.pl (modified) (2 diffs)
-
fckeditor.py (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/fckeditor.afp
r907 r1503 63 63 HtmlValue = THIS.cValue && HTMLSPECIALCHARS() 64 64 65 html = [ <div>]65 html = [] 66 66 IF THIS.IsCompatible() 67 67 lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName … … 94 94 html = html + [<textarea name="]+THIS.cInstanceName +[" rows="4" cols="40" style="width: ]+WidthCSS+[ height: ]+HeightCSS+[">]+HtmlValue+[</textarea>] 95 95 ENDIF 96 97 html = html + [</div>]98 96 99 97 RETURN (html) -
FCKeditor/trunk/fckeditor.asp
r891 r1503 132 132 End If 133 133 134 CreateHtml = "<div>" & html & "</div>"134 CreateHtml = html 135 135 136 136 End Function -
FCKeditor/trunk/fckeditor.cfc
r1170 r1503 123 123 124 124 <cfscript> 125 result = result & "<div>" & chr(13) & chr(10);126 125 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);128 126 </cfscript> 129 127 <cfreturn result /> … … 154 152 155 153 <cfscript> 156 result = result & "<div>" & chr(13) & chr(10);157 154 result = result & "<input type=""hidden"" id=""#this.instanceName#"" name=""#this.instanceName#"" value=""#HTMLEditFormat(this.value)#"" style=""display:none"" />" & chr(13) & chr(10); 158 155 result = result & "<input type=""hidden"" id=""#this.instanceName#___Config"" value=""#GetConfigFieldString()#"" style=""display:none"" />" & chr(13) & chr(10); 159 156 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);161 157 </cfscript> 162 158 <cfreturn result /> -
FCKeditor/trunk/fckeditor.cfm
r1170 r1503 131 131 132 132 <cfoutput> 133 <div>134 133 <input type="hidden" id="#attributes.instanceName#" name="#attributes.instanceName#" value="#HTMLEditFormat(attributes.value)#" style="display:none" /> 135 134 <input type="hidden" id="#attributes.instanceName#___Config" value="#sConfig#" style="display:none" /> 136 135 <iframe id="#attributes.instanceName#___Frame" src="#sURL#" width="#attributes.width#" height="#attributes.height#" frameborder="0" scrolling="no"></iframe> 137 </div>138 136 </cfoutput> 139 137 … … 154 152 <!--- Fixed Bug ##1075166. hk@lwd.de 20041206 ---> 155 153 <cfoutput> 156 <div>157 154 <textarea name="#attributes.instanceName#" rows="4" cols="40" style="WIDTH: #attributes.width#; HEIGHT: #attributes.height#">#HTMLEditFormat(attributes.value)#</textarea> 158 </div>159 155 </cfoutput> 160 156 -
FCKeditor/trunk/fckeditor.js
r1185 r1503 77 77 } 78 78 79 var sHtml = ' <div>' ;79 var sHtml = '' ; 80 80 81 81 if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) … … 91 91 sHtml += '<textarea name="' + this.InstanceName + '" rows="4" cols="40" style="width:' + sWidth + ';height:' + sHeight + '">' + this._HTMLEncode( this.Value ) + '<\/textarea>' ; 92 92 } 93 94 sHtml += '</div>' ;95 93 96 94 return sHtml ; -
FCKeditor/trunk/fckeditor.lasso
r889 r1503 65 65 if(self->isCompatibleBrowser); 66 66 local('out' = ' 67 <div>68 67 <input type="hidden" id="' + self->instancename + '" name="' + self->instancename + '" value="' + encode_html(self->initialvalue) + '" style="display:none" /> 69 68 ' + self->parseConfig + ' 70 69 <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>72 70 '); 73 71 else; 74 72 local('out' = ' 75 <div>76 73 <textarea name="' + self->instancename + '" rows="4" cols="40" style="width: ' + self->width + '; height: ' + self->height + '">' + encode_html(self->initialvalue) + '</textarea> 77 </div>78 74 '); 79 75 /if; -
FCKeditor/trunk/fckeditor_php4.php
r1038 r1503 58 58 $HtmlValue = htmlspecialchars( $this->Value ) ; 59 59 60 $Html = ' <div>' ;60 $Html = '' ; 61 61 62 62 if ( !isset( $_GET ) ) { … … 100 100 $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; 101 101 } 102 103 $Html .= '</div>' ;104 102 105 103 return $Html ; -
FCKeditor/trunk/fckeditor_php5.php
r1038 r1503 58 58 $HtmlValue = htmlspecialchars( $this->Value ) ; 59 59 60 $Html = ' <div>' ;60 $Html = '' ; 61 61 62 62 if ( $this->IsCompatible() ) … … 95 95 $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; 96 96 } 97 98 $Html .= '</div>' ;99 97 100 98 return $Html ; -
FCKeditor/trunk/fckeditor.pl
r888 r1503 64 64 65 65 $HtmlValue = &specialchar_cnv($Value); 66 $Html = ' <div>' ;66 $Html = '' ; 67 67 if(&IsCompatible()) { 68 68 $Link = $BasePath . "editor/fckeditor.html?InstanceName=$InstanceName"; … … 94 94 $Html .= "<textarea name=\"$InstanceName\" rows=\"4\" cols=\"40\" style=\"width: $WidthCSS; height: $HeightCSS\">$HtmlValue</textarea>"; 95 95 } 96 $Html .= '</div>';97 96 return($Html); 98 97 } -
FCKeditor/trunk/fckeditor.py
r887 r1503 58 58 def CreateHtml(self): 59 59 HtmlValue = escape(self.Value) 60 Html = " <div>"60 Html = "" 61 61 62 62 if (self.IsCompatible()): … … 106 106 HtmlValue 107 107 ) 108 Html += "</div>"109 108 return Html 110 109 -
FCKeditor/trunk/_whatsnew.html
r1501 r1503 83 83 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing control elements 84 84 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 <div> element that wasn't really needed.</li> 85 87 </ul> 86 88 <p>