Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • Lotus Quickr wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 2010 Quickr 8.5 Customer Day
  • 8.0
  • 8.1
  • 8.1.1
  • 8.2
  • 8.5
  • administering
  • administrators
  • API
  • atom
  • authentication
  • best practices
  • best_practices
  • blogs
  • calendar integration
  • chat
  • clustering
  • configuration
  • configuring
  • Connections
  • Connectors
  • Content Integrator
  • customization
  • customizing
  • customizing_quickr
  • demo
  • deploying
  • deployment
  • Development
  • Document
  • document_libraries
  • Domino
  • draft
  • ECM
  • education
  • email
  • enablement
  • events
  • Feed
  • FileNet
  • folder
  • getting started
  • getting_started
  • installation
  • installing
  • integrating
  • introducing
  • key file
  • ldap
  • Library
  • lotusphere
  • LTPA
  • Masterclass
  • Media Gallery
  • media_Domino
  • media_Portal
  • migrating
  • migration
  • mml
  • nodes
  • notes
  • P8
  • performance
  • Places
  • Portal
  • profiles
  • proxy
  • qpconfig.xml
  • QRD85 Enablement
  • QuickPlace
  • Quickr
  • Quickr 8.5
  • Quickr Domino 8.2 Masterclass
  • Quickr Domino 8.5
  • Quickr Domino 8.5.1
  • Quickr Domino8.5
  • Quickr J2EE 8.1.1 Masterclass
  • Quickr_customization
  • Quickr_Domino_8.5
  • quickrD
  • QuickrJ
  • REST
  • Sametime
  • security
  • SiteMinder
  • SPNEGO
  • SSL
  • SSO
  • TAM
  • templates
  • test_infrastructure
  • theme
  • themes
  • tips
  • troubleshooting
  • upgrading
  • video
  • web_seminar
  • webservices
  • xml_node
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Customizing: Quickr for Domino > Integrating an Alternative Rich Text Editor into Lotus Quickr for Domino
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Integrating an Alternative Rich Text Editor into Lotus Quickr for Domino 

expanded Abstract
collapsed Abstract
No abstract provided.
The CKEditor is the open source editor that provides the rich text editor experience in Lotus Quickr for Domino. However, it is possible to leverage alternative web based rich text editors.

The details below will describe the process of switching the CKEditor with dijit.Editor, which is the rich text editor provided by the Dojo JavaScript toolkit. These steps may be modified to enable integrating additional alternative editors.

Perform the following steps to swap the Dojo rich text editor for the default CKEditor:
1. Shutdown the Quickr Domino server by typing “exit” in the Quickr Domino console window.
2. Create a Dojo JavaScript widget class that extends quickr.widgets.page.field.defaultFields . An example is provided in the dojoRichText.js file that is provided with this article. (See attached file: dojoRichText.js) The new class must define the following public methods: startEditor, setEditorValue, renderEdit, renderRead, and getFieldValue.
    Method
    Purpose
    startEditor
    Create an instance of the editor. Note: remember to ensure that the setEditorValue is called whenever a blur event is recognized on your editor instance.
    setEditorValue
    Provides a way to set the text value(including formatting) associated with the editor
    renderEdit
    Logic used to render the editor and corresponding data in edit mode
    renderRead
    Logic used to render the data in a read-only format
    getFieldValue
    Returns the field data value associated with the editor. This is usually called to determine what value should be saved to the server.

3. Copy the dojoRichText.js or the widget file that may be used to interact with the alternative editor into the following directory: Domino\data\domino\html\extensions\widgets\page\field
Note: Create the folders in the path if they do not exist. It is possible that the extensions\widgets\page\field portion of the path may not initially exist.
4. Create the widgetRegistryConfig_ext.js file if it does not already exist in the following directory: Domino\data\domino\html\qphtml\widgets\resources
5. Edit the widgetRegistryConfig_ext.js file that is referenced in the previous step by defining an extensions path for widgets and adding a reference to your editor widget with the following data:
    {
      registerWidgets:
      [
        {
          type: 'registermodulepath',
          name: 'quickrext',
          path: '/extensions/widgets'
        },
        {
          type: 'globalreplace',
          source: 'quickr.widgets.page.field.richText',
          use: 'quickrext.page.field.dojoRichText'
        }
      ]
    }
    Note: The use attribute value should be the name of your alternative editor widget, which is quickrext.page.field.dojoRichText in this example. In addition, an example of the widgetRegistryConfig_ext.js file with the dojoRichText reference is provided with this article.(See attached file: widgetRegistryConfig_ext.js)
    6. Start the Quickr Domino server.
    7. Now go edit or create a page or comment in a Quickr Domino team place.
    8. You will now notice that the alternative editor is used instead of the CKEditor that is normally used in Lotus Quickr Domino.




    expanded Article information
    collapsed Article information
    Category:
    Customizing: Quickr for Domino
    Tags:
    ckeditor, quickrD, editor, 8.5

    This Version: Version 16 October 29, 2010 1:46:43 AM by Dana Liburdi  IBMer

    expanded Attachments (2)
    collapsed Attachments (2)

     


    File TypeSizeFile NameCreated On
    application/x-javascript 2 KB dojoRichText.js 8/2/10 2:36 PM
    application/x-javascript 1 KB widgetRegistryConfig_ext.js 8/2/10 2:36 PM
    expanded Versions (16)
    collapsed Versions (16)
    Version Comparison     
    Version Date Changed by               Summary of changes
    This version (16) Oct 29, 2010 1:46:43 AM Dana Liburdi   Minor Change
    15 Sep 29, 2010 5:39:08 PM Bernadette A Carter  
    14 Sep 29, 2010 5:13:21 PM Bruce Roberts  
    13 Aug 9, 2010 2:54:17 PM Bernadette A Carter  
    12 Aug 9, 2010 12:12:02 PM Bernadette A Carter  
    11 Aug 9, 2010 12:10:32 PM Bernadette A Carter  
    10 Aug 9, 2010 12:07:05 PM Bernadette A Carter  
    9 Aug 9, 2010 12:04:29 PM Bernadette A Carter  
    8 Aug 4, 2010 2:49:17 PM Bernadette A Carter  
    7 Aug 4, 2010 2:36:49 PM Bernadette A Carter  
    6 Aug 4, 2010 2:34:11 PM Bernadette A Carter  
    5 Aug 3, 2010 8:52:50 AM Bernadette A Carter  
    4 Aug 2, 2010 3:17:58 PM Bernadette A Carter  
    3 Aug 2, 2010 3:00:56 PM Bernadette A Carter  
    2 Aug 2, 2010 2:58:28 PM Bernadette A Carter  
    1 Aug 2, 2010 2:47:49 PM Bernadette A Carter  
    expanded Comments (0)
    collapsed Comments (0)
    Copy and paste this wiki markup to link to this article from another article in this wiki.
    Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
    • All Lotus and WebSphere Portal wikis
    • IBM developerWorks
    • IBM Software support
    • IBM Social Business User Experience Blog
    • IBMSocialBizUX on Twitter
    • IBMSocialBizUX on Facebook
    • Lotus product forums
    • IBM Social Business UX Blog
    • IBM Collaboration Solutions
    • Recently added feedRecently added
    • Recently edited feedRecently edited
    • Recently added comments feedRecently Added Comments
    • Wiki Help
    • Forgot user name/password
    • Wiki design feedback
    • Content feedback
    • About the wiki
    • About IBM
    • Privacy
    • Contact IBM
    • IBM Terms of use
    • Wiki terms of use