Skip to content

Commit 13a1c9f

Browse files
author
Sebastian Schwaiger
committed
A chart object can also be added to a table cell
1 parent cd2e7f7 commit 13a1c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Element/AbstractContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private function checkValidity($method)
211211
'Title' => array('Section'),
212212
'TOC' => array('Section'),
213213
'PageBreak' => array('Section'),
214-
'Chart' => array('Section'),
214+
'Chart' => array('Section', 'Cell'),
215215
);
216216

217217
// Special condition, e.g. preservetext can only exists in cell when

0 commit comments

Comments
 (0)