class UpdateContent extends BaseTool {
    getIcone() {
        return "<i class='fa fa-edit'></i>";
    }

    getName() {
        return Language.GetCode("Base.TextRichEditorUpdateContent");
    }
    execute(e) {

        this.editor.clearBeforeSave();

        for (let event in this.events) {
            if (this.events[event]["type"] == e.type) {
                this.events[event]['handler'](this.editor);
            }
        }
    }
}
