fixing the simple richt text widget, now can be used in an ajax call