Does anyone know how to edit the default froala code for images (sitewide)?
I’d like to change imageDefaultWidth
to so the default width of 300px wont be added and also add the loading=eager
as default.
Does anyone know how to edit the default froala code for images (sitewide)?
I’d like to change imageDefaultWidth
to so the default width of 300px wont be added and also add the loading=eager
as default.
There’s an editorOptions property you can use with type: richeditor
content:
type: richeditor
editorOptions:
imageDefaultWidth: 0
Check out the docs on this here
Thanks. I was thinking more about implementing it in every instance in the backend by extending the forala editor, this would probably be useful to implement the loading
parameter and others later on.