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

Table cell children should be blocks #65

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

Table cell children should be blocks #65

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

Comments

@zbeyens
Copy link
Member

zbeyens commented Aug 11, 2022

Given

  • cell children are texts
        <editor>
          <htable>
            <htr>
              <htd>
                <htext>a</htext>
                <htext bold>b</htext>
                <htext italic>c</htext>
              </htd>
            </htr>
          </htable>
        </editor>

When

  • normalize

Then

  • should wrap the cell children in a p
        <editor>
          <htable>
            <htr>
              <htd>
                <hp>
                  <htext>a</htext>
                  <htext bold>b</htext>
                  <htext italic>c</htext>
                </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