Foren

Add Image Browse Button to Alloy Editor

Brian Szucs, geändert vor 7 Jahren.

Add Image Browse Button to Alloy Editor

New Member Beiträge: 6 Beitrittsdatum: 12.12.16 Neueste Beiträge
Hi, I've been able to enable drag and drop in the alloy editor by doing the following

if(Validator.isNotNull(extraPlugins)) {
extraPlugins += ",ae_autolink,ae_addimages,ae_dragresize,ae_placeholder";
} else {
extraPlugins = "ae_autolink,ae_addimages,ae_dragresize,ae_placeholder";
}
jsonObject.put("extraPlugins", extraPlugins);



But when I click the "image" icon I am still missing a "Browse" Button. I only have add a URL.

How do I add in the browse button on the secondary add image screen in the alloy editor within the java class that i have extended BaseEditorConfigContributor?
Brian Szucs, geändert vor 7 Jahren.

RE: Add Image Browse Button to Alloy Editor

New Member Beiträge: 6 Beitrittsdatum: 12.12.16 Neueste Beiträge
Something I assumed should be so easy, either isn't or it actually is yet the documentation is non-existent. Is this an accurate assessment?