Hello everybody.
I need to change the target menu in the link dialog, so that only _self and _blank are included. Can you please point me some documentation on how to do this?
There is this page Dialog Customization [0], that basically show that it can be done. But it seems I need something more explanations about to get this done.
Thanks,
Michael
[0] http://docs.cksource.com/CKEditor_3.x/D ... tomization
Tue, 09/21/2010 - 16:38
#1
Re: Customize Target Menu in Link Dialog
Re: Customize Target Menu in Link Dialog
FYI

The remove() function accepts an index number but every time you remove something, the indexes will change. For example:
Option 1
Option 2
Option 3
If you want to remove Option 2 and Option 3 you have to do this:
targetField.remove(1);
targetField.remove(1);
Or alternatively, remove then in reverse order (starting at highest index):
targetField.remove(2);
targetField.remove(1);
It's not very intuituve or elegant,IMHO.