Skip to content

Commit

Permalink
docs: fix typos (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKun authored Jan 19, 2021
1 parent e737b67 commit 541d6e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/full-featured-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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';

Expand All @@ -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'],
Expand Down

0 comments on commit 541d6e0

Please sign in to comment.