radiant-ck_editor_filter-extension 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -8,7 +8,7 @@ Radiant *CKEditor Filter* Extension
8
8
  </tr>
9
9
  <tr>
10
10
  <td>Version</td>
11
- <td>0.2.2</td>
11
+ <td>0.2.3</td>
12
12
  </tr>
13
13
  <tr>
14
14
  <td>Contact:</td>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -2,7 +2,7 @@
2
2
  # require_dependency 'application_controller'
3
3
 
4
4
  class CkEditorFilterExtension < Radiant::Extension
5
- version "0.2.2"
5
+ version "0.2.3"
6
6
  description "Adds CKEditor as a filter"
7
7
  url "https://github.com/jomz/radiant-ck_editor_filter-extension"
8
8
 
@@ -4,6 +4,7 @@ function instantiateCkEditor(partIndex){
4
4
  CKEDITOR.config.protectedSource.push( /<r:([\S]+)*>.*<\/r:\1>/g )
5
5
  CKEDITOR.config.protectedSource.push( /<r:[^>\/]*\/>/g )
6
6
  CKEDITOR.config.extraPlugins = 'paperclipped,MediaEmbed,radiantpreview'
7
+ CKEDITOR.config.forcePasteAsPlainText = true
7
8
  CKEDITOR.config.height = 500
8
9
  CKEDITOR.config.toolbar =
9
10
  [
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Benny Degezelle