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

Insert blocks when selecting many cells #64

Open
zbeyens opened this issue Aug 11, 2022 · 0 comments
Open

Insert blocks when selecting many cells #64

zbeyens opened this issue Aug 11, 2022 · 0 comments
Labels
spec When... then...

Comments

@zbeyens
Copy link
Member

zbeyens commented Aug 11, 2022

2022-08-11.at.22.44.34.mp4

Given

  • Selecting table cells
        <editor>
          <htable>
            <htr>
              <htd>
                <anchor />
                11
              </htd>
              <htd>
                12
                <focus />
              </htd>
            </htr>
          </htable>
        </editor>

When

  • inserting many blocks (not tables)
        <fragment>
          <hp>o11a</hp>
          <hp>o11b</hp>
        </fragment>

Then

  • should keep the rows/cells
  • should replace the cells by a new cell with the same blocks in each selected cell
        <editor>
          <htable>
            <htr>
              <htd>
                <hp>o11a</hp>
                <hp>o11b</hp>
              </htd>
              <htd>
                <hp>o11a</hp>
                <hp>o11b</hp>
              </htd>
            </htr>
          </htable>
        </editor>
@zbeyens zbeyens added the spec When... then... label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec When... then...
Projects
None yet
Development

No branches or pull requests

1 participant