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

Nested table should be unwrapped #76

Closed
zbeyens opened this issue Aug 24, 2022 · 0 comments · Fixed by udecode/plate#1818 · May be fixed by xolvio/plate#6
Closed

Nested table should be unwrapped #76

zbeyens opened this issue Aug 24, 2022 · 0 comments · Fixed by udecode/plate#1818 · May be fixed by xolvio/plate#6
Labels
spec When... then...

Comments

@zbeyens
Copy link
Member

zbeyens commented Aug 24, 2022

Given

  • A table inside a table
        <editor>
          <htable>
            <htr>
              <htd>
                <hp>a</hp>
                <htable>
                  <htr>
                    <htd>
                      <hp>b</hp>
                    </htd>
                    <htd>
                      <hp>c</hp>
                    </htd>
                  </htr>
                </htable>
              </htd>
            </htr>
          </htable>
        </editor>

When

  • normalize

Then

  • unwrap table, tr, td
        <editor>
          <htable>
            <htr>
              <htd>
                <hp>a</hp>
                <hp>b</hp>
                <hp>c</hp>
              </htd>
            </htr>
          </htable>
        </editor>
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

Successfully merging a pull request may close this issue.

1 participant