Defer function call in TinyMCE to prevent exceeding call stack

Bug and solution explanation: https://github.com/Shopify/shopify/pull/25532
Fixes https://github.com/Shopify/shopify/issues/25529

@angelini @kmcphillips