mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-24 22:21:48 +00:00
Merge branch 'usar-sutty-editor' into panel.sutty.nl
This commit is contained in:
commit
8fe0c0bea0
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
||||||
.new-editor {
|
.new-editor {
|
||||||
.editor {
|
.editor {
|
||||||
|
table {
|
||||||
|
@extend .table;
|
||||||
|
@extend .table-responsive;
|
||||||
|
}
|
||||||
|
|
||||||
.menubar {
|
.menubar {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
|
|
|
@ -202,12 +202,12 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
||||||
|
|
||||||
def allowed_attributes
|
def allowed_attributes
|
||||||
@allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id
|
@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
|
end
|
||||||
|
|
||||||
def allowed_tags
|
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
|
@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
|
end
|
||||||
|
|
||||||
# Decifra el valor
|
# Decifra el valor
|
||||||
|
|
Loading…
Reference in a new issue