Thread:Extension talk:WYSIWYG/Editor removes assigned category/reply (11)

Tried this in 1.21 using IE9 and every time I save the code is saved as (NB underlines) and not recognised as a category or valid link. Is anything supposed to be changed or added other than the 22 lines beginning "$categories = $parserOutput->getCategories;"?

This appears to be because the _GetNodeText function in plugins/mediawiki/plugin.js is returning a blank string using text = htmlNode.text;

IE9 and above support .textcontent, so the browser identification needs changing to identify IE 8 and lower for .text

So far as I can tell it's the only place .text is used, but it needs an overhaul of the browser compatibility code. Flicking between source and wysiwyg repeatedly produces some very strange results.