2 Replies Latest reply on Jan 26, 2010 7:59 AM by Matthias Reusch

    Richeditor how to install plugin

    Matthias Reusch Newbie
      Hi,

      i try to use plugin syntaxhl

      but it does not work

      my web project structure

      tracking
         |
          - js
         |   |
         |    - tinymceplugins
         |         |
         |          - syntaxhighlight
         |               |
         |                - img
         |               |
         |                - js
         |               |
         |                - langs
         |               |
         |                - dialog.htm
         |               |
         |                - editor_plugin.js
         |               |
         |                - editor_plugin_src.js
         |
          - WEB-INF
         |   |
         |    - classes
         |        |
         |         - rteplugins.properties
         |        |
         |         - log4j.properties
         |
          - index.html


         
      rteplugins.properties contains path to plugin

          syntaxhl=/js/tinymceplugins/syntaxhighlight/editor_plugin.js


      rich:editor in jsp


                              <rich:editor
                                  id="editor" width="700" height="300"
                                  value="#{sel4.logData}" viewMode="visual"
                                  useSeamText="false" customPlugins="rteplugins">
                                  <f:param name="syntaxhl_highlight" value="xml" />
                              </rich:editor>


      what's my fault. can anybody help?

      Matthias