diff --git a/config.xml b/config.xml index d592cd3bc..641257f0f 100644 --- a/config.xml +++ b/config.xml @@ -46,6 +46,8 @@ + + diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3e264cf1e..41e994d7e 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -157,6 +157,7 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */ NgxMatMomentModule, MatSelectModule, MatButtonModule, + EditorModule ], providers: [ @@ -193,7 +194,6 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */ NgxExtendedPdfViewerModule, FileOpener, DocumentViewer, - EditorModule ], bootstrap: [AppComponent], diff --git a/src/app/tiny-mce/tiny-mce.page.html b/src/app/tiny-mce/tiny-mce.page.html index 345c8aa97..2fb09ea71 100644 --- a/src/app/tiny-mce/tiny-mce.page.html +++ b/src/app/tiny-mce/tiny-mce.page.html @@ -1,10 +1,16 @@ - - - tinyMCE - - - - - - - + \ No newline at end of file diff --git a/src/app/tiny-mce/tiny-mce.page.ts b/src/app/tiny-mce/tiny-mce.page.ts index 177cf1ae0..913b6749b 100644 --- a/src/app/tiny-mce/tiny-mce.page.ts +++ b/src/app/tiny-mce/tiny-mce.page.ts @@ -7,6 +7,9 @@ import { Component, OnInit } from '@angular/core'; }) export class TinyMCEPage implements OnInit { + initialContent = '

Hello, World!

This is my HTML document.

'; + + constructor() { } ngOnInit() { diff --git a/src/assets/tinyMCE/editor.html b/src/assets/tinyMCE/editor.html index 17bf152c1..8c7252e99 100644 --- a/src/assets/tinyMCE/editor.html +++ b/src/assets/tinyMCE/editor.html @@ -1,12 +1,12 @@ - - + + - +