Skip to content

Text expander apps replace block content on the Classic Block (inline) #64717

Closed as duplicate

Description

@jartes

Description

Quick summary

When using a text expander software or in the Classic block, the block itself is removed and the text that is inserted using the text expander is added through a Paragraph block.

This is only happening when using the inline Classic Block:

Markup on 2024-08-22 at 15:10:56

This works fine when using the pop-up Classic Block (which is displayed this way when the Custom Fields appearance option is off):

Markup on 2024-08-22 at 15:12:28

What actually happened

The entire Classic block (and text already added to the block) is removed. The text inserted using the text expander app is added as a Paragraph block.

It could be related to #61377

Step-by-step reproduction instructions

  1. Create a new post or page.
  2. Make sure you don't have the Custom Fields appearance settings
  3. Add a Classic block.
  4. Write a few sentences/words inside the block.
  5. Insert a line using a text expander app, like "Text Expander" or "TypeIt4Me".
  6. Check what happens.

Screenshots, screen recording, code snippet

Screen.Capture.on.2024-08-22.at.15-17-20.mov

Environment info

  • WordPress 6.6.1
  • Gutenberg 19.0.0
  • Twenty Twenty-Four: 1.2
  • Chrome 127 on macOS 14.4.1 Sonoma

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

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    on Aug 22, 2024
  2. miminari commented on Aug 28, 2024

    @miminari
    Member

    I could be reproduced this.
    I used TypeIt4Me.

    Environment info
    WordPress 6.6.1
    Gutenberg 19.0.0
    Twenty Twenty-Four: 1.2
    Safari 17.1.2 and Chromium Engine Version 126.0.6478.127 on macOS 12.5.1

  3. t-hamano commented on Aug 28, 2024

    @t-hamano
    Contributor

    This issue may not fundamentally be a problem with the text expansion app.

    There have been reports of issues with non-modal classic blocks where text pasted from outside WordPress gets converted to a paragraph block:

  4. t-hamano commented on Aug 9, 2025

    @t-hamano
    Contributor

    Let me close this issue as a duplicate of #64771.

    This is only happening when using the inline Classic Block:

    This means that the editor is not iframed. See #64771 (comment) for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] ClassicAffects the Classic Editor Block[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions