Skip to main content
richard_afilio
Conversationalist
August 8, 2025
Solved

`updateDraft` breaks composer

  • August 8, 2025
  • 11 replies
  • 444 views

Hi,

after calling `updateDraft` from our composer plugin, the composer does not work properly any more. This happens even if I keep the current draft HTML without modifying it at all. Breakage we’ve seen:

  • Cut/paste does not work any more
  • Templates do not insert any more
  • Templates insert at the wrong location
  • Errors in JavaScript console

Would you be able to look into it?

Best
Richard

    Best answer by evano

    Hi Richard,

    I was able to duplicate that behavior and I’ve raised this as a bug to our engineers.  I’ll follow-up once resolved.  I recommend using “insert” until that point, as it doesn’t seem to have the same issue in testing.

    11 replies

    richard_afilio
    Conversationalist
    October 16, 2025

    Hey Phoebe,

    I can confirm that the bug seems fixed. Thank you for taking care of it.

    Best
    Richard