5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 12:26:58 +00:00

Merge branch 'usar-sutty-editor' into panel.sutty.nl

This commit is contained in:
f 2022-11-04 16:50:10 -03:00
commit 8fe0c0bea0
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,10 @@
.new-editor {
.editor {
table {
@extend .table;
@extend .table-responsive;
}
.menubar {
z-index: 1;

View file

@ -202,12 +202,12 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
def allowed_attributes
@allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id
name rel target referrerpolicy class].freeze
name rel target referrerpolicy class colspan rowspan].freeze
end
def allowed_tags
@allowed_tags ||= %w[strong em del u mark p h1 h2 h3 h4 h5 h6 ul ol li img iframe audio video div figure blockquote
figcaption a sub sup small].freeze
figcaption a sub sup small table thead tbody tfoot tr th td].freeze
end
# Decifra el valor