Remove disabled, it would affect the look of the button
[MAILPOET-2602]
This commit is contained in:
committed by
Jack Kitterhing
parent
646b75c5db
commit
c6d6db6726
@ -109,7 +109,6 @@ class Forms extends APIEndpoint {
|
|||||||
public function previewEditor($data = []) {
|
public function previewEditor($data = []) {
|
||||||
// html
|
// html
|
||||||
$html = $this->formRenderer->renderHTML($data);
|
$html = $this->formRenderer->renderHTML($data);
|
||||||
$html = str_replace('type="submit"', 'type="submit" disabled', $html);
|
|
||||||
|
|
||||||
// convert shortcodes
|
// convert shortcodes
|
||||||
$html = WPFunctions::get()->doShortcode($html);
|
$html = WPFunctions::get()->doShortcode($html);
|
||||||
|
Reference in New Issue
Block a user