import {Component} from './component';
import {getLoading, htmlToDom} from '../services/dom';
-import {buildForInput} from '../wysiwyg/config';
+import {buildForInput} from '../wysiwyg-tinymce/config';
export class PageComment extends Component {
this.showLoading();
await window.$http.delete(`/comment/${this.commentId}`);
+ this.$emit('delete');
this.container.closest('.comment-branch').remove();
window.$events.success(this.deletedText);
- this.$emit('delete');
}
showLoading() {