Jul 24 - Update Rich-text editor to enhance table editor 4

This commit is contained in:
2026-07-24 11:32:03 -04:00
parent 2e65745aed
commit c4ad6e8ac9
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -106,6 +106,8 @@ _TABLE_CELL_ATTRS = [
ALLOWED_ATTRS = {
"a": ["href", "title", "target", "rel"],
"img": ["src", "alt", "width", "height"],
# cell alignment lives as inline `text-align` on the cell's <p> block
"p": ["style"],
"table": ["class", "style", "align", "width", "height", "data-class"],
"colgroup": ["style"],
"col": ["width", "span", "style"],