mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
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. |
||
|---|---|---|
| .. | ||
| icons | ||
| mathjax | ||
| wordcount | ||
| app-pad.less | ||
| ckeditor-inner.html | ||
| comment.js | ||
| comments.js | ||
| csp.js | ||
| cursor.js | ||
| disable-base64.js | ||
| export.js | ||
| index.html | ||
| inner.html | ||
| inner.js | ||
| links.js | ||
| mediatag-plugin-dialog.js | ||
| mediatag-plugin.js | ||
| wysiwygarea-plugin.js | ||