diff --git a/package.json b/package.json index 1299fdf..a6b143a 100644 --- a/package.json +++ b/package.json @@ -7,20 +7,20 @@ "@babel/preset-react": "7.24.7", "@date-fns/tz": "1.1.2", "@emotion/styled": "11.13.0", - "@number-flow/react": "^0.2.0", + "@number-flow/react": "0.2.0", "@tanstack/react-table": "^8.20.5", "@wordpress/i18n": "5.8.0", "@wordpress/react-i18n": "4.8.0", "@xyflow/react": "12.3.1", "codice-fiscale-js": "2.3.22", "deep-object-diff": "^1.1.9", - "dompurify": "^3.1.7", + "dompurify": "3.1.7", "fast-deep-equal": "3.1.3", "html-react-parser": "5.1.16", "jwt-decode": "4.0.0", "klona": "2.0.6", "luxon": "3.5.0", - "object-path-immutable": "^4.1.2", + "object-path-immutable": "4.1.2", "primeicons": "7.0.0", "primereact": "10.8.4", "quill": "2.0.2", diff --git a/src/assets/scss/components/appForm.scss b/src/assets/scss/components/appForm.scss index c8f4180..db6b970 100644 --- a/src/assets/scss/components/appForm.scss +++ b/src/assets/scss/components/appForm.scss @@ -234,7 +234,7 @@ } .appForm__content { - p { + /*p { margin: 0; &.ql-indent-1 { @@ -271,7 +271,7 @@ li[data-list="bullet"] { list-style: disc; - } + }*/ } .appForm__delegaForm { diff --git a/src/pages/BandoApplication/index.js b/src/pages/BandoApplication/index.js index b1b7ae9..be7b3f3 100644 --- a/src/pages/BandoApplication/index.js +++ b/src/pages/BandoApplication/index.js @@ -4,6 +4,7 @@ import { useParams } from 'react-router-dom'; import { head, is, pluck, isEmpty, pathOr } from 'ramda'; import { useForm } from 'react-hook-form'; import { TZDate } from '@date-fns/tz'; +import "quill/dist/quill.core.css"; // store import { storeSet, storeGet, useStore } from '../../store'; @@ -564,7 +565,9 @@ const BandoApplication = () => { //console.log('validations', validations, o.name) return ['paragraph'].includes(o.name) && text - ?
{renderHtmlContent(text.value)}
+ ?
+ {renderHtmlContent(text.value)} +
: { }, {}); return ['paragraph'].includes(o.name) && text - ?
{renderHtmlContent(text.value)}
+ ?
+ {renderHtmlContent(text.value)} +
: {

{__('Descrizione breve', 'gepafin')}

-
+
{renderHtmlContent(data.descriptionShort)}
@@ -138,7 +139,7 @@ const BandoView = () => {

{__('Descrizione dettagliata', 'gepafin')}

-
+
{renderHtmlContent(data.descriptionLong)}
@@ -156,7 +157,7 @@ const BandoView = () => {

{__('Documentazione Richiesta', 'gepafin')}

-
+
{renderHtmlContent(data.documentationRequested)}
@@ -191,9 +192,9 @@ const BandoView = () => { {data.faq .filter(o => o.isVisible) .map((o, i) => -

+

{renderHtmlContent(o.response)} -

+
)}
diff --git a/src/pages/BandoViewBeneficiario/index.js b/src/pages/BandoViewBeneficiario/index.js index e9c237d..284699a 100644 --- a/src/pages/BandoViewBeneficiario/index.js +++ b/src/pages/BandoViewBeneficiario/index.js @@ -2,6 +2,7 @@ import React, { useState, useEffect, useRef } from 'react'; import { __ } from '@wordpress/i18n'; import { useNavigate, useParams } from 'react-router-dom'; import { is, isEmpty, isNil } from 'ramda'; +import "quill/dist/quill.core.css"; // store import { storeSet, useStore } from '../../store'; @@ -268,7 +269,7 @@ const BandoViewBeneficiario = () => {

{__('Descrizione breve', 'gepafin')}

-
+
{renderHtmlContent(data.descriptionShort)}
@@ -303,7 +304,7 @@ const BandoViewBeneficiario = () => {

{__('Descrizione dettagliata', 'gepafin')}

-
+
{renderHtmlContent(data.descriptionLong)}
@@ -321,7 +322,7 @@ const BandoViewBeneficiario = () => {

{__('Documentazione Richiesta', 'gepafin')}

-
+
{renderHtmlContent(data.documentationRequested)}
@@ -356,9 +357,9 @@ const BandoViewBeneficiario = () => { {data.faq .filter(o => o.isVisible) .map((o, i) => -

+

{renderHtmlContent(o.response)} -

+
)}