ComPDFKit Web SDK
    Preparing search index...

    Function enterPageEditorMode

    • Enters the page editor. Resolves once the working copy is created; does nothing when already in it. Rejects when there is no document, the page assembly permission is missing (the permission password dialog was cancelled) or the copy fails (the previous toolbar group is restored).

      Returns Promise<void>

      A Promise that resolves once the page editor is ready.

      await instance.UI.enterPageEditorMode();
      console.log(instance.UI.isInPageEditorMode()); // true