Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions modules/ROOT/pages/8.4.0-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a

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

=== New `table_default_header_rows` and `table_default_header_cols` options to set the default header size for new tables
// #TINY-13391

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Previously, integrators 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.



=== <TINY-vwxyz 1 changelog entry>
// #TINY-vwxyz1

Expand Down
4 changes: 4 additions & 0 deletions modules/ROOT/pages/table-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ include::partial$configuration/table_default_attributes.adoc[leveloffset=+1]

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

include::partial$configuration/table_default_header_rows.adoc[leveloffset=+1]

include::partial$configuration/table_default_header_cols.adoc[leveloffset=+1]

== Interacting with tables

include::partial$configuration/table_clone_elements.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[table_default_header_cols]]
== `+table_default_header_cols+`

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.

*Type:* `+Number+`

*Default value:* `+0+`

=== Example: using `+table_default_header_cols+`

[source,js]
----
tinymce.init({
selector: 'textarea', // change this value according to your HTML
table_default_header_cols: 1
});
----
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[table_default_header_rows]]
== `+table_default_header_rows+`

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.

*Type:* `+Number+`

*Default value:* `+0+`

=== Example: using `+table_default_header_rows+`

[source,js]
----
tinymce.init({
selector: 'textarea', // change this value according to your HTML
table_default_header_rows: 1
});
----
Loading