Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created March 30, 2020 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/55fd69648dc80b45335269b0e99d9228 to your computer and use it in GitHub Desktop.
Save bjoerntx/55fd69648dc80b45335269b0e99d9228 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
declare const removeEditorFromDom: any;
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'TXTestApp';
removeEditor() {
removeEditorFromDom();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment