-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image placement should replicate actual position in TinyMCE #2202
Comments
Initially raised as a CWP bug, I've replicated this on the CMS demo site (running 4.1.0). Notes:
|
@robbieaverill I can't seem to replicate this on a fresh 4.1.0 install with cwp-starter + watea. My images get the |
@robbieaverill is there any clarification you can give on this? |
@lukereative insert an image, click on it, click "Center" in the WYSIWYG alignment options - see it's not honoured. I think you're right in that silverstripe/silverstripe-asset-admin#801 has resolved the bug when aligning via the dropdown in the image details modal - that looks like it's working now. I'm testing this on demo.silverstripe.org FYI |
@robbieaverill Oh I get you now, I didn't realise those buttons controlled image position. I thought they were for text only – it seems a bit broken that they insert inline styles separate to using the alignment classes that the file dialogue uses. I guess changing these buttons to instead use those 'right', 'left', 'centre' classes is the correct fix. |
@clarkepaul commented on Tue Jun 19 2018
For CWP themes the CMS doesn't detect the position of image alignment, so there is a disconnect between the preview and whats displayed in TinyMCE.
Image provided during CMS training.
The text was updated successfully, but these errors were encountered: