• Resolved brandontan903

    (@brandontan903)


    I’m using “Safe SVG” plugin.
    I can upload from Media section and then load the SVG image from Beaver Builder.

    But I cannot upload right from inside Beaver Builder.

    It will be more flexible if I can upload from inside Beaver Builder itself without going back and forth.

Viewing 1 replies (of 1 total)
  • Plugin Author Simon Prosser

    (@pross)

    If WordPress ever allows SVG then so will Beaver Builder, until then you can add this filter:

    add_filter( 'fl_module_upload_regex', function( $regex, $type, $ext, $file ) {
    	$regex['photo'] = '#(jpe?g|png|gif|bmp|tiff?|svg)#i';
    	return $regex;
    }, 10, 4 );
Viewing 1 replies (of 1 total)
  • The topic ‘Feature request: Support SVG image upload’ is closed to new replies.