Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67771

Disable drag&drop in Alloy Editor when used in Message Board

    Details

      Description

      Description:
      When using the Alloy Editor, images can be dragged and dropped into the text field in order to attach them to the comment/post/etc. However, when using this editor for the Message Boards portlet, images in posts are not saved. Note that they are saved in other areas of the platform, e.g. Web Content.

      Steps to Reproduce:
      1. Set the following in portal-ext.properties for a clean Liferay DXP bundle:

          editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jsp=alloyeditor_bbcode
          editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=alloyeditor

      2. Start up the bundle and add a Message Boards portlet to any page.
      3. Create a new thread and drag and drop an image into the Alloy Editor.
      4. Save.

      Observed Result:
      Image is not saved in the MB post.

      Reproduced in:
      7.0.x? Yes, issue reproduced in branch: 3af3c663109d34fafb6b5e3e35978d414b1dc424

      Master? Yes, issue reproduced in master: d9a3257a295c000da5d8f836aead59118b804f2e

      Tech notes
      To reach full d&d support we need some extra infrastructure at the back-end. It's not enough to allow d&d at the editor level.

      Solution for this LPS
      Disable drag&drop in Message Board alloy editor.
      It's planned to implement full support for this in a new LPS

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 22 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP5
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.1.X
                  Master