From 4d6ff1726262a724fe78bdea76a3cbcc075dda9a Mon Sep 17 00:00:00 2001 From: John Zwarthoed Date: Sat, 6 Jul 2019 01:42:59 +0200 Subject: [PATCH] fix(): move DOCUMENT import to @angular/common (#29) --- src/platform/text-editor/text-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/text-editor/text-editor.component.ts b/src/platform/text-editor/text-editor.component.ts index 3b7d4a4c4a..3b131da896 100644 --- a/src/platform/text-editor/text-editor.component.ts +++ b/src/platform/text-editor/text-editor.component.ts @@ -1,7 +1,7 @@ import { Component, Input, AfterViewInit, ViewChild, ElementRef, forwardRef, NgZone, Inject } from '@angular/core'; import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; import { DomSanitizer } from '@angular/platform-browser'; -import { DOCUMENT } from '@angular/platform-browser'; +import { DOCUMENT } from '@angular/common'; import * as SimpleMDE from 'simplemde'; // get access to the marked class under simplemde import * as marked from 'marked';