class HtmlEditor extends BaseEditor<String, DefaultMetadata> {

    @Override
    protected void save() {
        final String htmlContent = editor.getContent();
        htmlEditorService.call(getSaveSuccessCallback(htmlContent.hashCode())).save(versionRecordManager.getCurrentPath(),
                                                                                    htmlContent,
                                                                                    null,
                                                                                    null);
        concurrentUpdateSessionInfo = null;
    }

    @Inject public  HtmlEditor(final HtmlResourceType htmlResourceType,
                      final HtmlEditorPresenter editor,
                      final Caller<HtmlEditorService> htmlEditorService);

}