Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We created the anchor plugin in Panopoly WYSIWYG in #2939911: Anchor support in Drupal 8 because the contrib anchor_link module had some problems (details on that issue).
This functionality should be spun out into its own contrib module (maybe even going to anchor_link?) because the functionality is pretty generic.
Before that, there's one more feature to implement: #2954903: Anchor dialog should use a Drupal form
Comments
Comment #2
mpp CreditAttribution: mpp at AmeXio for District09 commentedWouldn't it make more sense to contribute this to core?
See https://www.drupal.org/project/editor_advanced_link/issues/2595337#comme...
Comment #3
dsnopekSure, but that'll mean it'll be at minimum 6 months until we can use it, but probably longer given how slowly things move through the core queue. I think a good next step would be putting it in it's own contrib module so there's something we can use right away!
Comment #4
rang501 CreditAttribution: rang501 at ADM Interactive commentedHi!
We needed this functionality fast so I tried to implement it. You can check it out at https://www.drupal.org/sandbox/rang501/2998051
It basically uses panopoly anchor plugin and adds additional functionality to select anchors from Drupal link dialog. It checks all available ckeditor instances for anchors.
This module requires fakeobjects module and does not depend on panopoly distribution.
Ideas are welcome and I can promote it to full project if needed.
Comment #5
tm541 CreditAttribution: tm541 commentedIs this still in the works? I was very surprised to see that there is no way to create an anchor link within the panoply editor. Has there been any progress with this issue lately?