Syntro\SilverstripeElementalBootstrap\Extensions\BootstrapEditorImageExtension
We want to remove the forced width and height on embedded Images, so they are not rendered in the final html.
TODO: We want to find a way to inhibit the default rendering of height and
width attributes while keeping the height and width formfield.
The functionality of setting a width and height is still useful for
SEO purposes.
- Author: Matthias Leutenegger
Synopsis
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- updateForm() — updateForm - updates the form