Jul 24 - Update Rich-text editor to enhance table editor 4
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user