From 541d6e005f401e90b49697065fe85c1adde080e8 Mon Sep 17 00:00:00 2001 From: Junyang Date: Tue, 19 Jan 2021 16:30:58 +0100 Subject: [PATCH] docs: fix typos (#314) --- docs/full-featured-editor.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/full-featured-editor.md b/docs/full-featured-editor.md index 6a91757c..4efb9d34 100644 --- a/docs/full-featured-editor.md +++ b/docs/full-featured-editor.md @@ -58,7 +58,7 @@ import plugins from './plugins'; text_color: 'Text Color', background_color: 'Background Color', - // pupups, forms, others... + // popups, forms, others... url: 'URL', text: 'Text', openInNewTab: 'Open in new tab', @@ -76,7 +76,7 @@ export class AppModule {} ### app.component.ts ```ts -import { Component, OnInit, OnDestory, ViewEncapsulation } from '@angular/core'; +import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core'; import { AbstractControl, FormControl, FormGroup } from '@angular/forms'; import { Validators, Editor, Toolbar } from 'ngx-editor'; @@ -88,7 +88,7 @@ import plugins from './plugins'; styleUrls: ['app.component.scss'], encapsulation: ViewEncapsulation.None, }) -export class AppComponent implements OnInit, OnDestory { +export class AppComponent implements OnInit, OnDestroy { editor: Editor; toolbar: Toolbar = [ ['bold', 'italic'],