Hi I have 4 instances with names
html: output_en for ckeditor name text_en and
html: output_de for ckeditor name text_de in stead of html: output
Thanx in advance
text_en, text_de, text_it,text_frFrom the dialogName link I call
CKEDITOR.on( 'dialogDefinition', function( ev ) { var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; ev.data.definition.resizable = CKEDITOR.DIALOG_RESIZE_NONE; if ( dialogName == 'link' ) { var infoTab = dialogDefinition.getContents( 'info' ); var advTab = dialogDefinition.getContents( 'advanced' ); var urlOptionsPanel = infoTab.get('urlOptions'); urlOptionsPanel.children.push({ id : 'internalLink', type : 'html', html: output }); } });And this is the output for English
var output_en = '<SELECT name="internal_link" change="linkShortcut(this.value)" >'; output_en += '<option value="">Choose page</option>'; output_en += '<option value="./page1_en">Page1 EN</option>'; output_en += '<option value="./page2_en">Page2 EN</option>'; output_en += '<option value="./page3_en">Page3 EN</option>'; output_en +='</select>'; }French
var output_de = '<SELECT name="internal_link" change="linkShortcut(this.value)" >'; output_de += '<option value="">Choose page</option>'; output_de += '<option value="./page1_de">Page1 DE</option>'; output_de += '<option value="./page2_de">Page2 DE</option>'; output_de += '<option value="./page3_de">Page3 DE</option>'; output_de +='</select>'; }My question is how can I show
html: output_en for ckeditor name text_en and
html: output_de for ckeditor name text_de in stead of html: output
Thanx in advance