Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/leadin/scripts/gutenber.../FormBloc...
File: FormBlockSave.tsx
import React from 'react';
[0] Fix | Delete
import { RawHTML } from '@wordpress/element';
[1] Fix | Delete
import { IFormBlockAttributes } from './registerFormBlock';
[2] Fix | Delete
[3] Fix | Delete
export default function FormSaveBlock({ attributes }: IFormBlockAttributes) {
[4] Fix | Delete
const { portalId, formId } = attributes;
[5] Fix | Delete
[6] Fix | Delete
if (portalId && formId) {
[7] Fix | Delete
return (
[8] Fix | Delete
<RawHTML className="wp-block-leadin-hubspot-form-block">
[9] Fix | Delete
{`[hubspot portal="${portalId}" id="${formId}" type="form"]`}
[10] Fix | Delete
</RawHTML>
[11] Fix | Delete
);
[12] Fix | Delete
}
[13] Fix | Delete
return null;
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function