You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/a11ychecker_filter_issue.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ tinymce.init({
47
47
48
48
=== Example: using `+a11ychecker_filter_issue+` to filter images with empty alternative text from the Accessibility Checker I1 rule
49
49
50
-
The callback function in the following example will only return `+false+` for any issues with `'I1'` as the `+'id'+` image elements with an empty `+'alt+'` attribute, otherwise the issue won’t be filtered out. This implementation can be useful as allowing images to have empty alternative text can be another method of applying the `+role="presentation"+` attribute to mark an image as `+decorative+`.
50
+
The callback function in the following example will only return `+false+` for any issues with `'I1'` as the `+'id'+` image elements with an empty `+'alt+'` attribute, otherwise the issue won't be filtered out. This implementation can be useful as allowing images to have empty alternative text can be another method of applying the `+role="presentation"+` attribute to mark an image as `+decorative+`.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/advtable_value_series.adoc
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,13 +48,14 @@ Each top-level properties of the `advtable_value_series` object are used as the
48
48
49
49
[cols="1,2,1,4",options="header"]
50
50
|===
51
-
|Name |Value |Requirement |Description
52
-
|title |`+String+` |Required |The text shown in the UI for the series.
53
-
|update |`+boolean+` |Optional |default: `+false+` - When `+true+`, the series values will be updated when changes are made to the table.
54
-
|resizable |`+boolean+` |Optional |default: `+true+` - When `+true+`, table cells containing the series values can be resized using a mouse or touch device.
55
-
|generator |`+(info: GeneratorInfo, rowIndex: number, columnIndex: number) => GeneratorResult+` |Required |For details on creating a value series generator, see: xref:advtable.adoc#creating-a-value-series-generator[Creating a value series generator].
51
+
|Name | Value | Requirement |Description
52
+
|title | `+String+` | Required | The text shown in the UI for the series.
53
+
|update | `+Boolean+` | Optional | default: `+false+` - When `+true+`, the series values will be updated when changes are made to the table.
54
+
|resizable | `+Boolean+` | Optional | default: `+true+` - When `+true+`, table cells containing the series values can be resized using a mouse or touch device.
55
+
|generator |`+(info: GeneratorInfo, rowIndex: number, columnIndex: number) => GeneratorResult+` |Required | For details on creating a value series generator, see: xref:advtable.adoc#creating-a-value-series-generator[Creating a value series generator].
56
56
|===
57
57
58
+
58
59
[[creating-a-value-series-generator]]
59
60
==== Creating a value series generator
60
61
@@ -69,13 +70,13 @@ An object with the following properties is passed to the generator callback func
69
70
70
71
[cols="1,2,4",options="header"]
71
72
|===
72
-
|Name |Value |Description
73
-
|sectionType |`+'thead'+`, `+'tbody'+` or `+'tfoot'+` |The section of the table cell.
74
-
|cellType |`+'td'+` or `+'th'+` |The type of the table cell.
75
-
|getRowType |`+() => 'header' \| 'body' \| 'footer'+` | A function that returns the type of row the table cell is part of. A 'header' row is either a row that is part of a `thead` section or contains all `th` cells.
76
-
|classes |`+string[]+` |The classes present on the table cell.
77
-
|direction |`+'row'+` or `+'column'+` |The direction of the generator.
78
-
|prev |`+GeneratorResult+` |The generator result from the previous iteration.
73
+
|Name | Value | Description
74
+
|sectionType |`+'thead'+`, `+'tbody'+` or `+'tfoot'+` | The section of the table cell.
75
+
|cellType | `+'td'+` or `+'th'+` | The type of the table cell.
76
+
|getRowType | `+() => 'header' \| 'body' \| 'footer'+` | A function that returns the type of row the table cell is part of. A 'header' row is either a row that is part of a `thead` section or contains all `th` cells.
77
+
|classes | `+Array+` of `+Strings+` | The classes present on the table cell.
78
+
|direction | `+'row'+` or `+'column'+` | The direction of the generator.
79
+
|prev | `+GeneratorResult+` | The generator result from the previous iteration.
79
80
|===
80
81
81
82
[[generatorresult]]
@@ -85,12 +86,13 @@ The generator callback function should return an object with the following prope
85
86
86
87
[cols="1,1,1,4",options="header"]
87
88
|===
88
-
|Name |Value |Requirement |Description
89
-
|classes |`+string[]+` |Optional |The classes to be applied to the table cell.
90
-
|attributes |`+Object+` |Optional |The attributes to be applied to the table cell. The `+attributes+` should be provided as an object where each key is an attribute and each value is of type `+String+`, `+boolean+`, `+number+`, or `+null+`. A value of `+null+` for an attribute will remove the attribute from the table cell.
91
-
|value |`+String+`, `+number+` or `+undefined+` |Optional |The value of the table cell. If the value is `+undefined+`, the editor will use the previous value of the table cell.
89
+
|Name | Value | Requirement |Description
90
+
|classes | `+Array+` of `+Strings+` | Optional | The classes to be applied to the table cell.
91
+
|attributes |`+Object+` | Optional | The attributes to be applied to the table cell. The `+attributes+` should be provided as an object where each key is an attribute and each value is of type `+String+`, `+Boolean+`, `+Number+`, or `+null+`. A value of `+null+` for an attribute will remove the attribute from the table cell.
92
+
|value | `+String+`, `+Number+` or `+undefined+` |Optional | The value of the table cell. If the value is `+undefined+`, the editor will use the previous value of the table cell.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/anchor_bottom.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[[anchor_bottom]]
2
2
== `anchor_bottom`
3
3
4
-
Lets you specify a custom name for the bottom anchor in the url type ahead drop down. To disable the bottom anchor from the drop down set it `+false+`.
4
+
Lets you specify a custom name for the bottom anchor in the URL type ahead drop down. To disable the bottom anchor from the drop down set it `+false+`.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/br_in_pre.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[[br_in_pre]]
2
2
== `+br_in_pre+`
3
3
4
-
This option allows you to disable {productname}'s default behavior when pressing the enter key within a `+pre+` tag. By default, pressing enter within a `+pre+` tag produces a `+br+` tag at the insertion point. For example:
4
+
This option allows you to disable {productname}'s default behavior when pressing the kbd:[Enter] key within a `+pre+` tag. By default, pressing kbd:[Enter] within a `+pre+` tag produces a `+br+` tag at the insertion point. For example:
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/file_picker_callback.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ It should be noted, that we only provide a hook. It is up to you to implement sp
11
11
12
12
*Type:* `+Function+`
13
13
14
+
*Default value:* `+undefined+`
15
+
14
16
NOTE: The following example demonstrates how you can use `+file_picker_callback+` API, but doesn't pick any real files. Check the xref:interactive-example[Interactive example] for a more functional example.
0 commit comments