• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ckeditor / ckeditor5-angular / 718

pending completion
718

cron

travis-ci-com

pomek
Release: v6.0.1.

38 of 38 branches covered (100.0%)

Branch coverage included in aggregate %.

157 of 157 relevant lines covered (100.0%)

25.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/app/simple-usage/simple-usage.component.ts
1
import { Component } from '@angular/core';
2
import AngularEditor from '../../../ckeditor/build/ckeditor';
3

4
@Component( {
5
        selector: 'app-simple-usage',
6
        templateUrl: './simple-usage.component.html',
7
        styleUrls: [ './simple-usage.component.css' ]
8
} )
9
export class SimpleUsageComponent {
1✔
10
        public Editor = AngularEditor;
10✔
11

12
        public isDisabled = false;
10✔
13
        public editorData =
10✔
14
                `<p>Getting used to an entirely different culture can be challenging.
15
While it’s also nice to learn about cultures online or from books, nothing comes close to experiencing cultural diversity in person.
16
You learn to appreciate each and every single one of the differences while you become more culturally fluid.</p>`;
17

18
        public componentEvents: Array<string> = [];
10✔
19

20
        public toggleDisableEditors(): void {
21
                this.isDisabled = !this.isDisabled;
2✔
22
        }
23

24
        public onReady(): void {
25
                this.componentEvents.push( 'The editor is ready.' );
1✔
26
        }
27

28
        public onChange(): void {
29
                this.componentEvents.push( 'Editor model changed.' );
1✔
30
        }
31

32
        public onFocus(): void {
33
                this.componentEvents.push( 'Focused the editing view.' );
1✔
34
        }
35

36
        public onBlur(): void {
37
                this.componentEvents.push( 'Blurred the editing view.' );
1✔
38
        }
39

40
        public onError(): void {
41
                this.componentEvents.push( 'The editor crashed.' );
1✔
42
        }
43
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc