[ 
https://issues.apache.org/jira/browse/AIRAVATA-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355995#comment-17355995
 ] 

Marcus Christie commented on AIRAVATA-3465:
-------------------------------------------

The *Heading block* now "slugifies" the heading text. For example, the 
following:

 !screenshot-1.png|width=100%! 

Will be rendered with an id of "test-heading".  So it can be linked to with 
#test-heading.

wagtail_draftail_anchors has been added. This supports slugified heading anchor 
id in the *Paragraph block* as well as the ability to add anchor identifiers 
anywhere in the paragraph block:

 !screenshot-2.png|width=100%! 

The screenshot shows a heading with an automatically added slugified anchor id. 
Also, on the far right of the row of rich text buttons there's an anchor button 
for adding an anchor identifier.

> Wagtail: create link anchors in CMS pages
> -----------------------------------------
>
>                 Key: AIRAVATA-3465
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3465
>             Project: Airavata
>          Issue Type: Task
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> This seems like it would do the trick:
> https://github.com/jacobtoppm/wagtail_draftail_anchors
> For more context:
> https://github.com/wagtail/wagtail/pull/5505



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to