Uploaded image for project: 'Magnolia Frontend Helpers'
  1. Magnolia Frontend Helpers
  2. MGNLFE-167

inEditorAsync not working with React and Vue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.2.2
    • 1.2.1
    • None
    • None

      Steps to reproduce

      1.  Install React or Vue demo from https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/browse
      2.  look for in code for window.location.search.includes('mgnlPreview') and replace it with await EditorContextHelper.inEditorAsync()

      Expected results

      Authoring experience working normally

      Actual results

      Template annotations not fetched

      Workaround

      Use alternative approach window.location.search.includes('mgnlPreview')

      Development notes

        Acceptance criteria

              dai.ha Dai Ha
              bstaryga Bartosz Staryga
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 0.25d
                    0.25d