Skip to content

Commit

Permalink
Missing builders for table cells and panel
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Sep 22, 2022
1 parent 48a6d1a commit 78a4e47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Node/Block/Panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace DH\Adf\Node\Block;

use DH\Adf\Builder\BulletListBuilder;
use DH\Adf\Builder\HeadingBuilder;
use DH\Adf\Builder\OrderedListBuilder;
use DH\Adf\Builder\ParagraphBuilder;
use DH\Adf\Node\BlockNode;
use DH\Adf\Node\Node;
Expand All @@ -14,6 +17,9 @@
*/
class Panel extends BlockNode
{
use BulletListBuilder;
use HeadingBuilder;
use OrderedListBuilder;
use ParagraphBuilder;

public const INFO = 'info';
Expand Down
4 changes: 4 additions & 0 deletions src/Node/Child/TableCell.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use DH\Adf\Builder\CodeblockBuilder;
use DH\Adf\Builder\HeadingBuilder;
use DH\Adf\Builder\MediaGroupBuilder;
use DH\Adf\Builder\MediaSingleBuilder;
use DH\Adf\Builder\OrderedListBuilder;
use DH\Adf\Builder\PanelBuilder;
use DH\Adf\Builder\ParagraphBuilder;
Expand All @@ -18,6 +19,7 @@
use DH\Adf\Node\Block\CodeBlock;
use DH\Adf\Node\Block\Heading;
use DH\Adf\Node\Block\MediaGroup;
use DH\Adf\Node\Block\MediaSingle;
use DH\Adf\Node\Block\OrderedList;
use DH\Adf\Node\Block\Panel;
use DH\Adf\Node\Block\Paragraph;
Expand All @@ -37,6 +39,7 @@ class TableCell extends BlockNode implements JsonSerializable
use CodeblockBuilder;
use HeadingBuilder;
use MediaGroupBuilder;
use MediaSingleBuilder;
use OrderedListBuilder;
use PanelBuilder;
use ParagraphBuilder;
Expand All @@ -49,6 +52,7 @@ class TableCell extends BlockNode implements JsonSerializable
CodeBlock::class,
Heading::class,
MediaGroup::class,
MediaSingle::class,
OrderedList::class,
Panel::class,
Paragraph::class,
Expand Down

0 comments on commit 78a4e47

Please sign in to comment.