We're updating the issue view to help you get more done. 

Editor image dialog only supports contentType "image"

Description

When you go to Blocks - Add new - Text block you will see a tinymce editor. When you insert an image you'll see the Integrated custom plugin for inserting images. This dialog only support the contentType "image" instead of all content types that are based on the Integrated\Bundle\ContentBundle\Document\Content\Image class.

When multiple image content types have been found the Add new button should be a drop down with a list of content types (http://getbootstrap.com/components/#btn-dropdowns). All image content types will be visible, also when the workflow-bundle has been loaded and you don't have access (as in issue INTEGRATED-654, this will be fixed later).

The content types also need to be added to the search filter.

Note: the tinymce plugin is javascript / html, so the content types have to be injected by a tinymce javascript parameter.

Note: there is also a bug which makes the image invisible, but that will be fixed in another issue.

Environment

None

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Client

None

External issue ID

None

Follow up date

None

Code reviewer

None

Developer

None

Plan date

None

Max. hours

None

Error message

None

Min. hours

None

Product owner

None

Refiner

None

Switches

None

Dev hour estimate

None

Fix versions

Priority

Major