It seems like this anchor-plugin is not compatible with Contao 4.13 because Contao4.10 and upwards use tinymce5.
**Tries & errors **
I updated a Contao installation from 4.9 to 4.13 and couldn't get the anchor plugin to work.
First I got this javascript error:
anchor Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
Trying to fix this by hand led to more issues:
Could not find valid required value for "onAction"
It seems like this anchor-plugin is not compatible with Contao 4.13 because Contao4.10 and upwards use tinymce5.
**Tries & errors **
I updated a Contao installation from 4.9 to 4.13 and couldn't get the anchor plugin to work.
First I got this javascript error:
Trying to fix this by hand led to more issues: