Replace image on Edit creates Error

Permalink Browser Info Environment
When I edit the block and click to replace the image it puts the name of the image in the text area instead of the image area. Workaround is to delete the existing image and then select a new one.

1 Attachment

Type: Discussion
Status: New
tallacman
View Replies:
agedman replied on at Permalink Reply
agedman
Hi Tallacman,

Thanks for taking the time to post this bug and workaround! I guess I never tested changing the image in edit mode, but it's definitely something that needs to work correctly.

It's interesting that when you add a *new* block, set the image and content, then change the image, it works just fine -- so the bug is strictly in edit mode.

At this point, I've tracked it down to the complicated javascript/php around editor_init.php and editor_config.php which I blindly copied over from the content block without understanding it at all. I'll try to work on it some more tomorrow...
agedman replied on at Permalink Reply
agedman
Ok, should be fixed in version 1.22.

Unfortunately, I had to impose a limitation on the content editor, though: Adding file links via the 'Files' button on the C5 toolbar at the top of the TinyMCE editor is no longer possible. I will try to fix this eventually. A workaround is to add the links to a temporary content block, then copy/paste them into the 'Content Around Image' block.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.