2

I am creating a Craft 3 plugin. It seems to work fine when editing regular entries but when I open a revision the JS I'm injecting using the below doesn't appear on the page.

$view->registerJs($js, View::POS_HEAD);

This does work on regular entries. Any ideas?

2

This is by design. Revisions are not meant to be editable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.