Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24731

As an editor, I want to be able to add embed elements in the RichText editor

    Details

      Description

      From the add content toolbar, I should be possible to add an embed element.

        Issue Links

          Activity

          Show
          Damien Pobel (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/305
          Show
          Damien Pobel (Inactive) added a comment - Merged in master https://github.com/ezsystems/PlatformUIBundle/commit/4287c986cf65a3adfd229a2bcdcfc728d25d8671
          Hide
          Rui Silva (Inactive) added a comment -

          Problems detected on testing this:

          • Sometimes (don't know what triggers this), when publishing the content with richtext (on creating), I get the console error:
            POST http://ezp5.rui/api/ezp/v2/content/objects 406 (Not Acceptable) CAPI.js:1406
            Uncaught TypeError: Cannot read property 'CurrentVersion' of undefined ez-publishdraftplugin.js:99

          On editing an already existing content:

          • Dragging an embed line onto absolute top of the field makes it disappear;
          • Dragging an embed line onto absolute bottom makes the boxing disappear, and so does the dragging icon;
          • Dragging an embed line to underneath itself makes it disappear and next inserted ones won't have a dragging icon;
          • Adding more embed lines after having dragged them up and down over text, stack underneath each others, and rich text field doesn't extend to accompany the wrapping of its contents;
          • Sometimes, on editing a content with already an embed line on richtext field, will separate the embed line in two parts: one with the "</>" part on a box (which is draggable), and another with the "ezlocation://2" NOT on a box (not draggable);
          Show
          Rui Silva (Inactive) added a comment - Problems detected on testing this: Sometimes (don't know what triggers this), when publishing the content with richtext (on creating), I get the console error: POST http://ezp5.rui/api/ezp/v2/content/objects 406 (Not Acceptable) CAPI.js:1406 Uncaught TypeError: Cannot read property 'CurrentVersion' of undefined ez-publishdraftplugin.js:99 On editing an already existing content: Dragging an embed line onto absolute top of the field makes it disappear; Dragging an embed line onto absolute bottom makes the boxing disappear, and so does the dragging icon; Dragging an embed line to underneath itself makes it disappear and next inserted ones won't have a dragging icon; Adding more embed lines after having dragged them up and down over text, stack underneath each others, and rich text field doesn't extend to accompany the wrapping of its contents; Sometimes, on editing a content with already an embed line on richtext field, will separate the embed line in two parts: one with the "</>" part on a box (which is draggable), and another with the "ezlocation://2" NOT on a box (not draggable);
          Hide
          Damien Pobel (Inactive) added a comment -

          For the first problem, the real issue is probably in the detail of the failed request and most likely you experience a consequence of https://jira.ez.no/browse/EZP-24732

          For the others issues:

          1. this story was about adding the embed, dragging issues can be reported separately
          2. for the last 2 issues, it's probably the result of the usage of a custom HTML tag (ezembed) as explained in the pull request description, you can as well report separated issues

          Show
          Damien Pobel (Inactive) added a comment - For the first problem, the real issue is probably in the detail of the failed request and most likely you experience a consequence of https://jira.ez.no/browse/EZP-24732 For the others issues: 1. this story was about adding the embed, dragging issues can be reported separately 2. for the last 2 issues, it's probably the result of the usage of a custom HTML tag ( ezembed ) as explained in the pull request description, you can as well report separated issues
          Hide
          Rui Silva (Inactive) added a comment -

          Ok, thank you for the insight Damien.
          As from a QA perspective, the line between what is in scope for testing here got a bit blurry, due to the fact that, on your screencast video, a few more "use cases" can be seen been executed other than simply adding the embed, hence my asking.
          I will proceed on QA'ing this then.
          I will report the other irregularities as separate issues, as I manage to realize how to reproduce them in a consistent way.

          Show
          Rui Silva (Inactive) added a comment - Ok, thank you for the insight Damien. As from a QA perspective, the line between what is in scope for testing here got a bit blurry, due to the fact that, on your screencast video, a few more "use cases" can be seen been executed other than simply adding the embed, hence my asking. I will proceed on QA'ing this then. I will report the other irregularities as separate issues, as I manage to realize how to reproduce them in a consistent way.
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: