Thread:Extension talk:WYSIWYG/'unlink' button always disabled/reply

Workaround is to remove link text completely and copy-paste its visible text to page.

Reason to this seems to be that "link" function of CKeditor is enabled, but it is connected to link dialog function of MW. Also "unlink" function is enabled, but it does not work, unless original "link" function of CKeditor is also activated. Configuration of link button is some kind of mix of CKeditor and MW functions.

I can get unlink button work if I do following:


 * 1) isolate "link" button and function of MW into separate own function
 * 2) enable unlink function of CKeditor
 * 3) enable link function of CKeditor and place this button f.ex as last in menu (this function is not compatible with wysiwyg)

Another way to hack this is:
 * 1) remove/comment out definitions for link dialog of MW in plugin.js
 * 2) replace link.js dialog of CKeditor plugin with link dialog of MW

First alternative is nicer than the second one, but I do not like either of them :)

I could not find out how I can get access to unlink function of CKeditor. I could not find a way to hide unnecessary original link button of CKeditor.

Any ideas how this could be solved properly?