This commit is contained in:
Andrew Nicols 2023-04-18 23:34:59 +08:00
commit 3933cbfb5a
3 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -360,6 +360,9 @@ const getEditorConfiguration = (target, tinyMCE, options, pluginValues) => {
.replaceAll(/\| *\|/g, '|');
}
// eslint-disable-next-line camelcase
instanceConfig.quickbars_selection_toolbar = instanceConfig.quickbars_selection_toolbar.replace('h2 h3', 'h3 h4 h5 h6');
// Next we call the `configure` function for any plugin which defines it.
// We pass the current instanceConfig in here, to allow them to make certain changes to the global configuration.
// For example, to add themselves to any menu, toolbar, and so on.