Fossil SCM

Update some docs for the current reality.

stephan 2026-06-10 21:26 UTC forum-editor-2026
Commit 91a6d48a9391a0f0bbd505869c39207087ee2a14297bedfb990d5b8ef0b351b2
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -811,20 +811,23 @@
811811
F.ForumPostEditor = ForumPostEditor;
812812
813813
/**
814814
When the page is loaded, this handler does the following:
815815
816
- - Installs expand/collapse UI elements on "long" posts and collapses
816
+ 1. Installs expand/collapse UI elements on "long" posts and collapses
817817
them.
818818
819
- - Any pikchr-generated SVGs get a source-toggle button added to them
819
+ 2. Any pikchr-generated SVGs get a source-toggle button added to them
820820
which activates when the mouse is over the image or it is tapped.
821
+
822
+ 3. Plugs in a new edit/reply widget to forum posts.
821823
822824
This is a harmless no-op if the current page has neither forum
823
- post constructs for (1) nor any pikchr images for (2), nor will
824
- NOT running this code cause any breakage for clients with no JS
825
- support: this is all "nice-to-have", not required functionality.
825
+ post constructs for (1) and (3) nor any pikchr images for (2),
826
+ nor will NOT running this code cause any breakage for clients
827
+ with no JS support: this is all "nice-to-have", not required
828
+ functionality.
826829
*/
827830
F.onPageLoad(function(){
828831
const scrollbarIsVisible = (e)=>e.scrollHeight > e.clientHeight;
829832
/* Returns an event handler which implements the post expand/collapse toggle
830833
on contentElem when the given widget is activated. */
831834
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -811,20 +811,23 @@
811 F.ForumPostEditor = ForumPostEditor;
812
813 /**
814 When the page is loaded, this handler does the following:
815
816 - Installs expand/collapse UI elements on "long" posts and collapses
817 them.
818
819 - Any pikchr-generated SVGs get a source-toggle button added to them
820 which activates when the mouse is over the image or it is tapped.
 
 
821
822 This is a harmless no-op if the current page has neither forum
823 post constructs for (1) nor any pikchr images for (2), nor will
824 NOT running this code cause any breakage for clients with no JS
825 support: this is all "nice-to-have", not required functionality.
 
826 */
827 F.onPageLoad(function(){
828 const scrollbarIsVisible = (e)=>e.scrollHeight > e.clientHeight;
829 /* Returns an event handler which implements the post expand/collapse toggle
830 on contentElem when the given widget is activated. */
831
--- src/fossil.page.forumpost.js
+++ src/fossil.page.forumpost.js
@@ -811,20 +811,23 @@
811 F.ForumPostEditor = ForumPostEditor;
812
813 /**
814 When the page is loaded, this handler does the following:
815
816 1. Installs expand/collapse UI elements on "long" posts and collapses
817 them.
818
819 2. Any pikchr-generated SVGs get a source-toggle button added to them
820 which activates when the mouse is over the image or it is tapped.
821
822 3. Plugs in a new edit/reply widget to forum posts.
823
824 This is a harmless no-op if the current page has neither forum
825 post constructs for (1) and (3) nor any pikchr images for (2),
826 nor will NOT running this code cause any breakage for clients
827 with no JS support: this is all "nice-to-have", not required
828 functionality.
829 */
830 F.onPageLoad(function(){
831 const scrollbarIsVisible = (e)=>e.scrollHeight > e.clientHeight;
832 /* Returns an event handler which implements the post expand/collapse toggle
833 on contentElem when the given widget is activated. */
834

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button