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

ToC block: re-enable + use static markup and only support core Heading and Page Break blocks #29739

Merged
merged 25 commits into from
May 6, 2022

Commits on May 5, 2022

  1. Configuration menu
    Copy the full SHA
    c53df83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afadefa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2796c70 View commit details
    Browse the repository at this point in the history
  4. Update test.

    Because the ToC block has "Heading" in its description, it was changing the availableBlocks length to 2.
    ZebulanStanphill committed May 5, 2022
    Configuration menu
    Copy the full SHA
    f564667 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b7bbc6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0ff623d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ba556a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dc2730a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8f7db2d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4282578 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3080087 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    803eddc View commit details
    Browse the repository at this point in the history
  13. Prevent links from being clicked in the editor since they don't work …

    …there.
    
    Heading blocks in the editor don't even use their "anchor" block attribute in the rendered HTML "id" attribute of their editor form.
    ZebulanStanphill committed May 5, 2022
    Configuration menu
    Copy the full SHA
    6a724bf View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1eb8d22 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e7e866a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6221796 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    38bb612 View commit details
    Browse the repository at this point in the history
  18. Simplify condition using optional chaining in utils.ts.

    Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
    ZebulanStanphill and mcsf committed May 5, 2022
    Configuration menu
    Copy the full SHA
    a8a1cbd View commit details
    Browse the repository at this point in the history
  19. Fix page index calculation breaking when ToC or Page Break is nested.

    Massive props to @mcsf for figuring this out.
    
    Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
    ZebulanStanphill and mcsf committed May 5, 2022
    Configuration menu
    Copy the full SHA
    6d9c653 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    21adec5 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    fa6cc7d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2ed8a4a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c439c5b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    425109f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    327338f View commit details
    Browse the repository at this point in the history