mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
tinymce added and working
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
|
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
|
||||||
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
|
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
|
||||||
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
|
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
|
||||||
|
<preference name="AndroidXEnabled" value="true" />
|
||||||
|
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
|
||||||
</platform>
|
</platform>
|
||||||
<allow-navigation href="http://localhost:8100" sessionid="9714472a" />
|
<allow-navigation href="http://localhost:8100" sessionid="9714472a" />
|
||||||
<allow-navigation href="http://localhost:8101" sessionid="4721f88c" />
|
<allow-navigation href="http://localhost:8101" sessionid="4721f88c" />
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
|||||||
NgxMatMomentModule,
|
NgxMatMomentModule,
|
||||||
MatSelectModule,
|
MatSelectModule,
|
||||||
MatButtonModule,
|
MatButtonModule,
|
||||||
|
EditorModule
|
||||||
|
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
@@ -193,7 +194,6 @@ import { FirebaseX } from '@ionic-native/firebase-x/ngx'; */
|
|||||||
NgxExtendedPdfViewerModule,
|
NgxExtendedPdfViewerModule,
|
||||||
FileOpener,
|
FileOpener,
|
||||||
DocumentViewer,
|
DocumentViewer,
|
||||||
EditorModule
|
|
||||||
|
|
||||||
],
|
],
|
||||||
bootstrap: [AppComponent],
|
bootstrap: [AppComponent],
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
<ion-header>
|
<editor
|
||||||
<ion-toolbar>
|
apiKey="wr5dk69kive0qr9ig6y5spqvlj3a0tsiwnzdsexnz241k69p"
|
||||||
<ion-title>tinyMCE</ion-title>
|
[init]="{
|
||||||
</ion-toolbar>
|
height: 500,
|
||||||
</ion-header>
|
menubar: false,
|
||||||
|
plugins: [
|
||||||
<ion-content>
|
'advlist autolink lists link image charmap print preview anchor',
|
||||||
<iframe src="src/assets/tinyMCE/editor.html"></iframe>
|
'searchreplace visualblocks code fullscreen',
|
||||||
|
'insertdatetime media table paste code help wordcount print'
|
||||||
</ion-content>
|
],
|
||||||
|
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 {
|
export class TinyMCEPage implements OnInit {
|
||||||
|
|
||||||
|
initialContent = '<h1>Hello, World!</h1><p>This is my HTML document.</p>';
|
||||||
|
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" type="text/css" href="src/assets/tinyMCE/skins/ui/oxide/skin.min.css">
|
<link rel="stylesheet" type="text/css" href="./skins/ui/oxide/skin.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="src/assets/tinyMCE/skins/content/default/content.min.css">
|
<link rel="stylesheet" type="text/css" href="./skins/content/default/content.min.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<textarea id="editor" placeholder="text area"></textarea>
|
<textarea id="editor" placeholder="text area"></textarea>
|
||||||
<script src="src/assets/tinyMCE/tinymce.min.js"></script>
|
<script src="./tinymce.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: '#editor',
|
selector: '#editor',
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -4,4 +4,4 @@ import { doneITDev } from './suport/doneIt'
|
|||||||
import { DevDev } from './suport/dev'
|
import { DevDev } from './suport/dev'
|
||||||
|
|
||||||
|
|
||||||
export const environment: Environment = DevDev
|
export const environment: Environment = oaprDev
|
||||||
@@ -35,8 +35,8 @@ export const oaprDev: Environment = {
|
|||||||
despachoLabel2: 'Despachos Presidênciais',
|
despachoLabel2: 'Despachos Presidênciais',
|
||||||
production: false,
|
production: false,
|
||||||
domain: 'oapr.gov.ao',
|
domain: 'oapr.gov.ao',
|
||||||
defaultuser: 'gmanuel@oapr.gov.ao',
|
defaultuser: '',
|
||||||
defaultuserpwd: 'M@p#2023',
|
defaultuserpwd: '',
|
||||||
chatOffline: true,
|
chatOffline: true,
|
||||||
presidential: true,
|
presidential: true,
|
||||||
version: versionData,
|
version: versionData,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user