Skip to content
New issue

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

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

Already on GitHub? # to your account

Insert cells should expand the table if there is no room #32

Open
zbeyens opened this issue Jun 6, 2022 · 0 comments
Open

Insert cells should expand the table if there is no room #32

zbeyens opened this issue Jun 6, 2022 · 0 comments
Labels
spec When... then...

Comments

@zbeyens
Copy link
Member

zbeyens commented Jun 6, 2022

2022-06-06.at.20.58.28.mp4

Given

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

When

  • insert table 2x2
        <fragment>
          <htable>
            <htr>
              <htd>aa</htd>
              <htd>ab</htd>
            </htr>
            <htr>
              <htd>ba</htd>
              <htd>bb</htd>
            </htr>
          </htable>
        </fragment>

Then

  • expanded table with the inserted cells
        <editor>
          <htable>
            <htr>
              <htd>11</htd>
              <htd>12</htd>
              <htd>
                <htext />
              </htd>
            </htr>
            <htr>
              <htd>21</htd>
              <htd>
                <anchor />
                aa
              </htd>
              <htd>ab</htd>
            </htr>
            <htr>
              <htd>
                <htext />
              </htd>
              <htd>ba</htd>
              <htd>
                <focus />
                bb
              </htd>
            </htr>
          </htable>
        </editor>
@zbeyens zbeyens added the spec When... then... label Jun 6, 2022
@zbeyens zbeyens mentioned this issue Jun 6, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
spec When... then...
Projects
None yet
Development

No branches or pull requests

1 participant