Actualizar plugin CKEditor a 1.2.3
This commit is contained in:
parent
fd78375294
commit
dda045bde9
23 changed files with 513 additions and 240 deletions
|
@ -1,7 +1,7 @@
|
|||
require 'redmine'
|
||||
require 'redmine_ckeditor'
|
||||
|
||||
Rails.application.config.to_prepare do
|
||||
ActiveSupport::Reloader.to_prepare do
|
||||
RedmineCkeditor.apply_patch
|
||||
end
|
||||
|
||||
|
@ -9,8 +9,8 @@ Redmine::Plugin.register :redmine_ckeditor do
|
|||
name 'Redmine CKEditor plugin'
|
||||
author 'Akihiro Ono'
|
||||
description 'This is a CKEditor plugin for Redmine'
|
||||
version '1.1.5'
|
||||
requires_redmine :version_or_higher => '3.0.0'
|
||||
version '1.2.3'
|
||||
requires_redmine :version_or_higher => '4.0.0'
|
||||
url 'http://github.com/a-ono/redmine_ckeditor'
|
||||
|
||||
settings(:partial => 'settings/ckeditor')
|
||||
|
@ -19,4 +19,4 @@ Redmine::Plugin.register :redmine_ckeditor do
|
|||
RedmineCkeditor::WikiFormatting::Helper
|
||||
end
|
||||
|
||||
Loofah::HTML5::WhiteList::ALLOWED_PROTOCOLS.replace RedmineCkeditor.allowed_protocols
|
||||
(Loofah::VERSION >= "2.3.0" ? Loofah::HTML5::SafeList : Loofah::HTML5::WhiteList)::ALLOWED_PROTOCOLS.replace RedmineCkeditor.allowed_protocols
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue