heidkaemper / craft-redactor-anchors

Support for anchors in Craft CMS Redactor
https://plugins.craftcms.com/redactor-anchors
MIT License
10 stars 4 forks source link

Craft3 and schemaVersion 2.0 #15

Closed wolispace closed 7 months ago

wolispace commented 7 months ago

I am running several Craft 3 and Craft 4 sites.

Sites running Craft 4 and redactor-achors plugin update and run without issue.

Sites with Craft 3 and redactor-anchors plugin shows this during 'composer install:

Your project config files were created for different versions of Craft and/or plugins than what’s currently installed.

Redactor Anchors is installed with schema version of 1.0.0 while 2.0 was expected.

Try running `composer install` from your terminal to resolve.

It looks like the schemaVerison is incremented when migrations are applied, but I can't see any migrations in relation to this plugin, and that doesn't seem to have any relation to the version of Craft.

Re-running composer install made no difference.

Running craft project-config/rebuild made no difference.

The Craft 3 sites works fine, and I can create and edit anchors within a redactor rich text field OK.

1) Is this going to cause problems for the Craft 3 sites?

2) Is there a way to fix this?

heidkaemper commented 7 months ago

Thanks for your notice! This should be fixed with v1.4.3. https://github.com/heidkaemper/craft-redactor-anchors/releases/tag/1.4.3