mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 01:43:32 +02:00
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:
parent
7f5f04dbc2
commit
9e1caf81ce
2
lib/editor/tiny/amd/build/editor.min.js
vendored
2
lib/editor/tiny/amd/build/editor.min.js
vendored
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);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user