Remove unwanted default table configuration for CKEditor

This commit is contained in:
Stephen Abello
2024-07-19 10:52:40 +02:00
parent b682ed7ad9
commit 21bc4cdc9b
3 changed files with 2 additions and 20 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

@@ -213,24 +213,6 @@ class Editor extends ClassicEditor {
'|',
'toggleTableCaption'
],
tableProperties: {
// The default styles for tables in the editor.
// They should be synchronized with the content styles.
defaultProperties: {
borderStyle: 'dashed',
borderColor: 'hsl(90, 75%, 60%)',
borderWidth: '1px',
},
},
// The default styles for table cells in the editor.
// They should be synchronized with the content styles.
tableCellProperties: {
defaultProperties: {
borderStyle: 'dashed',
borderColor: 'hsl(90, 75%, 60%)',
borderWidth: '1px',
}
}
},
htmlSupport: {
allow: [