| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | private $max_number_of_interactions = 5; |
| 17 | 17 | |
| 18 | 18 | private const VALID_EFFECTS = [ 'fade', 'slide', 'scale', 'custom' ]; |
| 19 | 19 | private const VALID_TYPES = [ 'in', 'out' ]; |
| 20 | - private const VALID_DIRECTIONS = [ '', 'left', 'right', 'top', 'bottom' ]; | |
| 20 | + private const VALID_DIRECTIONS = [ '', 'left', 'right', 'top', 'bottom', 'top-left', 'top-right', 'bottom-left', 'bottom-right' ]; | |
| 21 | 21 | private const VALID_REPEAT_MODES = [ '', 'loop', 'times' ]; |
| 22 | 22 | |
| 23 | 23 | public function sanitize( $document ) { |
| 24 | 24 | return $this->sanitize_document_data( $document ); |