Version 5.0.0 beta 11.1
This commit is contained in:
1 parent
264eeb97e0
commit
90e8c7e903
466 files changed
+7796
-2394
No files matched your search
@@ -118,6 +118,11 @@ abstract class Widget
|
||||
*/
|
||||
public bool $allowCustomPadding = false;
|
||||
|
||||
/**
|
||||
* @brief Show the no wrap option in the page builder
|
||||
*/
|
||||
public bool $allowNoBox = false;
|
||||
|
||||
/**
|
||||
* @brief Unique key for this widget
|
||||
*/
|
||||
@@ -422,6 +427,11 @@ abstract class Widget
|
||||
$return['widget-paddingallowed'] = true;
|
||||
}
|
||||
|
||||
if( $this->allowNoBox )
|
||||
{
|
||||
$return['widget-noboxallowed'] = true;
|
||||
}
|
||||
|
||||
if( count( static::$disallowedAreas ) )
|
||||
{
|
||||
$return['widget-disallowed-areas'] = implode( ",", static::$disallowedAreas );
|
||||
|
||||
Reference in new issue
Block a user