diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 21:14:48 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 21:14:48 +0200 |
| commit | a627a650fda4e22107245a3269465347bb778258 (patch) | |
| tree | b864316bd270da5d586d664db4ddf2bae90320df /public/javascripts | |
| parent | a3eb6c52abc896697df1c79ff27137075e558123 (diff) | |
Stage 7 click-testing fixes
- aggregate: switch to shortcode syntax [aggregate ...]; fix paragraph
wrapping by excising the shortcode and its surrounding <p> before
sanitize, concatenating collection output outside sanitized content
- page.rb: remove aggregate XML unwrapping from rewrite_links_in_body
(no longer needed with shortcode approach)
- rss builders: explicit CGI.escapeHTML on title/abstract; Builder 3.3.0
does not escape when target buffer is html_safe (ActionView default)
- tinymce: disable menubar and promotion nag; add code plugin, remove
paste plugin (built into TinyMCE 8 core); configure via admin_interface.js
directly (config/tinymce.yml affects tinymce() helper only, not tinymce.init)
Diffstat (limited to 'public/javascripts')
| -rw-r--r-- | public/javascripts/admin_interface.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js index ca44891..f68fee8 100644 --- a/public/javascripts/admin_interface.js +++ b/public/javascripts/admin_interface.js | |||
| @@ -16,7 +16,9 @@ $(document).ready(function () { | |||
| 16 | tinymce.init({ | 16 | tinymce.init({ |
| 17 | selector: 'textarea.with_editor', | 17 | selector: 'textarea.with_editor', |
| 18 | license_key: 'gpl', | 18 | license_key: 'gpl', |
| 19 | plugins: 'paste', | 19 | promotion: false, |
| 20 | menubar: false, | ||
| 21 | plugins: 'code', | ||
| 20 | toolbar: 'bold italic underline | bullist numlist | link unlink | blocks | code', | 22 | toolbar: 'bold italic underline | bullist numlist | link unlink | blocks | code', |
| 21 | extended_valid_elements: 'aggregate[tags|limit|order_by|order_direction|partial|conditions]', | 23 | extended_valid_elements: 'aggregate[tags|limit|order_by|order_direction|partial|conditions]', |
| 22 | relative_urls: false, | 24 | relative_urls: false, |
