fix WYSIWYG editor content
This commit is contained in:
parent
1cb629cc67
commit
a5f245be9b
@ -98,26 +98,6 @@ class ManufacturerInfoLongdesc extends AdminDetailsController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns string which must be edited by editor
|
|
||||||
*
|
|
||||||
* @param \OxidEsales\Eshop\Core\Model\BaseModel $oObject object with field will be used for editing
|
|
||||||
* @param string $sField name of editable field
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
* @deprecated underscore prefix violates PSR12, will be renamed to "getEditValue" in next major
|
|
||||||
*/
|
|
||||||
protected function _getEditValue($oManufacturer, $sField) // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
|
|
||||||
{
|
|
||||||
$sEditObjectValue = '';
|
|
||||||
|
|
||||||
if ($oManufacturer and $oManufacturer->getId()) {
|
|
||||||
$sEditObjectValue = $this->_processEditValue($oManufacturer->getFieldData(Constants::D3_OXMANUFACTURERS_LONGDESC_FIELDNAME));
|
|
||||||
}
|
|
||||||
|
|
||||||
return $sEditObjectValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user