Gui improvements and ideas
This commit is contained in:
parent
3f4c7d17bf
commit
2ae0b55e42
54 changed files with 639 additions and 237 deletions
18
config/initializers/action_text.rb
Normal file
18
config/initializers/action_text.rb
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
ActionText::ContentHelper.allowed_attributes ||= []
|
||||
ActionText::ContentHelper.allowed_attributes += [
|
||||
"target", # We set target="_blank" on external links
|
||||
"abbr",
|
||||
"alt",
|
||||
"cite",
|
||||
"class",
|
||||
"datetime",
|
||||
"height",
|
||||
"href",
|
||||
"lang",
|
||||
"name",
|
||||
"src",
|
||||
"title",
|
||||
"width",
|
||||
"xml:lang",
|
||||
]
|
||||
ActionText::ContentHelper.allowed_attributes += ActionText::Attachment::ATTRIBUTES
|
||||
Loading…
Add table
Add a link
Reference in a new issue