- Issue created by @dylan donkersgoed
I created a pull request to address this issue. It makes 2 changes to the existing auto format behavior:
- Only match anchors (starting with #), relying on Drupal core for auto formatting URLs and emails.
- Create a link to an anchor with the typed value, rather than creating an anchor with the typed value. This reflects the behavior found on social media when typing hashes.
I have attached a zip of the built code. The full source can be found at https://github.com/ok-steve/ckeditor5-anchor-drupal/tree/feature-autofor....
- Status changed to Needs review
about 1 year ago 2:15pm 3 October 2023 - First commit to issue fork.
- Status changed to RTBC
12 months ago 5:21pm 29 November 2023 - 🇬🇧United Kingdom jonnyhocks
I've also tested this and can confirm mailto links are no longer converted into anchors. It would be great if the library could be tagged as a new release because I'm struggling to pull the updated code in from the repository seen as the branch has been merged in github.
- Status changed to Fixed
12 months ago 9:01pm 30 November 2023 - 🇨🇦Canada dylan donkersgoed London, Ontario
I merged this in a while ago but didn't mark the issue done. Thanks for the PR ok-steve, the latest dev version requires a new tag with your PR merged in.
Automatically closed - issue fixed for 2 weeks with no activity.