Commit 8aed2309 authored by Eirik Morland's avatar Eirik Morland Committed by Stephan Zeidler
Browse files

Issue #3305967 by eiriksm: Allowed blocks not passed to editor

parent 61362bf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ class Gutenberg extends EditorBase implements ContainerFactoryPluginInterface {

    $settings = [
      'contentType' => $node_type,
      'allowedBlocks' => $this->configFactory->get($node_type . '_allowed_blocks'),
      'allowedBlocks' => $this->configFactory->get('gutenberg.settings')->get($node_type . '_allowed_blocks'),
      'blackList' => $blocks_settings['blacklist'],
    ];