var e = this.editor; // make sure to apply the displayed value e.setDisplayedValue(e.getDisplayedValue()); return e.getValue();