77家的会客2010

FCKeditor 2.6 Beta发布
Weather:晴,西北风5-6级转西风4-5级,(-3~4)℃

2008.2.21发布的2.5.1版,同时放消息说正在紧密打造FCKeditor3(代号:V3)版,结果四天之后,竟然又发布了2.6beta版,这不能不让全世界的FCK fans们大faint一块。

New Features and Improvements:

  • [#35] New (and cool!) floating dialog system, avoiding problems with popup blockers and enhancing the editor usability.
  • [#1886] Adobe AIR compatibility.
  • [#123] Full support for document.domain with automatic domain detection.
  • [#1622] New inline CSS cache feature, making it possible to avoid downloading the CSS files for the editing area and skins. For that, it is enough to set the EditorAreaCSS, SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified css="" styles".="" all="" internal="" links="" are="" already="" using="" this="" feature.
  • New language file for Canadian French.

Fixed Bugs:

  • [#1643] Resolved several "strict warning" messages in Firefox when running FCKeditor.
  • [#1522] The ENTER key will now work properly in IE with the cursor at the start of a formatted block.
  • [#1503] It's possible to define in the Styles that a Style (with an empty class) must be shown selected only when no class is present in the current element, and selecting that item will clear the current class (it does apply to any attribute, not only classes).
  • [#191] The scrollbars are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden div.
  • [#503] Orphaned
  • elements now get properly enclosed in a
      on output.
    • [#309] The ENTER key will not any more break
    • [#1654] The editor was not loading on a specific unknown situation. The breaking point has been removed.
    • [#1707] The editor no longer hangs when operating on documents imported from Microsoft Word.
    • [#1514] Floating panels attached to a shared toolbar among multiple FCKeditor instances are no longer misplaced when the editing areas are absolutely or relatively positioned.
    • [#1715] The ShowDropDialog is now enforced only when ForcePasteAsPlainText = true.
    • [#1336] Sometimes the autogrow plugin didn't work properly in Firefox.
    • [#1728] External toolbars are now properly sized in Opera.
    • [#1782] Clicking on radio buttons or checkboxes in the editor in IE will no longer cause lockups in IE.
    • [#805] The FCKConfig.Keystrokes commands where executed even if the command itself was disabled.
    • [#902] The button to empty the box in the "Paste from Word" has been removed as it leads to confusion for some users.
    • [#1682] Editing control elements in Firefox, Opera and Safari now works properly.
    • [#1613] The editor was surrounded by a
      element that wasn't really needed.
    • [#676] If a form control was moved in IE after creating it, then it did lose its name.
    • [#738] It wasn't possible to change the type of an existing button.
    • [#1854] Indentation now works inside table cells.
    • [#1717] The editor was entering on looping on some specific cases when dealing with invalid source markup.
    • [#1530] Pasting text into the "Find what" fields in the Find and Replace dialog would now activate the find and replace buttons.
    • [#1828] The Find/Replace dialog will no longer display wrong starting positions for the match when there are multiple and identical characters preceding the character at the real starting point of the match.
    • [#1878] Fixed a JavaScript error which occurs in the Find/Replace dialog when the user presses "Find" or "Replace" after the "No match found" message has appeared.
    • [#1355] Line breaks and spaces are now conserved when converting to and from the "Formatted" format.
    • [#1670] Improved the background color behind smiley icons and special characters in their corresponding dialogs.
    • [#1693] Custom error messages are now properly displayed in the file browser.
    • [#970] The text and value fields in the selection box dialog will no longer extend beyond the dialog limits when the user inputs a very long text or value for one of the selection options.
    • [#479] Fixed the issue where pressing Enter in an tag in IE does not generate line breaks.
    • [#481] Fixed the issue where the image preview in image dialog sometimes doesn't display after selecting the image from server browser.
    • [#1488] PHP integration: the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead of depreciated "var").
    • [#1815] PHP integration: removed closing tag: "?>", so no additional whitespace added when files are included.
    • [#1906] PHP file browser: fixed problems with DetectHtml() function when open_basedir was set.
    • [#1871] PHP file browser: permissions applied with the chmod command are now configurable.
    • [#1872] Perl file browser: permissions applied with the chmod command are now configurable.
    • [#1873] Python file browser: permissions applied with the chmod command are now configurable.
    • [#1572] ColdFusion integration: fixed issues with setting the editor height.
    • [#1692] ColdFusion file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory() returning an empty string.
    • [#1379] ColdFusion file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.
    • [#1509] InsertHtml() in IE will no longer turn the preceding normal whitespace into  .
    • [#958] The AddItem method now has an additional fifth parameter "customData" that will be sent to the Execute method of the command for that menu item, allowing a single command to be used for different menu items..
    • [#1502] The RemoveFormat command now also removes the attributes from the cleaned text. The list of attributes is configurable with FCKConfig.RemoveAttributes.
    • [#1596] On Safari, dialogs have now right-to-left layout when it runs a RTL language, like Arabic.
    • [#1344] Added warning message on Copy and Cut operation failure on IE due to paste permission settings.
    • [#1868] Links to file browser has been changed to avoid requests containing double dots.

     

[FCKeditor 2.6 Beta发布]的回复

ZZZzzz 于 2008-02-27 15:36:40 发表 | IP:152.104.150.*

很想知道那个弹出窗口是怎么做到的.其实我觉得online的rich editor要是能用flash做出来就好了,最起码在加载的时候不会白一块半天不反应

柠檬园主 于 2008-02-27 15:40:51 发表 | IP:116.3.12.*

那个弹出窗口是用层floating模拟出来的,不算传统意义上的弹出窗。这个效果和lightbox的差不多那种。

flash版的html编辑器似乎也是有的,但易用性就没那么好了,更别说还那么多功能了。。。你要想当个吃螃蟹的第一人,你可以试下flex,能实现很多你的想法。

ZZZzzz 于 2008-02-27 20:16:20 发表 | IP:152.104.150.*

flex没兴趣了,对flash的web应用不太看好,我倒是挺想学学ajax版本的air,最近在找资料

4#   柠檬园主 于 2008-02-27 22:21:09 发表 | IP:221.201.157.*

我也是对FLEX及FLASH应用不太看好。一来不好开发,二来服务器太贵,没向个企业用得起。

5#   MICKEY 于 2008-03-02 13:32:18 发表 | IP:58.24.234.*

前两天我那空间里突然多出两个文件来,网页上也被写入一些恶意代码.不知道是不是通过FCK的上传功能进去的,还是空间提供商有问题.现在也没时间去研究那些了...

6#   柠檬园主 于 2008-03-02 17:02:00 发表 | IP:221.201.168.*

FCK倒是可能上传一些文件,如果你没做上传权限验证的话,你用的应该是.net版的上传控件吧。但恶意代码是简单的通过FCK上传不了的,因为FCK已经有检测只能上传某些扩展名的文件的。

恶意代码除了空间商,也有可能是服务器有问题,别的虚拟主机进行了跨站操作了,我以前用的主机我就可以去看别人站的代码,当然也可以修改了。

7#   littlenew 于 2008-03-02 20:46:43 发表 | IP:116.24.61.*

楼上的也修成了黑客。

8#   littlenew 于 2008-03-16 09:28:02 发表 | IP:121.35.22.*

最新版的听说用了缓存????

 

不过速度确实快了不少。

你现在这个最新版的东东能上传东东吗?

9#   柠檬园主 于 2008-03-16 10:37:56 发表 | IP:221.201.170.*

呵呵,上传当然可以,但是不对前台用户开放嘛,要不然小小的虚拟主机空间哪儿够用呀...不过这个版本的bug还是不少的...偶已经提交过2个bug report了.

10#   littlenew 于 2008-03-19 08:50:01 发表 | IP:218.18.28.*

有一些问题想问一下你:

那个带有删除版本的2.41还记得吧????输入以下路径会怎么样呢???

http://localhost:88/fckeditor/editor/filemanager/browser/netrube/browser.html?Type=/&connector=../../connectors/asp/connector.asp

整个站点的文件全部显示出来了,什么文件都可以删掉。

你可能会问:有那个权力 管理文件在呀!。

如果在config.asp将ConfigIsEnabled设为False,而filePowercheck.asp有一个奇怪的现象,, 在if session("abc")<>"" then 前加上一句session("abc")="123"才能正常工作,如果不加的话,这个判断语句似乎没有起到作 用,但它里面却执行了,而里面的ConfigIsEnabled=True却没有执行。

是不是很荒唐呀。又是我的什么地方错了????还请指点一下。

11#   柠檬园主 于 2008-03-20 10:18:42 发表 | IP:221.201.147.*

偶现在手上没有那个版本的,等晚上回家找找家里电脑上看看,另外用session判断的时候,如果你能明确知道session值的话,最好还是用=值来判断,而不要用非空来判断。 

12#   littlenew 于 2008-03-20 14:45:35 发表 | IP:218.17.63.*

说出来的话,可能会被别人笑话的。

1。行不通.

   config.asp  ------->   CofnigIsEnabled = False

     filePowerCheck.asp

     if session("abc")<>"" then

         response.write(session("abc"))

         ConfigIsEnabled = True              

   end if

2.行得通

      config.asp  ------->   CofnigIsEnabled = False

     filePowerCheck.asp

    session("abc")="123"      ------>就多这么一句却行的通了.试了两个晚上.

     if session("abc")<>"" then

         response.write(session("abc"))

         ConfigIsEnabled = True              

   end if

上面所写到的,是在用"浏览服务器"的时候才会出现的.

13#   littlenew 于 2008-03-20 16:06:18 发表 | IP:218.17.63.*

对了,可不要认为我登陆 时没有产生session,因此加上那个红色的session才对。

再怎么笨也不至于到这种地步吧。祝你好运。

14#   柠檬园主 于 2008-03-23 16:36:31 发表 | IP:116.3.13.*
看了一下那个带删除功能的版本,因为那个删除功能不是官方的,而是ASP上传部分的开发者NETRUBE(中国人)特别提供的,里面有这么一段代码:' SECURITY: You must explicitelly custom the filemanager permission.
Dim IsPermission
IsPermission     = CheckPermission()
' You can custom this function.
Function CheckPermission()
 CheckPermission    = False
' CheckPermission    = True
 
' Session
' If Session("IsLogined") Then CheckPermission   = True
 
' Cookies
' If Request.Cookies("IsLogined") Then CheckPermission = True
End Function
 
用上面的代码过行判断,就是把你自己的SESSION判断放到这个函数里,因为在这一版的时候,我也没提供filePowerCheck.asp这个文件,所以就不说filePowerCheck.asp的事了,你的问题在于sesson判断不正确;在这种情况下,如果说你能确定你的session值的话,最好还是最=variable来判断,而不是判断非空,因为你有可能在别处为这个名字的session赋了其它值而导致在这儿的验证失败。
另外,还是推荐使用最新的2.5.1的正式版本吧。然后再用我提供的那个filePowerCheck.asp,因为在新版里的浏览服务器和快速上传用的是同一个 config.asp,而以前的版本的浏览和快速上传是分开的。。。
15#   littlenew 于 2008-03-24 09:55:46 发表 | IP:218.18.129.*
2.5版本的在browser.html?Type=/里似乎不允许有/,all等字样,我试过了。
 
我搜遍了,也没有搜到你上面的那些代码,    版本      2.4.1Build 14797
我用的是你站点里的那个版本呀,你用的是那个版本呀??我上面没有你说的那些信息呀。
能不能提供一个下载地址,或者发到我的邮箱([email protected])都可以的。
主要是想用它的那个可以删除的功能。
 
打上我上面的那个地址可以看到整个根目录,太恐怖了。我的小站马上就挂掉了。
16#   柠檬园主 于 2008-03-24 11:16:52 发表 | IP:221.201.151.*
2.5版本里不允许那样的字还不好呀?不正符合你的安全的要求了吗?
我上面贴 的代码不是官方版本,官版本来就不带删除功能,而是上面说的netrube版的.
现在上班没有那个代码,要的话,晚上回家发给你吧.
17#   柠檬园主 于 2008-03-24 11:18:05 发表 | IP:221.201.151.*
对了,那段代码是里面的config.asp里的.
18#   littlenew 于 2008-03-24 12:46:04 发表 | IP:218.18.129.*
 
谢谢园主了。
Post a Comment~