runtastic-tiny_mce_curblyadvimage 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/config/tiny_mce.yml +0 -0
- data/lib/assets/plugins/curblyadvimage/css/advimage.css +84 -0
- data/lib/assets/plugins/curblyadvimage/editor_plugin.js +52 -0
- data/lib/assets/plugins/curblyadvimage/editor_plugin_src.js +52 -0
- data/lib/assets/plugins/curblyadvimage/image.htm +270 -0
- data/lib/assets/plugins/curblyadvimage/img/sample.gif +0 -0
- data/lib/assets/plugins/curblyadvimage/js/functions.js +499 -0
- data/lib/assets/plugins/curblyadvimage/langs/en.js +3 -0
- data/lib/assets/plugins/curblyadvimage/langs/en_dlg.js +43 -0
- data/lib/tiny_mce_curblyadvimage.rb +23 -0
- data/test/helper.rb +10 -0
- data/test/test_tiny_mce_curblyadvimage.rb +7 -0
- data/tiny_mce_curblyadvimage.gemspec +63 -0
- metadata +100 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
tinyMCE.addI18n('en.advimage_dlg',{
|
|
2
|
+
tab_general:"General",
|
|
3
|
+
tab_appearance:"Appearance",
|
|
4
|
+
tab_advanced:"Advanced",
|
|
5
|
+
general:"General",
|
|
6
|
+
title:"Title",
|
|
7
|
+
preview:"Preview",
|
|
8
|
+
constrain_proportions:"Constrain proportions",
|
|
9
|
+
langdir:"Language direction",
|
|
10
|
+
langcode:"Language code",
|
|
11
|
+
long_desc:"Long description link",
|
|
12
|
+
style:"Style",
|
|
13
|
+
classes:"Classes",
|
|
14
|
+
ltr:"Left to right",
|
|
15
|
+
rtl:"Right to left",
|
|
16
|
+
id:"Id",
|
|
17
|
+
map:"Image map",
|
|
18
|
+
swap_image:"Swap image",
|
|
19
|
+
alt_image:"Alternative image",
|
|
20
|
+
mouseover:"for mouse over",
|
|
21
|
+
mouseout:"for mouse out",
|
|
22
|
+
misc:"Miscellaneous",
|
|
23
|
+
example_img:"Appearance preview image",
|
|
24
|
+
missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.",
|
|
25
|
+
dialog_title:"Insert/edit image",
|
|
26
|
+
src:"Image URL",
|
|
27
|
+
alt:"Image description",
|
|
28
|
+
list:"Image list",
|
|
29
|
+
border:"Border",
|
|
30
|
+
dimensions:"Dimensions",
|
|
31
|
+
vspace:"Vertical space",
|
|
32
|
+
hspace:"Horizontal space",
|
|
33
|
+
align:"Alignment",
|
|
34
|
+
align_baseline:"Baseline",
|
|
35
|
+
align_top:"Top",
|
|
36
|
+
align_middle:"Middle",
|
|
37
|
+
align_bottom:"Bottom",
|
|
38
|
+
align_texttop:"Text top",
|
|
39
|
+
align_textbottom:"Text bottom",
|
|
40
|
+
align_left:"Left",
|
|
41
|
+
align_right:"Right",
|
|
42
|
+
image_list:"Image list"
|
|
43
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Make sure the tiny_mce gem has been loaded before we declare any plugins
|
|
2
|
+
require 'tiny_mce'
|
|
3
|
+
|
|
4
|
+
# We need to make sure that the TinyMCE Editor sources are already in place
|
|
5
|
+
# or any changes we make may be overwritten later
|
|
6
|
+
TinyMCE.install_or_update_tinymce
|
|
7
|
+
|
|
8
|
+
# Create the TinyMCE Paste Plugin. Inherit from TinyMCE::Plugin which sets a
|
|
9
|
+
# default self.install method, which installs all files in self.assets_path
|
|
10
|
+
# into the public/javascripts/tiny_mce directory
|
|
11
|
+
class TinyMCECurblyAdvImage < TinyMCE::Plugin
|
|
12
|
+
|
|
13
|
+
# This lets the TinyMCE::Plugin classes install method know where to find
|
|
14
|
+
# the assets we need to install. If were overwrite the self.install method
|
|
15
|
+
# here, then we don't need to provide this line
|
|
16
|
+
self.assets_path = File.join(File.dirname(__FILE__), 'assets')
|
|
17
|
+
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
# Finally, tell the TinyMCEPaste Plugin to install itself. The install method
|
|
21
|
+
# can be overwritten in the class definition above. TinyMCE::Plugin provide a
|
|
22
|
+
# default one that will work fine in this example
|
|
23
|
+
TinyMCECurblyAdvImage.install
|
data/test/helper.rb
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{runtastic-tiny_mce_curblyadvimage}
|
|
8
|
+
s.version = "0.2.4"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Steve Leung"]
|
|
12
|
+
s.date = %q{2010-10-12}
|
|
13
|
+
s.description = %q{Curbly Advanced Images for Tiny MCE}
|
|
14
|
+
s.email = %q{scyl88@gmail.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
".document",
|
|
21
|
+
".gitignore",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.rdoc",
|
|
24
|
+
"Rakefile",
|
|
25
|
+
"VERSION",
|
|
26
|
+
"config/tiny_mce.yml",
|
|
27
|
+
"lib/assets/plugins/curblyadvimage/css/advimage.css",
|
|
28
|
+
"lib/assets/plugins/curblyadvimage/editor_plugin.js",
|
|
29
|
+
"lib/assets/plugins/curblyadvimage/editor_plugin_src.js",
|
|
30
|
+
"lib/assets/plugins/curblyadvimage/image.htm",
|
|
31
|
+
"lib/assets/plugins/curblyadvimage/img/sample.gif",
|
|
32
|
+
"lib/assets/plugins/curblyadvimage/js/functions.js",
|
|
33
|
+
"lib/assets/plugins/curblyadvimage/langs/en.js",
|
|
34
|
+
"lib/assets/plugins/curblyadvimage/langs/en_dlg.js",
|
|
35
|
+
"lib/tiny_mce_curblyadvimage.rb",
|
|
36
|
+
"test/helper.rb",
|
|
37
|
+
"test/test_tiny_mce_curblyadvimage.rb",
|
|
38
|
+
"tiny_mce_curblyadvimage.gemspec"
|
|
39
|
+
]
|
|
40
|
+
s.homepage = %q{http://github.com/wakiki/tiny_mce_curblyadvimage}
|
|
41
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
|
42
|
+
s.require_paths = ["lib"]
|
|
43
|
+
s.rubygems_version = %q{1.3.7}
|
|
44
|
+
s.summary = %q{Curbly Advanced Images for Tiny MCE}
|
|
45
|
+
s.test_files = [
|
|
46
|
+
"test/helper.rb",
|
|
47
|
+
"test/test_tiny_mce_curblyadvimage.rb"
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
if s.respond_to? :specification_version then
|
|
51
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
52
|
+
s.specification_version = 3
|
|
53
|
+
|
|
54
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
55
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
56
|
+
else
|
|
57
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
58
|
+
end
|
|
59
|
+
else
|
|
60
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
metadata
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: runtastic-tiny_mce_curblyadvimage
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 31
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 2
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.2.4
|
|
11
|
+
platform: ruby
|
|
12
|
+
authors:
|
|
13
|
+
- Steve Leung
|
|
14
|
+
autorequire:
|
|
15
|
+
bindir: bin
|
|
16
|
+
cert_chain: []
|
|
17
|
+
|
|
18
|
+
date: 2010-10-12 00:00:00 +02:00
|
|
19
|
+
default_executable:
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
22
|
+
name: thoughtbot-shoulda
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
30
|
+
segments:
|
|
31
|
+
- 0
|
|
32
|
+
version: "0"
|
|
33
|
+
type: :development
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
description: Curbly Advanced Images for Tiny MCE
|
|
36
|
+
email: scyl88@gmail.com
|
|
37
|
+
executables: []
|
|
38
|
+
|
|
39
|
+
extensions: []
|
|
40
|
+
|
|
41
|
+
extra_rdoc_files:
|
|
42
|
+
- LICENSE
|
|
43
|
+
- README.rdoc
|
|
44
|
+
files:
|
|
45
|
+
- .document
|
|
46
|
+
- .gitignore
|
|
47
|
+
- LICENSE
|
|
48
|
+
- README.rdoc
|
|
49
|
+
- Rakefile
|
|
50
|
+
- VERSION
|
|
51
|
+
- config/tiny_mce.yml
|
|
52
|
+
- lib/assets/plugins/curblyadvimage/css/advimage.css
|
|
53
|
+
- lib/assets/plugins/curblyadvimage/editor_plugin.js
|
|
54
|
+
- lib/assets/plugins/curblyadvimage/editor_plugin_src.js
|
|
55
|
+
- lib/assets/plugins/curblyadvimage/image.htm
|
|
56
|
+
- lib/assets/plugins/curblyadvimage/img/sample.gif
|
|
57
|
+
- lib/assets/plugins/curblyadvimage/js/functions.js
|
|
58
|
+
- lib/assets/plugins/curblyadvimage/langs/en.js
|
|
59
|
+
- lib/assets/plugins/curblyadvimage/langs/en_dlg.js
|
|
60
|
+
- lib/tiny_mce_curblyadvimage.rb
|
|
61
|
+
- test/helper.rb
|
|
62
|
+
- test/test_tiny_mce_curblyadvimage.rb
|
|
63
|
+
- tiny_mce_curblyadvimage.gemspec
|
|
64
|
+
has_rdoc: true
|
|
65
|
+
homepage: http://github.com/wakiki/tiny_mce_curblyadvimage
|
|
66
|
+
licenses: []
|
|
67
|
+
|
|
68
|
+
post_install_message:
|
|
69
|
+
rdoc_options:
|
|
70
|
+
- --charset=UTF-8
|
|
71
|
+
require_paths:
|
|
72
|
+
- lib
|
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
|
+
none: false
|
|
75
|
+
requirements:
|
|
76
|
+
- - ">="
|
|
77
|
+
- !ruby/object:Gem::Version
|
|
78
|
+
hash: 3
|
|
79
|
+
segments:
|
|
80
|
+
- 0
|
|
81
|
+
version: "0"
|
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
|
+
none: false
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
hash: 3
|
|
88
|
+
segments:
|
|
89
|
+
- 0
|
|
90
|
+
version: "0"
|
|
91
|
+
requirements: []
|
|
92
|
+
|
|
93
|
+
rubyforge_project:
|
|
94
|
+
rubygems_version: 1.3.7
|
|
95
|
+
signing_key:
|
|
96
|
+
specification_version: 3
|
|
97
|
+
summary: Curbly Advanced Images for Tiny MCE
|
|
98
|
+
test_files:
|
|
99
|
+
- test/helper.rb
|
|
100
|
+
- test/test_tiny_mce_curblyadvimage.rb
|