Skip to content

Commit b2feedb

Browse files
committed
TINY-13391: Add table_default_header_rows and table_default_header_cols options to release notes and table options
1 parent 8d0bcc7 commit b2feedb

4 files changed

Lines changed: 47 additions & 0 deletions

File tree

modules/ROOT/pages/8.4.0-release-notes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
120120

121121
{productname} {release-version} also includes the following addition<s>:
122122

123+
=== New `table_default_header_rows` and `table_default_header_cols` options to set the default header size for new tables
124+
// #TINY-13391
125+
126+
In {productname} {release-version}, integrators previously had no way to set default header rows and columns when creating tables through the editor UI. This affected the accessibility of tables and required manual intervention for integrators aiming to meet accessibility standards. The new xref:table-options.adoc#table_default_header_rows[`+table_default_header_rows+`] and xref:table-options.adoc#table_default_header_cols[`+table_default_header_cols+`] options enable integrators to set the number of default header rows and columns for new tables created through the editor's UI, providing a supported way to meet accessibility requirements.
127+
128+
// CCFR here.
129+
123130
=== <TINY-vwxyz 1 changelog entry>
124131
// #TINY-vwxyz1
125132

modules/ROOT/pages/table-options.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ include::partial$configuration/table_default_attributes.adoc[leveloffset=+1]
2020

2121
include::partial$configuration/table_default_styles.adoc[leveloffset=+1]
2222

23+
include::partial$configuration/table_default_header_rows.adoc[leveloffset=+1]
24+
25+
include::partial$configuration/table_default_header_cols.adoc[leveloffset=+1]
26+
2327
== Interacting with tables
2428

2529
include::partial$configuration/table_clone_elements.adoc[leveloffset=+1]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[[table_default_header_cols]]
2+
== `+table_default_header_cols+`
3+
4+
The `+table_default_header_cols+` option sets the number of default header columns for new tables created through the editor UI (for example, via the table picker or insert table dialog). This helps integrators meet accessibility standards by ensuring new tables have header columns by default without manual intervention.
5+
6+
*Type:* `+Number+`
7+
8+
*Default value:* `+0+`
9+
10+
=== Example: using `+table_default_header_cols+`
11+
12+
[source,js]
13+
----
14+
tinymce.init({
15+
selector: 'textarea', // change this value according to your HTML
16+
table_default_header_cols: 1
17+
});
18+
----
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[[table_default_header_rows]]
2+
== `+table_default_header_rows+`
3+
4+
The `+table_default_header_rows+` option sets the number of default header rows for new tables created through the editor UI (for example, via the table picker or insert table dialog). This helps integrators meet accessibility standards by ensuring new tables have header rows by default without manual intervention.
5+
6+
*Type:* `+Number+`
7+
8+
*Default value:* `+0+`
9+
10+
=== Example: using `+table_default_header_rows+`
11+
12+
[source,js]
13+
----
14+
tinymce.init({
15+
selector: 'textarea', // change this value according to your HTML
16+
table_default_header_rows: 1
17+
});
18+
----

0 commit comments

Comments
 (0)