Skip to content

Commit 9ecf0a1

Browse files
DOC-3265: Make boolean formatting and section ordering for these files more consistent. (#3825)
1 parent 47d4031 commit 9ecf0a1

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

modules/ROOT/partials/configuration/convert_unsafe_embeds.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[[convert-unsafe-embeds]]
22
== `convert_unsafe_embeds` option
33

4-
This option controls whether an `<object>` and `<embed>` elements will be converted to more restrictive alternatives, namely `<img>` for image MIME types, `<video>` for video MIME types, `<audio>` for audio MIME types, or `<iframe>` for other or unspecified MIME types.
4+
This option controls whether an `<object>` and `<embed>` elements will be converted to more restrictive alternatives, namely `<img>` for image MIME types, `<video>` for video MIME types, `<audio>` for audio MIME types, or `<iframe>` for other or unspecified MIME types.
55

66
When converted to `<img>`, `<video>`, or `<audio>`, this prevents the embedded resource from performing potentially malicious actions including scripting, file downloads, browser popups, passing the same-origin policy, among others. Enable the `sandbox_iframes` option in addition to ensure <iframe> conversions are also neutralised.
77

88
*Type:* `+Boolean+`
99

10-
*Possible values:* `true`, `false`
10+
*Default value:* `+true+`
1111

12-
*Default value:* `true`
12+
*Possible values:* `+true+`, `+false+`
1313

1414
=== Example: using `convert_unsafe_embeds` option
1515

modules/ROOT/partials/configuration/help_accessibility.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The `help_accessibility` option allows for this display to be turned off.
77

88
*Type:* `+Boolean+`
99

10-
*Possible values:* `true`, `false`
10+
*Default value:* `+true+`
1111

12-
*Default value:* `true`
12+
*Possible values:* `+true+`, `+false+`
1313

1414
=== Example: turning `help_accessibility` off
1515

modules/ROOT/partials/configuration/indent.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Set `+indent+` to `false` to get HTML output from {productname} without having a
77

88
*Type:* `+Boolean+`
99

10-
*Possible values:* `true`, `false`
10+
*Default value:* `+false+`
1111

12-
*Default value:* `true`
12+
*Possible values:* `+true+`, `+false+`
1313

1414
=== Example: setting `+indent+` to false
1515

modules/ROOT/partials/configuration/pad_empty_with_br.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ For example, when this option is set to `true`, an empty paragraph, `+<p></p>+`,
1111

1212
*Type:* `+Boolean+`
1313

14-
*Possible values:* `true`, `false`
14+
*Default value:* `+false+`
1515

16-
*Default value:* `false`
16+
*Possible values:* `+true+`, `+false+`
1717

1818
=== Example: using `pad_empty_with_br`
1919

modules/ROOT/partials/configuration/readonly.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
Setting the `readonly` option to `true` initializes the editor in **readonly** mode instead of editing (**design**) mode. Once initialized, the editor can be switched to **design** mode using the xref:apis/tinymce.editormode.adoc#set[`tinymce.editor.mode.set` API].
55

6-
*Type:* `Boolean`
6+
*Type:* `+Boolean+`
77

8-
*Default value:* `false`
8+
*Default value:* `+false+`
99

10-
*Possible values:* `true`, `false`
10+
*Possible values:* `+true+`, `+false+`
1111

1212
=== Example: Using `readonly`
1313

@@ -27,7 +27,7 @@ liveDemo::readonly-demo[]
2727
|===
2828
| **Behavior** | **Details** | **Allowed (True/False)**
2929

30-
| Navigation and Interaction
30+
| Navigation and Interaction
3131
a|
3232
* Users can place the cursor within the editor
3333
* Navigation behaves the same as in design mode, including:
@@ -63,7 +63,7 @@ a|
6363
| False
6464

6565
| Enabled Features
66-
a|
66+
a|
6767
* The following toolbar/menu items remain enabled in **readonly** mode:
6868
** xref:fullscreen.adoc[Full Screen]
6969
** xref:help.adoc[Help]

modules/ROOT/partials/configuration/sandbox_iframes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This option allows control of whether `<iframe>` elements are link:https://devel
55

66
*Type:* `+Boolean+`
77

8-
*Possible values:* `true`, `false`
8+
*Default value:* `+true+`
99

10-
*Default value:* `true`
10+
*Possible values:* `+true+`, `+false+`
1111

1212
=== Example: using `sandbox_iframes` option
1313

modules/ROOT/partials/configuration/tinycomments_mentions_enabled.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ The {pluginname} plugin offers the `+tinycomments_mentions_enabled+` option to c
55

66
*Type:* `+Boolean+`
77

8-
*Possible values:* `true`, `false`
8+
*Default value:* `+true+`
99

10-
*Default value:* `true`
10+
*Possible values:* `+true+`, `+false+`
1111

1212
=== Example: using `tinycomments_mentions_enabled` option
1313

1414
[source,js]
1515
----
1616
const userDb = {
17-
'johnsmith': {
18-
id: 'johnsmith',
19-
name: 'John Smith'
17+
'johnsmith': {
18+
id: 'johnsmith',
19+
name: 'John Smith'
2020
},
2121
};
2222

0 commit comments

Comments
 (0)