backdrop-ops / contrib

Apply to join the contributed code developer team.
23 stars 16 forks source link

New project request: CKEditor Anchor Link #595

Open mikesoltis opened 2 years ago

mikesoltis commented 2 years ago

Missing Module/Plugin for CKEditor

The function was available in D7 (flag icon for insertion and link icon included anchor list) Also written for D8/9: https://www.drupal.org/project/anchor_link (23,000+ installs)

Contributed CKEditor Addons is not an option because is brakes other features in CKEditor (spell check for example).

We can pay for this module, if incentive is required!

mikesoltis commented 2 years ago

Another issue to consider is compatibility with the Paragraphs module. It may be obvious, but the list displayed in the CKEditor Link widget dropdown should show all anchors on the node, not just those in the current paragraph.

stpaultim commented 2 years ago

My team is working on this module.

jenlampton commented 2 years ago

@stpaultim I'm going to start work on this module today. If you have done some work on this already, would you be willing to share your code with me?

stpaultim commented 2 years ago

@jenlampton - a colleage started working on this. I've shared the private repo, but I'm not sure there is anything of value there. Looks like the repo does not include git history from Drupal.

We did not get as far on this project as we did on the blocks module. https://github.com/backdrop-contrib/ckeditor_blocks/issues

jenlampton commented 2 years ago

I don't expect any shared history from Drupal since its an 8.x module only. I'll have a look and see! Thank you :)

jenlampton commented 2 years ago

I've got a start to this module in contrib: https://github.com/backdrop-contrib/anchor_link So far the buttons are available to the editor configuration, but only the insert anchor is working. The link to anchor is not yet.