Closed LouisCuvelier closed 3 years ago
Just released Anchors 2.3.0 with a new anchorLinkPosition
setting, which determines where the anchor link should be added.
To get the link to be added before the heading text, create a config/anchors.php
file with this in it:
<?php
return [
'anchorLinkPosition' => craft\anchors\Settings::POS_BEFORE,
];
To apply correctly a
float: left;
, the link should be at the first position in the h tag. The link is on the first position just everywhere (Github, React Doc, Craft CMS Doc)So, in src/Parser.php, the change would be :
Can you make the change please ? 🙂