This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Question Editor API

safeToUnload()

Called to determine if the user has made any changes and if it is safe to unload/navigate away from the Questions Editor. It will return true, if content has not been modified after question/feature has been rendered

External code can manually mark the Questions Editor as safe to unload by passing "true" as the first argument to this method.

Arguments

  • isSafe boolean

    Mark the editor as safe to unload

Return value

boolean

Was this article helpful?