mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
improve edition of draft
This commit is contained in:
@@ -33,7 +33,6 @@ apiKey="wr5dk69kive0qr9ig6y5spqvlj3a0tsiwnzdsexnz241k69p"
|
||||
alignleft aligncenter alignright alignjustify | \
|
||||
bullist numlist outdent indent | removeformat | print | help' }"
|
||||
initialValue='{{content}}'
|
||||
[(ngModel)]="editorContent"
|
||||
[(ngModel)]="content"
|
||||
(onSaveContent)="somefunction()"
|
||||
></editor>
|
||||
<button (click)="somefunction()">Save Content</button>
|
||||
></editor>
|
||||
@@ -11,10 +11,11 @@ export class TinyMCEPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
title = '<h1>Hello, World!</h1><p>This is my HTML document.</p>';
|
||||
title = '<p><img style="display: block; margin-left: auto; margin-right: auto;" src="assets/TempImgs/TCROUND.png" alt="" width="102" height="104" />Just Testing with an image yoOH.</p>';
|
||||
Document: any
|
||||
content: any
|
||||
content: string
|
||||
editorContent: string;
|
||||
value: string;
|
||||
|
||||
|
||||
|
||||
@@ -28,6 +29,7 @@ export class TinyMCEPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.value = ""
|
||||
}
|
||||
|
||||
close() {
|
||||
@@ -35,7 +37,7 @@ export class TinyMCEPage implements OnInit {
|
||||
}
|
||||
|
||||
somefunction() {
|
||||
console.log(this.title)
|
||||
console.log(this.content)
|
||||
}
|
||||
|
||||
async openOptions() {
|
||||
@@ -43,8 +45,8 @@ export class TinyMCEPage implements OnInit {
|
||||
component: EventDetailsDocumentsOptionsPage,
|
||||
cssClass: 'model aside-modal search-submodal',
|
||||
componentProps: {
|
||||
/* fulltask: this.task,
|
||||
task: this.task */
|
||||
Document: this.Document,
|
||||
content: this.content
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
Reference in New Issue
Block a user