This class was added to resolve T37247: content-holding <div> should only contain the page text to fix pending issues with TemplateStyles. For the styles added by TemplateStyles to be applied properly in VE, VE's content editing area should have class mw-parser-output or be enclosed in an element with that class.
Chances are you can simply add the new class to the div that you're already adding mw-content-ltr or mw-content-rtl to.