html editor not loading properly

Discussion created by MDonnellyesriaustralia-com-au-esridist Employee on Dec 9, 2010
Latest reply on Dec 19, 2010 by MDonnellyesriaustralia-com-au-esridist

I'm using a template picker and when I set it up I specify that a rich text editor be shown for a certain attribute in the infoWindow ('HYPERLINK'). See my template definition below:
function initEditor(results) {

                var layers =, function(result) {
                    return {featureLayer:result.layer, htmlFields:["HYPERLINK"]};
                var templateLayers =, function(result) {
                    return result.layer;
                var templatePicker = new esri.dijit.editing.TemplatePicker({
                    featureLayers: templateLayers,
                    rows: 'auto',
                    columns: 3,
                    style: "height: 100%;"

                var settings = {
                    templatePicker: templatePicker,
                    map: map,
                    geometryService: new esri.tasks.GeometryService(""),
                    toolbarVisible: false,
                    createOptions: { polygonDrawTools:[esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYGON] }
                var params = {settings: settings};
                var myEditor = new esri.dijit.editing.Editor(params);


The problem is that when the infoWindow displays, the rich text editor isn't fully loaded. The outline is visible but none of the buttons are rendered. Interestingly, the buttons, though not rendered are selectable. If I create a web link using the link button, the dialogue appears and I can enter text into it. However, I can't click on the hyperlink after I set it and it is not saved to my SDE either. So, when I refresh and then click on the feature the web link is not there.

If I don't use the web link button and just enter free text, the content is saved to the SDE.

Has anyone else had trouble of this kind?