Please put(WidgetConstants.INLINE_WIDGET_KEY, true) in the widget params from the editor instead of injecting in the parser.  Other widgets should do the same thing without having a parser side.