silverstripe / cwp

Common Web Platform (CWP) features module. We strongly recommend using it for all new CWP projects. Future features will be delivered here.
https://www.cwp.govt.nz
BSD 3-Clause "New" or "Revised" License
10 stars 27 forks source link

WYSIWYG Image Size and Caption issues on SilverStripe 4.6.2 #295

Closed MichelleZZZZ closed 3 years ago

MichelleZZZZ commented 3 years ago

Affected Version

cwp/cwp-recipe-core : 2.6.1 Silverstripe CMS: 4.6.2 dnadesign/silverstripe-elemental: 4.4.1

Description

Found three issues with the WYSIWYG image editing in the Elemental content block on SilverStripe 4.6 I tried to revert the cwp/cwp-recipe-core to 2.5.2@stable, and the issues do not happen.

  1. Lost customized image sizes after clicking the Edit button in WYSIWYG
  2. Lost customized caption after editing clicking the Edit button in WYSIWYG
  3. When the image with Caption and the "Right Wrap" position, the edit image button does not show up when clicking on the image.

Steps to replicate

1. Lost customized image sizes after clicking the Edit button in WYSIWYG Steps to replicate:

2. Lost customized caption after editing clicking the Edit button in WYSIWYG Steps to replicate:

3. When the image with "Right Wrap" position, the edit image button does not show up when clicking on the image.

brynwhyman commented 3 years ago

I'll close this issue as a duplicate of https://github.com/silverstripe/silverstripe-cms/issues/2621