Kanka Automatic Table of Contents

Automatically adds a table of contents to Kanka entity pages under the Pins sidebar.

Από την 09/11/2021. Δείτε την τελευταία έκδοση.

Δημιουργός
Salvatos
Βαθμολογίες
0 0 0
Έκδοση
7
Δημιουργήθηκε την
15/07/2021
Ενημερώθηκε την
09/11/2021
Μέγεθος
6 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

Automatically adds a Table of Contents block under the Pins sidebar of any entity on Kanka. Keep in mind that this runs exclusively in the client and makes no change to your Kanka campaign, nor is it visible on any browser or device other than the ones this script is installed on. You can however customize its appearance using campaign CSS.

The script is also able to add links back to the table of contents on every heading (entry/post box headings are excluded), but this is turned off by default. To activate this feature, locate the following line and change false to true:

const addTopLink = false;