When using IMCE, the WSIWYG editor looks like this:

Note the two image buttons (one opens an imce dialog, the other the core image dialog)

Ideally we would need the one with the core image dialog to disappear

Comments

stefan.r created an issue. See original summary.

birdsnbees’s picture

Status: Active » Closed (cannot reproduce)

I have installed https://www.drupal.org/project/imce on fresh Drupal 8 setup with https://www.drupal.org/project/ckeditor_uploadimage enabled. I tested the following scenarios:

  • dragged and dropped an image on new article body field
  • dragged and dropped an image on existing article body field
  • dragged and dropped multiple images on new article body field
  • dragged and dropped multiple images on existing article body field
  • copied and pasted an image on new article body field
  • copied and pasted an image on existing article body field

... and I didn't experienced this two image buttons issue in any of the scenarios above.

weareronin’s picture

Version: 8.x-1.x-dev » 8.x-1.2
Status: Closed (cannot reproduce) » Active
StatusFileSize
new102.03 KB
new100.33 KB
new97.88 KB

Please find below 3 scenarios and how I can reproduce this issue (Clean Drupal 8.2.6 install only with CKEditor Upload Image 1.2 [+ dependencies] and IMCE).

Scenario 1

Scenario1

In this case, Drag & Drop works fine but I haven't access to IMCE.

Scenario 2

Scenario2

If I add the IMCE button, I have access to both, Drag & Drop and IMCE file manager but I have two same icons.

Scenario 3

Scenario3

If I remove the standard button from Drupal, Drag & Drop doesn't work anymore and the CKeditor Plugins editor disappear.

In my mind, it seems to be a logical behavior as far as removing the standard button "disable" the image upload feature.
That's why ideally we would need the one with the core image dialog to disappear without disabling the file upload feature.

birdsnbees’s picture

Title: Not usable with IMCE as this creates two image buttons » Integrate IMCE module
Category: Task » Feature request

Thank you for the detailed step by step instructions. I was able to replicate this issue. This is a feature request because CKEditor Upload Image module needs to be integrated with IMCE module.

  • arpeggio committed 75814f6 on 8.x-1.x
    Issue #2852480 by stefan.r: Integrated IMCE module.
    
arpeggio’s picture

Status: Active » Fixed

Hi, I have already completed this feature request. Follow the scenario 3 above posted by InPhoenity at:
https://www.drupal.org/node/2852480#comment-11953129
The Drag & Drop should work now. As for the "CKEditor plugin settings" it disappear because the IMCE don't have settings.

If you need to change the core "image" settings which also the settings of this ckeditor_uploadimage module, follow the steps below:

  1. Temporarily add the core image:
    scenario 2
  2. Then change the configuration values of this core image plugin to your desired settings.
  3. After that remove the core image:
    scenario 3
  4. Click "Save configuration" button.

Thank you @InPhoenity for providing detailed steps to replicate, @birdsnbees for queue support and @stefan.r for reporting and sponsoring this feature request.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.