Skip to content

Formatting lost when pasting text from certain apps #72006

@dcalhoun

Description

@dcalhoun

Description

When copying formatted text from certain apps (ChatGPT on iOS or macOS), the formatting is not fully preserved when pasting the text into the block editor (both Gutenberg in a web browser or in the mobile apps). The outcomes vary depending on the source and destination.

This may relate to #10114.

ChatGPT Source1 Gutenberg Destination2 Outcome
iOS app iOS app Heading → bold text; Bold/italic → discarded
iOS app iOS web Heading → bold text; Bold/italic → discarded
iOS app macOS web Heading → preserved; Bold/italic → discarded
macOS app iOS app Heading → bold text; Bold/italic → preserved
macOS app iOS web Heading → bold text; Bold/italic → preserved
macOS app macOS web All formatting preserved
Web app iOS app All formatting preserved
Web app iOS web All formatting preserved
Web app macOS web All formatting preserved

Step-by-step reproduction instructions

  1. Open the ChatGPT mobile/desktop/web app.
  2. Request example Markdown, but only the rendered version, not the raw output.
  3. Copy the result using the app's copy button.
  4. Past the text into the Gutenberg block editor.

Screenshots, screen recording, code snippet

Screen recording

gutenberg-formatting.mov

ChatGPT formatting Gutenberg formatting
Image Image

Environment info

  • WordPress 6.8.3
  • Gutenberg 21.7.0
  • macOS 26.0
  • iOS 26.0
  • Safari
  • Jetpack mobile app 26.3.2
  • Theme: Twenty Twenty-Four

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Footnotes

  1. Copying text from either ChatGPT's web, macOS app, or iOS app.

  2. Pasting text to Gutenberg in either a macOS web browser, iOS web browser, or the WordPress (or Jetpack) mobile app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions