Chinaunix首页 | 论坛 | 博客
  • 博客访问: 198087
  • 博文数量: 99
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1045
  • 用 户 组: 普通用户
  • 注册时间: 2014-07-15 14:24
文章分类
文章存档

2015年(9)

2014年(90)

我的朋友

分类: Web开发

2014-12-09 17:47:15

 1. Unzip the files in the sites/all/modules directory. It should now
      contain a fckeditor directory.
   2. Download FCKeditor from Unzip the
      contents of the fckeditor directory in the
      sites/all/modules/fckeditor/fckeditor directory.
   3. Enable the module as usual from Drupal's admin pages.
   4. Grant permissions for use of FCKeditor in
      "Administer > User Management > Permissions"
      Note: to enable the file browser, read also the
            "How to enable the file browser" section.
   5. Under "Administer > Site configuration > FCKeditor", adjust
      the fckeditor profiles. In each profile you can choose which textareas
      will be replaced by FCKeditor, select default toolbar and configure
      some more advanced settings.
   6. For the Rich Text Editing to work you also need to configure your filters
      for the users that may access Rich Text Editing.
      Either grant those users Full HTML access or use the following tags:
     



     


    1.      
       

           
      .
         7. To have a better control over line breaks, you may disable Line break converter
            in the chosen filter (recommended).
         8. Modify the fckeditor.config.js file to custom your needs (optional).
            You may copy the needed configuration lines from the default FCKeditor
            configuration settings (sites/all/modules/fckeditor/fckeditor/fckconfig.js),
            the lines in fckeditor.config.js will override most settings.
            In fckeditor.config.js you may define your own toolbars with selected buttons.
            WARNING: clear browser's cache after you modify any of the javascript files.
            If you don't do this, you may notice that browser is ignoring all your changes.
      阅读(774) | 评论(0) | 转发(0) |
      给主人留下些什么吧!~~