You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Sample Extension format, when I create or update controls, it seems I need to change the name of the shortcode and class in order for the changes to register with php.
Otherwise, $atts are updated in javascript, but in php, the old ones persist. Not sure what I'm doing wrong.
php version
PHP 7.1.16
Tailor version
1.8.2
Using the Sample Extension format, when I create or update controls, it seems I need to change the name of the
shortcode
andclass
in order for the changes to register with php.Otherwise,
$atts
are updated in javascript, but in php, the old ones persist. Not sure what I'm doing wrong.Add new element with setting and control:
And the shortcode:
And register:
If I update the
title
control to say,heading
,$atts
still holdtitle
. I imagine it's something obvious.The text was updated successfully, but these errors were encountered: