this.setText(parent.text); // Keep the text up to date parent.setAttribute('text', txt); //Debug.write("ontext:", txt); // I created LPP-9197 so I don't have to do this manually myrte.destroy(); super.close(); // Dragging the window captures the mouse this.myrte.bringToFront(); this.drg.apply(); this.drg.remove(); this.setAttribute('text', text); this.editor = new lz.rte_editor (canvas,{title:'editor', width:600, height:400, resizable:true, closeable:true, text: this.text}); this.textdel = new LzDelegate (this, 'retrieveText'); this.textdel.register(this.editor, 'ontext'); Note: This is a beta release of the rte component. When you click on this text, you can edit it. This is another text object you can edit. This is an inline rte editor with custom buttons. this.setAttribute ('text', ''); ' + this.text + ''); ]]> this.addButton ({value:'Clear'}, new LzDelegate(this, 'rte_clear')); this.addButton ({type: 'image', src:'logo_small.png', width:'44', height:'44', alt:'All Bold', title:'All Bold'}, new LzDelegate(this, 'rte_bold')); // Set the color this.setStyle ('rte_buttons', 'backgroundColor', '#f0f0f0');