tinymce added and working

This commit is contained in:
Eudes Inácio
2023-07-03 12:04:52 +01:00
parent 4c15001cd3
commit 01324ad022
9 changed files with 34 additions and 27 deletions
+16 -10
View File
@@ -1,10 +1,16 @@
<ion-header>
<ion-toolbar>
<ion-title>tinyMCE</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<iframe src="src/assets/tinyMCE/editor.html"></iframe>
</ion-content>
<editor
apiKey="wr5dk69kive0qr9ig6y5spqvlj3a0tsiwnzdsexnz241k69p"
[init]="{
height: 500,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount print'
],
toolbar:
'undo redo | formatselect | bold italic backcolor | \
alignleft aligncenter alignright alignjustify | \
bullist numlist outdent indent | removeformat | print | help'
}"
></editor>
+3
View File
@@ -7,6 +7,9 @@ import { Component, OnInit } from '@angular/core';
})
export class TinyMCEPage implements OnInit {
initialContent = '<h1>Hello, World!</h1><p>This is my HTML document.</p>';
constructor() { }
ngOnInit() {