Autogrow lets fckeditor height with content Add Plugin _ page Editor

Source: Internet
Author: User
This plugin may not work properly by default and must be modified.
Open the file where the plugin resides:/editor/plugins/autogrow/fckplugin.js
Find Line 65th:
Window.frameElement.height = imainframesize;
Modify it to:
Copy Code code as follows:

if (window.frameElement.style.height) {
Window.frameElement.style.height = imainframesize;
}
else {
Window.frameElement.height = imainframesize;
}

This will be compatible with IE and Firefox browsers.
To enable Plug-ins:
Open File:/fckeditor/fckconfig.js
Enable these two lines:
FCKCONFIG.PLUGINS.ADD (' autogrow ');
Fckconfig.autogrowmax = 600;
Autogrowmax is the maximum height limit. You can set it on your own.
Reference: http://cksource.com/forums/viewtopic.php?f=6&t=10214&p=30094

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.