Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Sign in to participate Previous Next
Subject: DOJO Customization
Feedback Type: Question
Product Area: Domino Server
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always

I have had some sucess with modifications to the DOJO editor as it ships with Domino. I have been able to add links and images to the toolbar. I have also been able to add the view source and the full screen capability but the icon does not show on the toolbar. I need to be able to add a table and change the list of fonts. Below is a copy of my data\domino\template\dojo-1.4.3\dom_richtext.htm.
I should be able to make the table work by just adding the appropriate dojo.require (dojox.editor.plugins.TablePlugins) statement and the short name (insertTable) but that does not work. I also cannot find an example of how to change the list of fonts. Any ideas would be appriciated.


<!-- template dom_richtext.htm -->
&DOMINO_CTRL_HEAD;
&DOMINO_CTRL_INCLUDE;dom_common.htm&DOMINO_CTRL_INCLUDE_END;
<script type="text/javascript">
dojo.require('ibm.domino.widget.layout.DominoRichText');
dojo.require("dijit._editor.plugins.LinkDialog");
dojo.require("dijit._editor.plugins.FullScreen");
dojo.require("dijit._editor.plugins.ViewSource");
var rteList = new Array();
function GetJSEditorData() {
for (var j=0; j < rteList.length; j++) {
rteList[j](null);
}
return true;
};
</script>&DOMINO_CTRL_HEAD_END;
&DOMINO_CTRL_FORM_ID;&DOMINO_CTRL_FORMNAME;&DOMINO_CTRL_FORM_ID_END;
&DOMINO_CTRL_BODY;<div class="domino-richtext"><textarea name="tb&DOMINO_CTRL_FLDNAME;" id="tb&DOMINO_CTRL_FLDNAME;">&DOMINO_CTRL_FLDVALUE;</textarea></div>
&DOMINO_CTRL_BODY_END;
&DOMINO_CTRL_FLD_INIT;
<input name="&DOMINO_CTRL_FLDNAME;" type="hidden" value="" ID="&DOMINO_CTRL_FLDNAME;">
<script type="text/javascript">
function get&DOMINO_CTRL_FLDNAME;(evt) {
dojo.byId('&DOMINO_CTRL_FLDNAME;').value=dijit.byId('tb&DOMINO_CTRL_FLDNAME;').getValue(false);
return true;
}
</script>
<script type="text/javascript">
dojo.addOnLoad(function() {
var rte=new ibm.domino.widget.layout.DominoRichText({extraPlugins: ['|', 'insertImage', 'createLink', 'formatBlock', 'fullscreen', 'viewsource', '|']}, dojo.byId('tb&DOMINO_CTRL_FLDNAME;'));
rte.init();
rteList.push(get&DOMINO_CTRL_FLDNAME;);
dojo.connect(dojo.byId('&DOMINO_CTRL_FORMNAME;'), "onsubmit", null, get&DOMINO_CTRL_FLDNAME;, true);});
</script>&DOMINO_CTRL_FLD_INIT_END;


Feedback number WEBB8MBRCV created by Steve M Galentine on 10/04/2011

Status: Open
Comments:

DOJO Customization (Steve M Galenti... 4.Oct.11)
. . you could also try the CKEditor (Mark Vincenzes 5.Oct.11)
. . . . That was my first choice (Steve M Galenti... 6.Oct.11)
. . . . . . changed the font? can you elaborat... (Mark Vincenzes 6.Oct.11)
. . . . . . . . Font changes (Steve M Galenti... 6.Oct.11)
. . . . . . . . . . mospace fonts work for me / I'll lo... (Mark Vincenzes 7.Oct.11)
. . . . . . . . . . the rich text html needs to be in a... (Mark Vincenzes 7.Oct.11)
. . . . . . . . . . . . Thanks for the help (Steve M Galenti... 11.Oct.11)
. . . . . . . . . . . . . . glad I could be of help (Mark Vincenzes 11.Oct.11)
. . . . . . . . Yet another problem with using the ... (Steve M Galenti... 13.Oct.11)
. . . . . . . . . . my guess is that CKeditor is affect... (Mark Vincenzes 13.Oct.11)




Printer-friendly

Search this forum


Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite