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

More block: Match the design in the editor with the front, resolve the undo/redo issue #61131

Closed
wants to merge 3 commits into from

Commits on Apr 26, 2024

  1. More block: Match the design in the editor with the front

    - Updates the default text in the editor to match the default text on the front.
    - Removes the editor styles, since the styles made the block look different than on the front.
    - Replaces the input element with a RichText component with an a tag, because the input element has some default styles that would need to be overwritten.
    - Replaces the onKeyDown behaviour with the Richtext prop disableLineBreaks, and uses __unstablOnSplitAtEnd to insert a new paragraph block if the user clicks on enter at the end of the block's text content.
    carolinan committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    861e7e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dce5d97 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    f834123 View commit details
    Browse the repository at this point in the history