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

feat: Toggle mobile Quote block citation #59097

Merged

Commits on Feb 15, 2024

  1. refactor: Align RichText refs with web implementation

    Previously, the native `RichText` implementation relied upon a bespoke
    `setRef` prop to forward refs to the native rich text editor instance
    (i.e., Aztec). While this worked fine for contexts where `RichText` was
    used for the native platform only, it diverged from the web `RichText`.
    This divergence created incompatibility for the context of a component
    running on both web and native which passed a ref to `RichText`.
    
    This refactor aligns the native `RichText` with the web implementation
    so that refs may be passed under a single, unified `ref` prop. The ref
    is then forwarded onto the native rich text editor instance, as it was
    before.
    dcalhoun committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5da5d03 View commit details
    Browse the repository at this point in the history
  2. fix: Avoid passing incompatible styles to native components

    The `display: block` style attribute is not supported by React Native
    and results in an error.
    dcalhoun committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c7fc476 View commit details
    Browse the repository at this point in the history
  3. test: Fix Quote block citation interaction

    The citation input is now hidden behind a toggle button.
    dcalhoun committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2c83220 View commit details
    Browse the repository at this point in the history
  4. feat: Toggle Pullquote block citation

    Align with the web implementation by hiding the citation input behind a
    toggle button.
    dcalhoun committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    075a308 View commit details
    Browse the repository at this point in the history