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

inEditorAsync not working with React and Vue

    XMLWordPrintable

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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