cryptpad/www/pad
SliOrtega295 fb0a216eb9 Fix #2216: Table of contents not clickable in read-only mode
Problem:
- In read-only mode, clicking on table of contents links does nothing
- The anchor links use CKEditor's restoreRealElement which may not work in read-only mode

Solution:
- Add fallback to find anchor by ID directly
- Use foundAnchor flag to stop searching after first match

This matches the implementation in links.js which already has this fallback.
2026-03-06 00:06:34 +08:00
..
icons Add missing icon 2020-04-27 14:38:44 +02:00
mathjax Fix Tex rendering issues in rich text 2021-05-04 14:21:50 +02:00
wordcount Word count integration 2019-11-22 15:50:32 +01:00
app-pad.less remove fa occurences 2025-09-05 16:29:54 +03:00
ckeditor-inner.html Apply headers 2023-10-20 15:35:26 +01:00
comment.js Apply headers 2023-10-20 15:35:26 +01:00
comments.js Merge branch 'lucide-icons' into update-icons 2025-10-07 16:37:08 +03:00
csp.js Remove jshint 2024-03-01 07:44:00 +01:00
cursor.js Apply headers 2023-10-20 15:35:26 +01:00
disable-base64.js Apply headers 2023-10-20 15:35:26 +01:00
export.js Add missing pipes in pad tables markdown export 2024-12-10 17:48:49 +01:00
index.html Update requirejs cache string 2024-08-21 17:05:00 +02:00
inner.html Update requirejs cache string 2024-08-21 17:05:00 +02:00
inner.js Fix #2216: Table of contents not clickable in read-only mode 2026-03-06 00:06:34 +08:00
links.js #1226: lint compliance and optimization 2024-01-25 15:17:29 +01:00
mediatag-plugin-dialog.js Apply headers 2023-10-20 15:35:26 +01:00
mediatag-plugin.js Apply headers 2023-10-20 15:35:26 +01:00
wysiwygarea-plugin.js Remove jshint 2024-03-01 07:44:00 +01:00