Dustin Edwards - 2008-02-14 03:25:21 -
In reply to message 1 from kevin king
What I did...
In AjaxEditInPlace.inc.php at the end,
I changed the p to div:
function getEditInPlaceCode($idName) {
return '<p class="'.$this->styleSheetClassName.'" id="'.$idName.'" title="Click here to edit this text">'.$this->codeToBeEdited.'</p>';
to this...
function getEditInPlaceCode($idName) {
return '<div class="'.$this->styleSheetClassName.'" id="'.$idName.'" title="Click here to edit this text">'.$this->codeToBeEdited.'</div>';
It returns valid xhtml and does not break the edit in place, as far as I can see.
Dustin Edwards