CuBoulder / ucb_ckeditor_plugins

This Drupal 9+ module contains a collection of CKEditor 5 plugins to add functionality to the WYSIWYG editor.
GNU General Public License v2.0
1 stars 0 forks source link

CKEditor 5 Plugin: Anchors #39

Closed jnicholCU closed 1 week ago

jnicholCU commented 1 year ago

There's still a number of shortcodes from Drupal 7 Express that need to be implemented. Below are the remaining shortcodes and descriptions of how they work. Most shortcodes, unless specified, come from the cu_shortcodes module: https://github.com/CuBoulder/express_mono/blob/dev/modules/custom/cu_shortcodes

Anchors By providing a jquery selector, anchors are created and a list of links to those anchors is inserted in place of the shortcode. For example [anchors selector="#content h2" title="On this page:" /] will add anchors to all h2 headings within the .content element, and create a list of links to those anchors and title that list with "On this page:".

timurtripp commented 4 months ago

Investigate this contrib module: CKEditor Anchor Link

jcsparks commented 2 weeks ago

We have an anchor plugin now but may still need a solution for the jump menus that were created by the shortcode version.

jnicholCU commented 1 week ago

Closing this ticket in favor of #74