Skip to content

This plugin is not capable of handling nested blocks. #1

@MaG21

Description

@MaG21

One can't use this plugin with nested data-duplicate blocks

ASCII example:

- <div data-duplicate="one">
  - p text
  - input
  - ...
  - <div data-duplicate="one.one">
    - select options
    - input

so far so good, if one duplicates the outer block will result in something like:

- <div data-duplicate="one">
  - p text
  - input
  - ...
  - <div data-duplicate="one.one">
    - select options
    - input
- <div data-duplicate="one">
  - p text
  - input
  - ...
  - <div data-duplicate="one.one">
    - select options
    - input

Int this point, the problem comes when one decides to duplicate the one.one block. It will not work properly because two different objects share the same reference -> data-duplicate="one.one".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions