Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subquery block missing support for drag and drop #240

Open
ellm opened this issue Oct 2, 2024 · 0 comments
Open

Subquery block missing support for drag and drop #240

ellm opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ellm
Copy link
Member

ellm commented Oct 2, 2024

Description of the bug

While the Move Post button is available within a Subquery block, it is not possible to move the post within a Subquery only to positions in the Query block.

Steps To Reproduce

  1. Create a new Query block with a nested Subquery block.
  2. Pin a post within the Subquery block.
  3. Attempt to Move Post to a new position. Only positions in the Query block are available.

Additional Information

Example code for creating Query with Subquery

<!-- wp:wp-curate/query {"postTypes":["post"],"posts":[null,null,null,null,null]} -->
<div class="wp-block-wp-curate-query"><!-- wp:post-template -->
<!-- wp:wp-curate/post -->
<div class="wp-block-wp-curate-post"><!-- wp:post-title {"isLink":true} /-->

<!-- wp:wp-curate/subquery {"numberOfPosts":2,"postTypes":[{"name":"Post","slug":"post"}],"posts":[null,null],"terms":{"category":[],"post_tag":[]},"uniqueId":"87552371-c7f9-4175-9105-d5ab61240864"} -->
<div class="wp-block-wp-curate-subquery"><!-- wp:post-template -->
<!-- wp:wp-curate/post -->
<div class="wp-block-wp-curate-post"><!-- wp:post-title {"level":3,"isLink":true} /--></div>
<!-- /wp:wp-curate/post -->
<!-- /wp:post-template --></div>
<!-- /wp:wp-curate/subquery --></div>
<!-- /wp:wp-curate/post -->
<!-- /wp:post-template --></div>
<!-- /wp:wp-curate/query -->
@ellm ellm added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant