PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:14:43 +01:00
parent f0098e57b2
commit bc960d38a1
1044 changed files with 5323 additions and 10823777 deletions

View File

@@ -1,5 +1,5 @@
import { tools } from '@store/Modules/tools'
import { tools } from '@tools'
import { CTitleBanner } from '../CTitleBanner'
import { defineComponent, onMounted, ref, toRef, watch } from 'vue'
@@ -51,7 +51,7 @@ export default defineComponent({
const myvalue = ref('')
const mycolor = ref('')
const showeditor= ref(true)
const showeditor = ref(true)
const myfonts = ref({
arial: 'Arial',
@@ -126,9 +126,9 @@ export default defineComponent({
watch(() => props.value, (newval, oldval) => {
if (props.value === undefined)
myvalue.value = ''
else
myvalue.value = props.value
myvalue.value = ''
else
myvalue.value = props.value
})
@@ -204,7 +204,7 @@ export default defineComponent({
characterCount.value = getTextLength(myvalue.value)
}
function onPaste (evt: any) {
function onPaste(evt: any) {
// Let inputs do their thing, so we don't break pasting of links.
if (evt.target.nodeName === 'INPUT') return
let text, onPasteStripFormattingIEPaste