Aggiornamenti Flotta, Nave, Dashboard, Tabelle, Popupmenu

This commit is contained in:
Paolo Arena
2020-06-02 22:19:20 +02:00
parent 3fb1de9b70
commit bd6ccad236
18 changed files with 993 additions and 254 deletions

View File

@@ -22,6 +22,8 @@ export default class CMyEditor extends Vue {
public myvalue = ''
public mycolor = ''
public showeditor: boolean = true
public myfonts = {
arial: 'Arial',
arial_black: 'Arial Black',
@@ -98,6 +100,20 @@ export default class CMyEditor extends Vue {
this.$emit('update:value', newval)
}
public annulla() {
this.$emit('annulla', true)
}
public saveval() {
// Converti i <b> in <strong>
this.myvalue = tools.convertiTagHTMLPerBOT(this.myvalue)
console.log('saveval', this.myvalue)
this.$emit('showandsave', this.myvalue)
// this.$emit('update:value', this.myvalue)
this.showeditor = false
}
public mounted() {
this.myvalue = this.value
this.editor = this.$refs.editor_ref