FCKEditor 2.6x 似乎在 Chrome 底部被切断

发布于 2024-08-19 04:25:25 字数 187 浏览 7 评论 0原文

FCKEditor 的底部似乎被切断了——看不到边框。这只发生在 Google Chrome 中。 IE和Firefox好像没问题。这是几乎没有任何自定义的 FCKEditor 控件。

alt text

有办法解决这个问题吗?

The bottom of the FCKEditor seems to cut off - the border is not seen. This only happens in Google Chrome. IE and Firefox seem to be ok. This is the FCKEditor control with barely any customization.

alt text

Is there anyway to fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我一向站在原地 2024-08-26 04:25:26

我在 Chrome 中经常看到这种情况,即使是在最简单的网页上。 Chrome 无法渲染底部 100 像素左右,将其显示为白色或显示另一个选项卡的内容。这是有人发布的屏幕截图:
http://i46.tinypic.com/21l061k.jpg

仅供参考,我正在运行非常Chrome 的最新版本,因此可能存在持续存在的问题。

I see this a lot with Chrome, even on the simplest webpages. Chrome fails to render the bottom 100px or so, showing it as white or showing the contents of another tab. Here's a screenshot that someone posted:
http://i46.tinypic.com/21l061k.jpg

FYI I'm running the very latest version of Chrome so there may be an ongoing issue.

草莓酥 2024-08-26 04:25:25

似乎是 FCKEditor 2.6.5 中的一个已知错误。 Dravis 在 CKEditor 论坛中发布了一个补丁来修复高度计算:

http: //cksource.com/forums/viewtopic.php?p=41296#p41296

(从链接复制,以防论坛关闭):

在 fckeditor.html 中,我将第 286 行更改为:

eInnerElement.style.height = (oCell.scrollHeight - 2) + 'px' ;

对此:

if (FCKBrowserInfo.IsSafari)
   eInnerElement.style.height = (oCell.scrollHeight - 19) + 'px' ;
别的
   eInnerElement.style.height = (oCell.scrollHeight - 2) + 'px' ;

Appears to be a known bug in FCKEditor 2.6.5. Dravis in the CKEditor forums has posted a patch to fix the height calculation here:

http://cksource.com/forums/viewtopic.php?p=41296#p41296

(Copied from link, in case the forums are down):

In fckeditor.html, I changed line 286 from this:

eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;

To this:

if ( FCKBrowserInfo.IsSafari )
   eInnerElement.style.height = ( oCell.scrollHeight - 19 ) + 'px' ;
else
   eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文