We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a96e8 commit 7e3a8ddCopy full SHA for 7e3a8dd
EditorJS/EditorJS.php
@@ -106,7 +106,11 @@ public function getBlocks()
106
$sanitizedBlocks = [];
107
108
foreach ($this->blocks as $block) {
109
- $sanitizedBlock = $this->handler->sanitizeBlock($block['type'], $block['data']);
+ $sanitizedBlock = $this->handler->sanitizeBlock(
110
+ $block['type'],
111
+ $block['data'],
112
+ $block["tunes"] ?? []
113
+ );
114
if (!empty($sanitizedBlock)) {
115
array_push($sanitizedBlocks, $sanitizedBlock);
116
}
0 commit comments