Skip to content
Snippets Groups Projects
Commit 7626d568 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

summernote cleaner !!!

parent 92197acb
No related branches found
No related tags found
No related merge requests found
class Communication::Block::Component::RichText < Communication::Block::Component::Base
def data=(value)
@data = Osuny::Sanitizer.sanitize value, 'text'
@data = SummernoteCleaner.clean value
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment