PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.4
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.4
4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 All 202 releases
← All changes | includes/Admin/Customizer/Defaults.php +84 -0 4.8.0 → 4.9.4 View file →
@@ -47,8 +47,14 @@
47 47 'betterdocs_doc_page_content_padding_bottom' => '50',
48 48 'betterdocs_doc_page_content_padding_left' => '0',
49 49 'betterdocs_doc_page_content_width' => '100',
50 50 'betterdocs_doc_page_content_max_width' => '1400',
51 + // Single doc content area. Defaults mirror the stock stylesheet
52 + // (width:100%; max-width:1400px on every layout that has a capped
53 + // content wrapper), so existing sites render identically until the
54 + // sliders are actually moved.
55 + 'betterdocs_single_doc_content_width' => '100',
56 + 'betterdocs_single_doc_content_max_width' => '1400',
51 57 'betterdocs_doc_page_column_settings' => '',
52 58 'betterdocs_sleek_docs_page_column_number' => '4',
53 59 'betterdocs_doc_page_column_space' => '15',
54 60 'betterdocs_doc_page_column_padding' => '',
@@ -214,8 +220,86 @@
214 220 'betterdocs_doc_single_content_est_reading_padding_top' => '5',
215 221 'betterdocs_doc_single_content_est_reading_padding_right' => '10',
216 222 'betterdocs_doc_single_content_est_reading_padding_bottom' => '5',
217 223 'betterdocs_doc_single_content_est_reading_padding_left' => '10',
224 + // AI Actions. Fill, type and box mirror the reading-time pill directly
225 + // above — same #F9FAFB, same #667085 at 14px, same 5/10 padding — because
226 + // the two sit side by side in the meta row and any drift between them
227 + // reads as a mistake. Only the radius is the button's own: 999px keeps it
228 + // a pill at any font size, where the pill's 16px stops being one as soon
229 + // as somebody enlarges the text.
230 + //
231 + // These are real values rather than the '' they used to be, so the
232 + // controls open showing what the button actually looks like. That is only
233 + // safe because the rules they feed are (0,2,0) — see the AI Actions block
234 + // in dynamic.css.php — against (0,3,0) from the block and Elementor, whose
235 + // per-instance settings therefore still win. Raising the specificity there
236 + // without lowering it here would silently freeze every block and widget
237 + // instance inside a classic single-doc template at these values.
238 + 'betterdocs_doc_ai_actions_section' => '',
239 + 'betterdocs_doc_single_content_ai_actions_bg_color' => '#F9FAFB',
240 + 'betterdocs_doc_single_content_ai_actions_color' => '#667085',
241 + 'betterdocs_doc_single_content_ai_actions_font_size' => '14',
242 + 'betterdocs_doc_single_content_ai_actions_font_weight' => 'normal',
243 + 'betterdocs_doc_single_content_ai_actions_icon_size' => '14',
244 + 'betterdocs_doc_single_content_ai_actions_icon_color' => '#667085',
245 + // #D0D5DD, matching the stylesheet's divider rather than the menu's
246 + // border: this setting paints the seam between the two halves as well
247 + // as the (off by default) outer border, and the seam is the part that
248 + // is actually visible. Anything lighter and it disappears.
249 + 'betterdocs_doc_single_content_ai_actions_border_color' => '#D0D5DD',
250 + // No border by design; the control is here for sites that want one.
251 + // The width is also what switches the border on: dynamic.css.php pairs
252 + // it with `border-style: solid`, since the stylesheet ships `border: 0`
253 + // and a width with no style renders nothing at all.
254 + 'betterdocs_doc_single_content_ai_actions_border_width' => '0',
255 + // 16, the same corner the reading-time pill above uses.
256 + 'betterdocs_doc_single_content_ai_actions_border_radius' => '16',
257 + 'betterdocs_doc_single_content_ai_actions_padding' => '',
258 + 'betterdocs_doc_single_content_ai_actions_padding_top' => '5',
259 + 'betterdocs_doc_single_content_ai_actions_padding_right' => '10',
260 + 'betterdocs_doc_single_content_ai_actions_padding_bottom' => '5',
261 + 'betterdocs_doc_single_content_ai_actions_padding_left' => '10',
262 + // Listen. Fill, type and box mirror the reading-time pill it sits beside
263 + // and the AI Actions button above — same #F9FAFB, same #667085 at 14px,
264 + // same 5/10 padding, same 16px corner. The three are one row and any
265 + // drift between them reads as a mistake.
266 + //
267 + // Real values rather than the '' an untouched section would normally
268 + // carry, for the same reason AI Actions ships real ones: the controls
269 + // then open showing what the pill actually looks like. That is only safe
270 + // because the rules they feed are (0,2,0) — see the Listen block in
271 + // dynamic.css.php — against (0,3,0) from the block and Elementor, whose
272 + // per-instance settings therefore still win.
273 + 'betterdocs_doc_listen_section' => '',
274 + 'betterdocs_doc_single_content_listen_bg_color' => '#F9FAFB',
275 + 'betterdocs_doc_single_content_listen_color' => '#667085',
276 + 'betterdocs_doc_single_content_listen_font_size' => '14',
277 + 'betterdocs_doc_single_content_listen_font_weight' => 'normal',
278 + 'betterdocs_doc_single_content_listen_icon_size' => '14',
279 + 'betterdocs_doc_single_content_listen_icon_color' => '#667085',
280 + // The player's own chrome: the play button's fill, the progress bar's
281 + // fill and the scrubber's ring, all three of which take their colour from
282 + // one custom property. #1D2939 is the design's near-black — the progress
283 + // bar needs to read against the #D0D5DD track behind it, which #667085
284 + // does not.
285 + 'betterdocs_doc_single_content_listen_accent_color' => '#1D2939',
286 + // #D0D5DD, matching the stylesheet's progress track rather than anything
287 + // darker: this setting paints the (off by default) outer border, and a
288 + // heavier grey turns the pill back into the bordered box the design
289 + // replaced.
290 + 'betterdocs_doc_single_content_listen_border_color' => '#D0D5DD',
291 + // No border by design; the control is here for sites that want one. The
292 + // width is also what switches the border on: dynamic.css.php pairs it
293 + // with `border-style: solid`, since the stylesheet ships `border: 0` and
294 + // a width with no style renders nothing at all.
295 + 'betterdocs_doc_single_content_listen_border_width' => '0',
296 + 'betterdocs_doc_single_content_listen_border_radius' => '16',
297 + 'betterdocs_doc_single_content_listen_padding' => '',
298 + 'betterdocs_doc_single_content_listen_padding_top' => '5',
299 + 'betterdocs_doc_single_content_listen_padding_right' => '10',
300 + 'betterdocs_doc_single_content_listen_padding_bottom' => '5',
301 + 'betterdocs_doc_single_content_listen_padding_left' => '10',
218 302 'betterdocs_doc_single_content_area_bg_color' => 'rgba(255,255,255,0)',
219 303 'betterdocs_doc_single_content_area_padding' => '',
220 304 'betterdocs_doc_single_content_area_padding_top' => '30',
221 305 'betterdocs_doc_single_content_area_padding_right' => '25',