Skip to content

Copy all blocks -> paste doesn't work if header was copied #20

Closed

Description

@stefankip

I have this header block with 3 content blocks.
When I copy all blocks and try to paste them, I get this message:

Cannot paste a header on a page with another header. If the header should be replaced, remove it first.

I'd rather be able to choose to only paste the Content blocks without the Header block.

Activity

  1. PerplexDaniel commented on Jul 6, 2020

    @PerplexDaniel
    Member

    Fair enough, I agree the current behavior is not ideal. The easiest (i.e., no additional UI needed) change for this would be to simply paste all blocks & skip the header, showing a notification saying the header wasn't copied because there was already an existing header. Rather than blocking the entire paste action as it does at the moment. The user can then still go back to copy the header if desired. Of course the best option is to offer a choice but that takes a bit more time whereas the other option solves the issue at hand as well I'd say. Will look into that soon.

  2. added
    accepted
    on Jul 6, 2020
  3. PerplexDaniel commented on Jul 20, 2020

    @PerplexDaniel
    Member

    @stefankip FYI just released a release candidate for 1.5.0 (available on NuGet, make sure to include Prerelease versions) which includes the proposed fix for this issue. Will probably release 1.5.0 later this week or next week, should be the same as the release candidate unless some bugs are found.

  4. stefankip commented on Jul 20, 2020

    @stefankip
    ContributorAuthor

    Just wanted to let you know this seems to work fine, nice job! 🤜🏼🤛🏼

  5. PerplexDaniel commented on Jul 24, 2020

    @PerplexDaniel
    Member

    Fixed in v1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

accepted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions