mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
tinymce added and working
This commit is contained in:
@@ -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>
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user