I updated ProjeqTor from 6.0.5 to 6.0.7 one hour ago.
When I return in my projects, activities, tickets.... (all screen which have a field "notes"), somenotes lost their formatting
If I create a new notes, sometime the formatting is take into account, sometimes no
If I try to modify a note which lost her formatting, it works sometimes, and sometimes not
And one another thing special : when I input text, the cursor "jump" sometime to another line !!!!
The field "Description seems to be not concerned,
Has someone th same problem ? How can I retrieve the good "formatting)
Try and replace in tool/projeqtor.php, lines 2816:2882 from
function isTextFieldHtmlFormatted($val) {
if (strtolower(substr($val,0,5))=='<div>' and strtolower(substr(rtrim($val,"\r\n"),-6))=='</div>') {
return true;
} else {
return false;
}
}
to
function isTextFieldHtmlFormatted($val) {
$test=strtolower(substr(ltrim($val),0,10));
if (substr($test,0,5)=='<div>' or substr($test,0,4)=='<ul>' or substr($test,0,4)=='<ol>') {
return true;
} else {
return false;
}
}
It works fine : all formatting are again here and correctly apply if I create new note.
For the other problem (cursor that jump from one to other line, or erase what I type), I think I have found the problem : plugin ADBLOCK is reponsible, and specialy the Easyprivacy List
Why, I don't still know but the problem source is identified : I have desactived this list and all works fine now.
I made upgrade to V6.0.8 today. The issue describe in this ticket below, still exists. In V. 6.0.5 it format's correct. I didn't try your workaround so far.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.