Bug #89649
closedrte_ckeditor: Inline-Style "float" not possible/missing semicolon with images
0%
Description
When you insert an image in rte_ckeditor and want to set some styles (e.g. margin and float), rte_ckeditor does it with inline-styles (style="float:left; margin: 5px; ...). No problem so far.
But as soon as you save the record, text isn't floating any more – clicking on "show sourcecode" you'll see, that the semicolon (;) is missing aber "float".
So the result is:
style="float:left margin:5px;"
The problem is reproducable and the semicolon is only missing after "float".
Updated by Alexander Fiss about 5 years ago
- Subject changed from rte_ckeditor: Inline-Style "float" not possible/missing semicolon on images to rte_ckeditor: Inline-Style "float" not possible/missing semicolon with images
Updated by Riccardo De Contardi over 4 years ago
- Status changed from New to Needs Feedback
Sorry for this late reply, but... AFAIK image support is disabled and unsupported on TYPO3 CKEditor, this is why the yaml files contain
removePlugins: - image
I guess that you re-enabled it removing this line and using the plain CKEditor image insertion wizard which is by the way a bit inconvenient to use, as you have to enter the exact URL of the image without a proper selector.
I suggest you to use the third-party extension EXT:rte_ckeditor_image but - alas - it has no alignment/float option so far.
I would suggest to close this issue as non-core related (the image plugin is not meant to be used IMHO); the discussion about these feature can continue on https://github.com/netresearch/t3x-rte_ckeditor_image/issues
Updated by Christian Kuhn almost 3 years ago
- Status changed from Needs Feedback to Closed
hey. in general, ck_editor in typo3 is not image-aware - for various reasons. i don't think we can proceeed here much more and will close the issue for now.