radiant-ck_editor_filter-extension 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -4,11 +4,7 @@ Radiant *CKEditor Filter* Extension
4
4
  <table>
5
5
  <tr>
6
6
  <td>Author</td>
7
- <td>Benny Degezelle - <a href="http://www.monkeypatch.be">Monkeypatch</a></td>
8
- </tr>
9
- <tr>
10
- <td>Version</td>
11
- <td>0.2.4</td>
7
+ <td>Benny Degezelle - <a href="http://www.gorilla-webdesign.be">Gorilla Webdesign</a></td>
12
8
  </tr>
13
9
  <tr>
14
10
  <td>Contact:</td>
data/Rakefile CHANGED
@@ -1,24 +1,3 @@
1
- begin
2
- require 'jeweler'
3
- Jeweler::Tasks.new do |gem|
4
- gem.name = "radiant-ck_editor_filter-extension"
5
- gem.summary = %Q{CKEditor filter extension for Radiant CMS}
6
- gem.description = %Q{Adds CKEditor as a filter}
7
- gem.email = "benny@gorilla-webdesign.be"
8
- gem.homepage = "https://github.com/jomz/radiant-ck_editor_filter-extension"
9
- gem.authors = ["Benny Degezelle"]
10
- gem.add_dependency 'radiant', ">=0.9.1"
11
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
12
- end
13
- rescue LoadError
14
- puts "Jeweler (or a dependency) not available. This is only required if you plan to package copy_move as a gem."
15
- end
16
- # I think this is the one that should be moved to the extension Rakefile template
17
-
18
- # In rails 1.2, plugins aren't available in the path until they're loaded.
19
- # Check to see if the rspec plugin is installed first and require
20
- # it if it is. If not, use the gem version.
21
-
22
1
  # Determine where the RSpec plugin is by loading the boot
23
2
  unless defined? RADIANT_ROOT
24
3
  ENV["RAILS_ENV"] = "test"
@@ -33,7 +12,7 @@ unless defined? RADIANT_ROOT
33
12
  end
34
13
 
35
14
  require 'rake'
36
- require 'rake/rdoctask'
15
+ require 'rdoc/task'
37
16
  require 'rake/testtask'
38
17
 
39
18
  rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib')
@@ -47,7 +26,7 @@ Object.send(:remove_const, :RADIANT_ROOT)
47
26
 
48
27
  extension_root = File.expand_path(File.dirname(__FILE__))
49
28
 
50
- task :default => :spec
29
+ task :default => [:spec, :features]
51
30
  task :stats => "spec:statsetup"
52
31
 
53
32
  desc "Run all specs in spec directory"
@@ -117,22 +96,14 @@ namespace :spec do
117
96
  end
118
97
  end
119
98
 
120
- desc 'Generate documentation for the ck_editor_filter extension.'
121
- Rake::RDocTask.new(:rdoc) do |rdoc|
99
+ desc 'Generate documentation for the CK Editor filter extension.'
100
+ RDoc:Task.new(:rdoc) do |rdoc|
122
101
  rdoc.rdoc_dir = 'rdoc'
123
- rdoc.title = 'CkEditorFilterExtension'
102
+ rdoc.title = 'Radiant CK Editor filter extension'
124
103
  rdoc.options << '--line-numbers' << '--inline-source'
125
104
  rdoc.rdoc_files.include('README')
126
105
  rdoc.rdoc_files.include('lib/**/*.rb')
127
106
  end
128
107
 
129
- # For extensions that are in transition
130
- desc 'Test the ck_editor_filter extension.'
131
- Rake::TestTask.new(:test) do |t|
132
- t.libs << 'lib'
133
- t.pattern = 'test/**/*_test.rb'
134
- t.verbose = true
135
- end
136
-
137
108
  # Load any custom rakefiles for extension
138
109
  Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.3
@@ -1,4 +1,6 @@
1
1
  :javascript
2
- instantiateCkEditor('#{page_part.name}')
3
- Event.addBehavior({ 'a.insert_asset': InsertIntoCk })
4
- Event.observe($('part_#{page_part.name}_filter_id'),'change',function(){ toggleEditor('#{page_part.name}') })
2
+ Event.observe(window,'load',function(){
3
+ instantiateCkEditor('#{page_part.name.downcase}')
4
+ Event.addBehavior({ 'a.insert_asset': InsertIntoCk })
5
+ })
6
+ Event.observe($('part_#{page_part.name.downcase}_filter_id'),'change',function(){ toggleEditor('#{page_part.name.downcase}') })
@@ -1,6 +1,6 @@
1
1
  :javascript
2
2
  Event.observe(window,'load',function(){
3
- instantiateCkEditor('#{page_part.name}')
3
+ instantiateCkEditor('#{page_part.name.downcase}')
4
4
  Event.addBehavior({ 'a.insert_asset': InsertIntoCk })
5
5
  })
6
- Event.observe($('part_#{page_part.name}_filter_id'),'change',function(){ toggleEditor('#{page_part.name}') })
6
+ Event.observe($('part_#{page_part.name.downcase}_filter_id'),'change',function(){ toggleEditor('#{page_part.name.downcase}') })
@@ -1,10 +1,11 @@
1
1
  # Uncomment this if you reference any of your controllers in activate
2
2
  # require_dependency 'application_controller'
3
+ require "radiant-ck_editor_filter-extension"
3
4
 
4
5
  class CkEditorFilterExtension < Radiant::Extension
5
- version "0.2.4"
6
- description "Adds CKEditor as a filter"
7
- url "https://github.com/jomz/radiant-ck_editor_filter-extension"
6
+ version RadiantCkEditorFilterExtension::VERSION
7
+ description RadiantCkEditorFilterExtension::DESCRIPTION
8
+ url RadiantCkEditorFilterExtension::URL
8
9
 
9
10
  # define_routes do |map|
10
11
  # map.namespace :admin, :member => { :remove => :get } do |admin|
@@ -0,0 +1,8 @@
1
+ module RadiantCkEditorFilterExtension
2
+ VERSION = "0.2.5"
3
+ SUMMARY = "CKEditor filter for Radiant CMS"
4
+ DESCRIPTION = "Adds CKEditor as a filter"
5
+ URL = "https://github.com/jomz/radiant-ck_editor_filter-extension"
6
+ AUTHORS = ["Benny Degezelle"]
7
+ EMAIL = ["benny@gorilla-webdesign.be"]
8
+ end
@@ -0,0 +1,57 @@
1
+ /*
2
+ * @example An iframe-based dialog with custom button handling logics.
3
+ */
4
+ ( function() {
5
+ CKEDITOR.plugins.add( 'MediaEmbed',
6
+ {
7
+ requires: [ 'iframedialog' ],
8
+ init: function( editor )
9
+ {
10
+ var me = this;
11
+ CKEDITOR.dialog.add( 'MediaEmbedDialog', function ()
12
+ {
13
+ return {
14
+ title : 'Embed Media Dialog',
15
+ minWidth : 550,
16
+ minHeight : 200,
17
+ contents :
18
+ [
19
+ {
20
+ id : 'iframe',
21
+ label : 'Embed Media',
22
+ expand : true,
23
+ elements :
24
+ [
25
+ {
26
+ type : 'html',
27
+ id : 'pageMediaEmbed',
28
+ label : 'Embed Media',
29
+ style : 'width : 100%;',
30
+ html : '<iframe src="editor/plugins/mediaembed/dialogs/mediaembed.html" frameborder="0" name="iframeMediaEmbed" id="iframeMediaEmbed" allowtransparency="1" style="width:100%;margin:0;padding:0;"></iframe>'
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ onOk : function()
36
+ {
37
+ for (var i=0; i<window.frames.length; i++) {
38
+ if(window.frames[i].name == 'iframeMediaEmbed') {
39
+ var content = window.frames[i].document.getElementById("embed").value;
40
+ }
41
+ }
42
+ editor.insertHtml('<div class="media_embed">'+content+'</div>');
43
+ }
44
+ };
45
+ } );
46
+
47
+ editor.addCommand( 'MediaEmbed', new CKEDITOR.dialogCommand( 'MediaEmbedDialog' ) );
48
+
49
+ editor.ui.addButton( 'MediaEmbed',
50
+ {
51
+ label: 'Embed Media',
52
+ command: 'MediaEmbed',
53
+ icon: this.path + 'images/icon.gif'
54
+ } );
55
+ }
56
+ } );
57
+ } )();
@@ -3,7 +3,7 @@ function instantiateCkEditor(partIndex){
3
3
  CKEDITOR.config.colorButton_enableMore = false
4
4
  CKEDITOR.config.protectedSource.push( /<r:([\S]+)*>.*<\/r:\1>/g )
5
5
  CKEDITOR.config.protectedSource.push( /<r:[^>\/]*\/>/g )
6
- CKEDITOR.config.extraPlugins = 'MediaEmbed,radiantpreview'
6
+ CKEDITOR.config.extraPlugins = 'paperclipped,MediaEmbed,radiantpreview'
7
7
  CKEDITOR.config.forcePasteAsPlainText = true
8
8
  CKEDITOR.config.height = 500
9
9
  CKEDITOR.config.toolbar =
@@ -13,14 +13,14 @@ function instantiateCkEditor(partIndex){
13
13
  ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
14
14
  ['RadiantPreview', 'Paste', 'RemoveFormat'],
15
15
  ['Find','Replace'],
16
- ['Image', 'MediaEmbed', 'Table','HorizontalRule','SpecialChar'],
16
+ ['Image','Paperclipped', 'MediaEmbed', 'Table','HorizontalRule','SpecialChar'],
17
17
  ['Link','Unlink','Anchor'],
18
18
  ['Source', '-', 'Maximize']
19
19
  //// Alternative toolbar config
20
20
  // ['Source','-','Templates'],
21
21
  // ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker','-','RadiantPreview'],
22
22
  // ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
23
- // ['Image', 'MediaEmbed', 'Table','HorizontalRule','SpecialChar','PageBreak'],
23
+ // ['Image','Paperclipped', 'MediaEmbed', 'Table','HorizontalRule','SpecialChar','PageBreak'],
24
24
  // '/',
25
25
  // ['Styles','Format'],
26
26
  // ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
@@ -60,6 +60,17 @@ function instantiateCkEditor(partIndex){
60
60
  putInEditor(partIndex)
61
61
  }
62
62
 
63
+ var timer = setInterval(function() {
64
+ // Make image asset draggable
65
+ Asset.MakeDraggables
66
+ // Make asset bucket thumbnails draggable
67
+ $$('div.resized').each(function(element){
68
+ if(!element.hasClassName("move"))
69
+ new Draggable(element, { revert: true })
70
+ element.addClassName('move')
71
+ })
72
+ }, 5000);
73
+
63
74
  }
64
75
 
65
76
  function toggleEditor(partIndex){
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "radiant-ck_editor_filter-extension"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "radiant-ck_editor_filter-extension"
7
+ s.version = RadiantCkEditorFilterExtension::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = RadiantCkEditorFilterExtension::AUTHORS
10
+ s.email = RadiantCkEditorFilterExtension::EMAIL
11
+ s.homepage = RadiantCkEditorFilterExtension::URL
12
+ s.summary = RadiantCkEditorFilterExtension::SUMMARY
13
+ s.description = RadiantCkEditorFilterExtension::DESCRIPTION
14
+
15
+ # Define gem dependencies here.
16
+ # Don't include a dependency on radiant itself: it causes problems when radiant is in vendor/radiant.
17
+ # s.add_dependency "something", "~> 1.0.0"
18
+ # s.add_dependency "radiant-some-extension", "~> 1.0.0"
19
+
20
+ ignores = if File.exist?('.gitignore')
21
+ File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
22
+ else
23
+ []
24
+ end
25
+ s.files = Dir['**/*'] - ignores
26
+ s.test_files = Dir['test/**/*','spec/**/*','features/**/*'] - ignores
27
+ # s.executables = Dir['bin/*'] - ignores
28
+ s.require_paths = ["lib"]
29
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-ck_editor_filter-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benny Degezelle
@@ -15,39 +15,20 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-22 00:00:00 +02:00
18
+ date: 2011-10-13 00:00:00 +02:00
19
19
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: radiant
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 57
30
- segments:
31
- - 0
32
- - 9
33
- - 1
34
- version: 0.9.1
35
- type: :runtime
36
- version_requirements: *id001
20
+ dependencies: []
21
+
37
22
  description: Adds CKEditor as a filter
38
- email: benny@gorilla-webdesign.be
23
+ email:
24
+ - benny@gorilla-webdesign.be
39
25
  executables: []
40
26
 
41
27
  extensions: []
42
28
 
43
- extra_rdoc_files:
44
- - LICENSE
45
- - README.markdown
29
+ extra_rdoc_files: []
30
+
46
31
  files:
47
- - LICENSE
48
- - README.markdown
49
- - Rakefile
50
- - VERSION
51
32
  - app/models/ckeditor_interface.rb
52
33
  - app/views/admin/assets/_asset.html.haml
53
34
  - app/views/admin/page_parts/_editor_control.html.haml
@@ -58,21 +39,19 @@ files:
58
39
  - features/support/env.rb
59
40
  - features/support/paths.rb
60
41
  - lib/ck_editor_filter.rb
42
+ - lib/radiant-ck_editor_filter-extension.rb
61
43
  - lib/tasks/ck_editor_filter_extension_tasks.rake
44
+ - LICENSE
62
45
  - pkg/radiant-ck_editor_filter-extension-0.1.1.gem
63
46
  - public/images/admin/tmp_thumbnail_icon.png
64
- - public/javascripts/extensions/ck_editor_filter/ckeditor/.htaccess
65
- - public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.html
66
- - public/javascripts/extensions/ck_editor_filter/ckeditor/INSTALL.html
67
- - public/javascripts/extensions/ck_editor_filter/ckeditor/LICENSE.html
68
47
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/application.xml
69
48
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.bat
70
49
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/run.sh
71
50
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/adobeair/sample.html
72
51
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/ajax.html
73
52
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api.html
74
- - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog.html
75
53
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog/my_dialog.js
54
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/api_dialog.html
76
55
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/advanced.asp
77
56
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/events.asp
78
57
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_samples/asp/index.html
@@ -125,7 +104,6 @@ files:
125
104
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/commanddefinition.js
126
105
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/config.js
127
106
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dataprocessor.js
128
- - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom.js
129
107
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/comment.js
130
108
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/document.js
131
109
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/documentfragment.js
@@ -140,6 +118,7 @@ files:
140
118
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/text.js
141
119
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/walker.js
142
120
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom/window.js
121
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dom.js
143
122
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/dtd.js
144
123
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor.js
145
124
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/editor_basic.js
@@ -147,7 +126,6 @@ files:
147
126
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/event.js
148
127
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/eventInfo.js
149
128
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/focusmanager.js
150
- - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser.js
151
129
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/basicwriter.js
152
130
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/cdata.js
153
131
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/comment.js
@@ -155,6 +133,7 @@ files:
155
133
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/filter.js
156
134
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/fragment.js
157
135
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser/text.js
136
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/htmlparser.js
158
137
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/lang.js
159
138
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/loader.js
160
139
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/core/plugindefinition.js
@@ -476,6 +455,7 @@ files:
476
455
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/skins/v2/toolbar.css
477
456
  - public/javascripts/extensions/ck_editor_filter/ckeditor/_source/themes/default/theme.js
478
457
  - public/javascripts/extensions/ck_editor_filter/ckeditor/adapters/jquery.js
458
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/CHANGES.html
479
459
  - public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.asp
480
460
  - public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.js
481
461
  - public/javascripts/extensions/ck_editor_filter/ckeditor/ckeditor.pack
@@ -488,6 +468,7 @@ files:
488
468
  - public/javascripts/extensions/ck_editor_filter/ckeditor/config.js
489
469
  - public/javascripts/extensions/ck_editor_filter/ckeditor/contents.css
490
470
  - public/javascripts/extensions/ck_editor_filter/ckeditor/images/spacer.gif
471
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/INSTALL.html
491
472
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_languages.js
492
473
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/_translationstatus.txt
493
474
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/af.js
@@ -549,9 +530,7 @@ files:
549
530
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/vi.js
550
531
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh-cn.js
551
532
  - public/javascripts/extensions/ck_editor_filter/ckeditor/lang/zh.js
552
- - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/dialogs/mediaembed.html
553
- - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/images/icon.gif
554
- - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js
533
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/LICENSE.html
555
534
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
556
535
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/en.js
557
536
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/a11yhelp/lang/he.js
@@ -589,6 +568,10 @@ files:
589
568
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/dialogs/link.js
590
569
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/link/images/anchor.gif
591
570
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/liststyle/dialogs/liststyle.js
571
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/dialogs/mediaembed.html
572
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/images/icon.gif
573
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js
574
+ - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/MediaEmbed/plugin.js~
592
575
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/pagebreak/images/pagebreak.gif
593
576
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/images/icon.png
594
577
  - public/javascripts/extensions/ck_editor_filter/ckeditor/plugins/paperclipped/plugin.js
@@ -708,8 +691,13 @@ files:
708
691
  - public/javascripts/extensions/ck_editor_filter/ckeditor/skins/v2/templates.css
709
692
  - public/javascripts/extensions/ck_editor_filter/ckeditor/themes/default/theme.js
710
693
  - public/javascripts/extensions/ck_editor_filter/radiant.ckeditor.js
694
+ - radiant-ck_editor_filter-extension-0.2.4.gem
695
+ - radiant-ck_editor_filter-extension.gemspec
696
+ - Rakefile
697
+ - README.markdown
711
698
  - spec/spec.opts
712
699
  - spec/spec_helper.rb
700
+ - VERSION
713
701
  has_rdoc: true
714
702
  homepage: https://github.com/jomz/radiant-ck_editor_filter-extension
715
703
  licenses: []
@@ -743,6 +731,9 @@ rubyforge_project:
743
731
  rubygems_version: 1.3.7
744
732
  signing_key:
745
733
  specification_version: 3
746
- summary: CKEditor filter extension for Radiant CMS
734
+ summary: CKEditor filter for Radiant CMS
747
735
  test_files:
736
+ - spec/spec.opts
748
737
  - spec/spec_helper.rb
738
+ - features/support/env.rb
739
+ - features/support/paths.rb
@@ -1,24 +0,0 @@
1
- #
2
- # Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3
- # For licensing, see LICENSE.html or http://ckeditor.com/license
4
- #
5
-
6
- #
7
- # On some specific Linux installations you could face problems with Firefox.
8
- # It could give you errors when loading the editor saying that some illegal
9
- # characters were found (three strange chars in the beginning of the file).
10
- # This could happen if you map the .js or .css files to PHP, for example.
11
- #
12
- # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
13
- # All FCKeditor files are Unicode encoded.
14
- #
15
-
16
- AddType application/x-javascript .js
17
- AddType text/css .css
18
-
19
- #
20
- # If PHP is mapped to handle XML files, you could have some issues. The
21
- # following will disable it.
22
- #
23
-
24
- AddType text/xml .xml