Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-390

Update UI 6 ContentClipboard implementations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 6.2
    • None
    • None

      The info.magnolia.ui.contentapp.action.clipboard.JcrClipboard has been updated to paste items into the destination node only if all the source items can be copied into the destination

      @Override
      public boolean canPasteInto(final Item destination) {
          if (!destination.isNode()) {
              return false;
          }
          return items.stream().allMatch(item -> canPasteInto(item, destination));
      }
      

      The same behavior should be applied to other implementations of `info.magnolia.ui.framework.ContentClipboard`

        Acceptance criteria

              Unassigned Unassigned
              rdhar Rishab Dhar
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Task DoR