mirror of
https://github.com/processwire/processwire.git
synced 2025-08-26 16:14:35 +02:00
Fix issue processwire/processwire-issues#627 InputfieldCKEditor when extraAllowedContent empty
This commit is contained in:
@@ -309,6 +309,10 @@ class InputfieldCKEditor extends InputfieldTextarea {
|
|||||||
'pwAssetPageID' => $assetPage->id,
|
'pwAssetPageID' => $assetPage->id,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if(empty($settings['extraAllowedContent'])) {
|
||||||
|
unset($settings['extraAllowedContent']);
|
||||||
|
}
|
||||||
|
|
||||||
if($assetPage !== $this->hasPage && $assetPage->id) {
|
if($assetPage !== $this->hasPage && $assetPage->id) {
|
||||||
// external asset page (FUTURE USE)
|
// external asset page (FUTURE USE)
|
||||||
$imagesInputfield = $this->wire('modules')->get('InputfieldImage');
|
$imagesInputfield = $this->wire('modules')->get('InputfieldImage');
|
||||||
|
Reference in New Issue
Block a user