Changeset 6803


Ignore:
Timestamp:
04/28/11 21:52:27 (4 years ago)
Author:
wwalc
Message:

Updated docs

Location:
CKEditor.Java
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • CKEditor.Java/ckeditor-java-core/trunk/pom.xml

    r6798 r6803  
    2626                </license> 
    2727        </licenses> 
     28        <organization> 
     29                <name>CKSource - Frederico Knabben</name> 
     30                <url>http://cksource.com</url> 
     31        </organization> 
    2832        <scm> 
    2933                <url>http://svn.ckeditor.com/CKEditor.Java/ckeditor-java-core/trunk</url> 
  • CKEditor.Java/ckeditor-java-core/trunk/src/main/java/com/ckeditor/CKEditorConfig.java

    r6795 r6803  
    1111 
    1212/** 
    13  * CKEditor tag for the Java configuration class. 
     13 * CKEditor configuration class. 
    1414 */ 
    1515public class CKEditorConfig implements Cloneable { 
     
    4040         * <b>Usage:</b> 
    4141         * <pre>config.addConfigValue("baseHref", "http://www.example.com/path/");</pre> 
    42          * <pre>config.addConfigValue("toolbar", [[ 'Source', '-', 'Bold', 'Italic' ]]);</pre> 
     42         * <pre>config.addConfigValue("toolbar", "[[ 'Source', '-', 'Bold', 'Italic' ]]");</pre> 
    4343         * @param key configuration parameter key 
    4444         * @param value configuration parameter value. 
     
    5151         * Adds a Map parameter to the configuration. 
    5252         * <b>Usage:</b> 
    53          * <pre>Map<String, Object> map = new HashMap<String, Object>();</pre> 
     53         * <pre>Map&lt;String, Object&gt; map = new HashMap&lt;String, Object&gt;();</pre> 
    5454         * <pre>map.put("element", "span");</pre> 
    5555         * <pre>map.put("styles", "{'background-color' : '#(color)'}");</pre> 
     
    6767         * <b>Usage:</b> 
    6868         * <pre>  
    69                 List<List<String>> list = new ArrayList<List<String>>(); 
    70                 List<String> subList = new ArrayList<String>(); 
     69                List&lt;List&lt;String&gt;&gt; list = new ArrayList&lt;List&lt;String&gt;&gt;(); 
     70                List&lt;String&gt; subList = new ArrayList&lt;String&gt;(); 
    7171                subList.add("Source"); 
    7272                subList.add("-"); 
  • CKEditor.Java/ckeditor-java-core/trunk/src/main/java/com/ckeditor/CKEditorInsertTag.java

    r6796 r6803  
    1616 * &lt;ckeditor:editor&gt; tag code. 
    1717 * <b>Usage:</b> 
    18  * <pre>&lt;ckeditor:editor basePath="../../ckeditor/" editor="editor1" /&gt;</pre> 
     18 * <pre>&lt;ckeditor:editor basePath="/ckeditor/" editor="editor1" /&gt;</pre> 
    1919 */ 
    2020public class CKEditorInsertTag extends CKEditorTag { 
  • CKEditor.Java/ckeditor-java-core/trunk/src/main/java/com/ckeditor/CKEditorReplaceAllTag.java

    r6796 r6803  
    88 * &lt;ckeditor:replaceAll&gt; tag code. 
    99 * <b>Usage:</b> 
    10  * <pre>&lt;ckeditor:replaceAll basePath="../../ckeditor/" /&gt;</pre> 
     10 * <pre>&lt;ckeditor:replaceAll basePath="/ckeditor/" /&gt;</pre> 
    1111 */ 
    1212public class CKEditorReplaceAllTag extends CKEditorTag { 
  • CKEditor.Java/ckeditor-java-core/trunk/src/main/java/com/ckeditor/CKEditorReplaceTag.java

    r6796 r6803  
    99 * &lt;ckeditor:replace&gt; tag code. 
    1010 * <b>Usage:</b> 
    11  * <pre>&lt;ckeditor:replace replace="editor1" basePath="../../ckeditor/" /&gt;</pre> 
     11 * <pre>&lt;ckeditor:replace replace="editor1" basePath="/ckeditor/" /&gt;</pre> 
    1212 */ 
    1313public class CKEditorReplaceTag extends CKEditorTag { 
  • CKEditor.Java/ckeditor-java-core/trunk/src/main/java/com/ckeditor/TagHelper.java

    r6796 r6803  
    1515         
    1616        private static final String[] CHARS_FROM  
    17                                         = {"\\", "/", "\n", "\t", "\r", "\0c", "\0c", "\""}; 
     17                                        = {"\\", "/", "\n", "\t", "\r", "\b", "\f", "\""}; 
    1818        private static final String[] CHARS_TO  
    1919                                        = {"\\\\", "\\/", "\\\n", "\\\t", "\\\r", "\\\b", "\\\f", "\\\""}; 
     
    3636         * Creates JavaScript code for including ckeditor.js. 
    3737         * @param basePath CKEditor base path 
    38          * @param args script agruments 
     38         * @param args script arguments 
    3939         * @return JavaScript code 
    4040         */ 
  • CKEditor.Java/ckeditor-java/trunk/pom.xml

    r6790 r6803  
    2626                </license> 
    2727        </licenses> 
     28        <organization> 
     29                <name>CKSource - Frederico Knabben</name> 
     30                <url>http://cksource.com</url> 
     31        </organization> 
    2832        <packaging>war</packaging> 
    2933        <build> 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy