You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2008/02/16 19:09:25 UTC

svn commit: r628369 - /roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java

Author: snoopdave
Date: Sat Feb 16 10:09:24 2008
New Revision: 628369

URL: http://svn.apache.org/viewvc?rev=628369&view=rev
Log:
Reverting to 'editor-rte.jsp' ID and adding note about historical reason for this ID.

Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java?rev=628369&r1=628368&r2=628369&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java (original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/plugins/XinhaEditor.java Sat Feb 16 10:09:24 2008
@@ -20,7 +20,8 @@
 
 
 /**
- * A rich text wysiwyg editor using Xinha.
+ * A rich text WYSIWYG editor using Xinha.
+ * Uses ID of 'editor-rte.jsp' for historical reasons.
  */
 public class XinhaEditor implements WeblogEntryEditor {
     
@@ -29,7 +30,9 @@
     
     
     public String getId() {
-        return "editor-xinha.jsp";
+        // return RTE becuase at one point we replaced RTE with Xinha
+        // the real RTE editor will have to use a differernt ID.
+        return "editor-rte.jsp";
     }
     
     public String getName() {