Commit 7e2c0be
docs(padToggle, padSelect): reflect default-true flag flip in core (#21)
ether/etherpad#7841 flips settings.enablePluginPadOptions default to
true, turning the runtime gate from opt-in into opt-out. Update the
helper's README + source comments so the framing matches:
- README PadToggle section: requires the patch (3.0.0+) AND the flag
not be explicitly false; calls out that older 3.x cores shipped it
default false so operators on those versions still need the explicit
opt-in.
- pad-toggle-server.js / pad-toggle.js / pad-select-server.js comment
blocks: remove the "default false per AGENTS.MD §52" framing; describe
the post-flip default and explicit operator opt-out as the case
where the warning fires.
Behavior unchanged — runtime flag detection still reads
clientVars.runtimeEnabled and warns when it's false; the warning copy
itself ("settings.enablePluginPadOptions is false — set to true …")
stays correct for operators who've explicitly disabled.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5bf1470 commit 7e2c0be
4 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
0 commit comments