ueditorノットの使用

2354 ワード

1.   
    js:
        ueditor.config.js
        ueditor.all.js

    css/images/plugin:
        themes
        lang
        dialog(  )
        third-party(  )
    
2.   
       ueditor.config.js   UEDITOR_CONFIG

    a.    themes, lang, third-party    ,          ,   UEDITOR_HOME_URL     
               themePath, langPath, UEDITOR_HOME_URL
    b.       toolbars
        simpleupload            :     :    ,        
        insertimage             :     ,     
    c.     (        ,     :http://ueditor.baidu.com/doc/)
        initialFrameHeight      :        
        enableContextMenu       :       
        enableAutoSave          :       
        topOffset               :        top  
        imageScaleEnabled       :       
        elementPathEnabled      :         
        catchRemoteImageEnable  :         
        iframeCssUrl            :     iframe      css     
        wordCount               :       
    d.   
        simpleupload            :     :    ,        
                       ,          getActionUrl    ,  
        insertimage             :     ,     
                       
        autoupload              :          ,          
                       
        catchremoteimage        :       ,                                   
                       
            catcherFieldName    :        form name
            catcherLocalDomain  :           domain
    e.      
          :http://fex.baidu.com/ueditor/#dev-developer
3.      
    a.                ,    ,    ,      
               ,     iframe,  iframe    onclick,       iframe(ie, ff     )
    b.           ,           ,focus     
              fire: me.fireEvent("contentchange");
    c. simpleupload    title
           initUploadBtn ,  input    title
    d.           iframe         
               ,  EditorUI.prototype   getHtmlTpl    
    e. http      css   ,     js      ,            
             css          ,  head   ,   UE.ui.Editor    js    css    
    f.   IE   iframeCssUrl         ,          
            Editor.prototype   render