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

Refactor EditableComment (interactivity component)

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Neutral
    • 1.6
    • None
    • None
    • None
    • DevX 42, DevX 43, DevX 44
    • 5
    • Yes

    Description

      EditableComment (interactivity component)

      • alwaysRender props should pass from parent component. Detect alwaysRender via #magnoliaContext.isMagnolia from EditorContextHelper
      • Add 'use client' in top of file ( react will ignore it by default so maybe no harm at all)

       

      Ref code in proposal PR: https://git.magnolia-cms.com/projects/MODULES/repos/frontend-helpers/pull-requests/220/diff#samples/next-js-13-with-react-editor-new/packages/react-wrap-client-component-typescript/src/WrapperEditableComment.tsx

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                oanh.thai Oanh Thai Hoang
                oanh.thai Oanh Thai Hoang
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 7d 4.25h
                      7d 4.25h