Changeset 1165
- Timestamp:
- 2007-12-01 18:38:36 (2 years ago)
- Location:
- FCKeditor.Net/trunk
- Files:
-
- 2 modified
-
FCKeditor.cs (modified) (3 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor.Net/trunk/FCKeditor.cs
r1162 r1165 321 321 #region Rendering 322 322 323 public string CreateHtml() 324 { 325 System.IO.StringWriter strWriter = new System.IO.StringWriter() ; 326 System.Web.UI.HtmlTextWriter writer = new HtmlTextWriter( strWriter ); 327 this.Render( writer ); 328 return strWriter.ToString(); 329 } 330 323 331 protected override void Render(HtmlTextWriter writer) 324 332 { … … 332 340 333 341 string sFile = 334 Page.Request.QueryString["fcksource"] == "true" ?342 System.Web.HttpContext.Current.Request.QueryString["fcksource"] == "true" ? 335 343 "fckeditor.original.html" : 336 344 "fckeditor.html" ; … … 379 387 public bool CheckBrowserCompatibility() 380 388 { 381 return IsCompatibleBrowser( Page.Request);389 return IsCompatibleBrowser(); 382 390 } 383 391 -
FCKeditor.Net/trunk/_whatsnew.html
r1163 r1165 42 42 <ul> 43 43 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1548">#1548</a>] Compatible with <strong>Safari 3.0+</strong> and <strong>Opera 9.50+</strong>.</li> 44 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/79">#79</a>] Introduced the <strong>FCKeditor.IsCompatibleBrowser</strong> static function, to45 check if the requesting browser is compatible with FCKeditor.</li>46 44 <li>Added specific project files for <strong>Visual Studio .NET 2003</strong> and <strong> 47 45 Visual Studio 2005</strong>. It's easier now to open the source in your preferred environment. Builds will 48 46 end up in the "1.1" (VS2003) and "2.0" (VS2005) folders inside bin/Debug and bin/Release. </li> 49 47 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/79">#79</a>] The BasePath property now defaults to "/fckeditor/" ("/FCKeditor/" previously).</li> 48 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/79">#79</a>] Introduced the <strong>FCKeditor.IsCompatibleBrowser</strong> static function, to 49 check if the requesting browser is compatible with FCKeditor. 50 </li> 51 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/79">#79</a>] Introduced 52 the <strong>FCKeditor.CreateHtml</strong> function, which returns the HTML needed 53 to create an editor instance in the page.</li> 50 54 </ul> 51 55 <p>