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 table cells at a table should select the inserted cells #20

Open
zbeyens opened this issue May 23, 2022 · 0 comments
Open

Insert table cells at a table should select the inserted cells #20

zbeyens opened this issue May 23, 2022 · 0 comments
Labels
spec When... then...

Comments

@zbeyens
Copy link
Member

zbeyens commented May 23, 2022

2022-05-28.at.20.52.36.mp4

Given

  • table 2x2
        <editor>
          <htable>
            <htr>
              <htd>11</htd>
              <htd>
                12
                <cursor />
              </htd>
            </htr>
            <htr>
              <htd>21</htd>
              <htd>22</htd>
            </htr>
          </htable>
        </editor>

When

  • insert table 2x1 at cell 21
        <fragment>
          <htable>
            <htr>
              <htd>a</htd>
            </htr>
            <htr>
              <htd>b</htd>
            </htr>
          </htable>
        </fragment>

Then

  • cells 21 and 22 should be selected
        <editor>
          <htable>
            <htr>
              <htd>11</htd>
              <htd>
                <anchor />a
              </htd>
            </htr>
            <htr>
              <htd>21</htd>
              <htd>
                <focus />b
              </htd>
            </htr>
          </htable>
        </editor>
@zbeyens zbeyens added the spec When... then... label May 23, 2022
@zbeyens zbeyens mentioned this issue May 23, 2022
@zbeyens zbeyens changed the title Inserting table cells at a table should select the inserted cells Insert table cells at a table should select the inserted cells May 27, 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