PDA

View Full Version : Ext.for.field.HtmlEditor edit existing hyperlink



g.p
1 Oct 2012, 2:20 AM
When I try to edit an existing hyperlink, the previously inserted value is lost.
Forgot I something in the configuration?
I'm using Architect.
Thanks


{
xtype: 'htmleditor',
height: 300,
id: '',
minHeight: 150,
padding: '0 0 10 0',
width: 700,
defaultValue: '',
enableFont: false,
name: 'testo',
fieldLabel: 'Testo'
}

scottmartin
3 Oct 2012, 6:48 PM
You would most likely need to create an override to change this.

Have a look at the function: HtmlEditor::createLink
It uses: defaultLinkValue to set default.

Scott.