Ok, what's up with this? It installs and uninstalls cleanly (no errors) but won't make an existing tag bounce (just renders the raw db content).
ETA: Yep, all the files are being extracted to where they should be. I checked that.
ETA2: Hang on, the CSS file is being called in head, as it should be, but the javascript file is not.
Obvious question here: does hook="pre_javascript_output" still exist in Elk 1.1.x?
(And no, this would not stop the tag bouncing - that's all CSS.)
// Codes hook for 1.1.x - integrate_additional_bbc
// Called from ParseWrapper getCodes()
function stupid_bounces(&$codes)
{
$codes[] =
array(
\BBC\Codes::ATTR_TAG => 'bouncy',
\BBC\Codes::ATTR_TYPE => \BBC\Codes::TYPE_PARSED_CONTENT,
\BBC\Codes::ATTR_PARAM => array(
'bounce' => array(
\BBC\Codes::PARAM_ATTR_VALUE => '$1',
\BBC\Codes::PARAM_ATTR_MATCH => '([a-z\-]{1,9}|[a-z\-]{1,9}\_[a-z\-]{1,9}|[a-z\-]{1,9}\_[a-z\-]{1,9}\_[a-z\-]{1,9})',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
'height' => array(
\BBC\Codes::PARAM_ATTR_VALUE => 'height:$1px;',
\BBC\Codes::PARAM_ATTR_MATCH => '(\d+)',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
'hover' => array(
\BBC\Codes::PARAM_ATTR_VALUE => '$1',
\BBC\Codes::PARAM_ATTR_MATCH => '([a-z\-]{1,9})',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
'padding' => array(
\BBC\Codes::PARAM_ATTR_VALUE => ' style="padding:$1px calc($1px / 2)"',
\BBC\Codes::PARAM_ATTR_MATCH => '(\d+)',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
'time' => array(
\BBC\Codes::PARAM_ATTR_VALUE => 'animation-duration:$1s',
\BBC\Codes::PARAM_ATTR_MATCH => '(\d+)',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
'toggle' => array(
\BBC\Codes::PARAM_ATTR_VALUE => ' parrot_show',
\BBC\Codes::PARAM_ATTR_MATCH => '(true)',
\BBC\Codes::PARAM_ATTR_OPTIONAL => true,
),
),
\BBC\Codes::ATTR_BEFORE => '<div class="parrot_kingdom{bounce}{hover}"{padding}><span class="parrot_toggle{toggle}"></span><div class="parrot_cage" style="{height}{time}"><div class="parrot" style="{time}">',
\BBC\Codes::ATTR_AFTER => '</div></div></div>',
\BBC\Codes::ATTR_DISALLOW_CHILDREN => array('bouncy', 'center', 'code', 'hr', 'left', 'list', 'me', 'quote', 'right', 'spoiler', 'table'),
\BBC\Codes::ATTR_BLOCK_LEVEL => false,
\BBC\Codes::ATTR_AUTOLINK => true,
\BBC\Codes::ATTR_LENGTH => 6,
);
}
ETA: Deleted test version of zip.