public function migrateCkeditorBlocks()
    {
        $legacyBlocks = $this->getLegacyCkeditorBlocks();

        foreach ($legacyBlocks as $legacyBlock) {
            $legacyBlock->setType('cms.block.ckeditor');

            $settings = $legacyBlock->getSettings();

            if (isset($settings['contenu'])) {
                $settings['content'] = $settings['contenu'];
                unset($settings['contenu']);
            }

            $legacyBlock->setSettings($settings);

            $this->blockManager->save($legacyBlock);
        }
    }