Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 409 Bytes

2022-02-14-use-clone-api-for-sections-and-blocks.md

File metadata and controls

10 lines (10 loc) · 409 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Use clone API for sections and blocks
issue: NEXT-19624
author: Niklas Limberg
author_email: [email protected]
author_github: @NiklasLimberg
---

Administration

  • Changed onBlockDuplicate and onSectionDuplicate in sw-cms-detail/index.js to use the clone API
  • Deprecated cloneBlockInSection, cloneSlotsInBlock and prepareSectionClone, because they are superseded by the clone API