Need special filtering in CKEditor plugings
Hi, it's a bit difficult to add filters in CKeditor module on Redmine 2.3. Please, How add some filters for keeping the href attribute on this following tag: <a href="Notes://abcd"> ?
I need "notes" and "files" <a> links.
That's a surprise because, on the last original install "Redmine CKEditor v1.0.15" plugins, the <a href="http://...."> works fine.
Redmine version 2.3.3.stable
Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]
Rails version 3.2.13
It's caused by Rails sanitization.
You can add the following configuration to the REDMINE_ROOT/config/additional_environment.rb file.
config.action_view.sanitized_allowed_protocols = %w(notes file)
Thanks! That works fine.
Thanks - Worked for me as well