From now on these static pages: `/privacy' `/conditions' `/accesibility' `/help/faq' `/welcome' have been moved to the DB and can be modified easily by any administrator in `/admin/site_customization/pages'
10 lines
257 B
Ruby
10 lines
257 B
Ruby
class AdminWYSIWYGSanitizer < WYSIWYGSanitizer
|
|
def allowed_tags
|
|
super + %w[img table caption thead tbody tr th td]
|
|
end
|
|
|
|
def allowed_attributes
|
|
super + %w[alt src align border cellpadding cellspacing dir style class summary scope id]
|
|
end
|
|
end
|