MDL-76569 editor_tiny: Set table row header style
Configure Tiny to use markup of: table > thead > tr > th For all table headers.
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -242,6 +242,11 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
|
||||
// https://www.tiny.cloud/docs/tinymce/6/statusbar-configuration-options/#branding
|
||||
branding: options.branding,
|
||||
|
||||
// Put th cells in a thead element.
|
||||
// https://www.tiny.cloud/docs/tinymce/6/table-options/#table_header_type
|
||||
// eslint-disable-next-line camelcase
|
||||
table_header_type: 'sectionCells',
|
||||
|
||||
setup: (editor) => {
|
||||
Options.register(editor, options);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user