md_simple_editor 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 831945c1742b329a40eb6c17e2a672fbce267bc7
4
- data.tar.gz: bbf1e130a4737dc274a26d3e15545ca35a9f05a4
3
+ metadata.gz: 3c01783d8e925dc2f8db4d3b441a88944d52e741
4
+ data.tar.gz: 5df20e74186e9d35e367a10e2f8470854486133e
5
5
  SHA512:
6
- metadata.gz: db83c4491b01f26af5db779c80c897bf10a5c119c678488315b453517fdd1203b84c8a44c446fe665890969add41732e7d821ccb94ad378d3f434772c6c1998b
7
- data.tar.gz: 4fbe777a49afffb61485f9f6d6042014852013f5697ac0a0b1ce4476b1e0d93837471c93e52e1f923f7829760914b879a74e5f9ae8c614b08a944bb4a52cceff
6
+ metadata.gz: 2d04df82ece6529ac2ea172e2e47ae2166c1af04cfcb6f2efd4e99bebbdfe49ff2067e86f7cce8f3aa7a33e01a8f4425aa3db1cb39b7bdd5e376ee9b10f709d7
7
+ data.tar.gz: cb1e46618b54320d25629700819a4d94c246b39f94b6946484994efe49948cd848cc2447fd9234d97f8b45fad87c632041312025603697454111e2584d39963e
@@ -41,6 +41,10 @@ $ ->
41
41
  else if option == 'md_square'
42
42
  "\n\tjebdhwiedwef Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ut aliquet velit. Nam fermentum, mi quis egestas ornare, massa velit pharetra ante, sed
43
43
  pellentesque tortor nisl non quam. Nunc eget egestas orci.\n\n<br> "
44
+ else if option == 'md_link'
45
+ "\n[This is a link](http://google.com)\n"
46
+ else if option == 'md_camera-retro'
47
+ "\n![Alt](https://www.google.com.co/images/srpr/logo11w.png)\n"
44
48
 
45
49
  textarea = $('#md-editor #md-text textarea')
46
50
  insertAtCaret(textarea.attr('id'), text)
@@ -49,6 +49,14 @@ module MdSimpleEditor
49
49
  button_tag(:type => 'button', :class => "btn btn-default md_minus", :style => "font-size: 11px") do
50
50
  fa_icon "minus"
51
51
  end
52
+ end +
53
+ content_tag(:div, :id => "btn-group") do
54
+ button_tag(:type => 'button', :class => "btn btn-default md_link", :style => "font-size: 11px") do
55
+ fa_icon "link"
56
+ end +
57
+ button_tag(:type => 'button', :class => "btn btn-default md_camera-retro", :style => "font-size: 11px") do
58
+ fa_icon "camera-retro"
59
+ end
52
60
  end
53
61
  end +
54
62
  content_tag(:div, :id => "md-text") do
@@ -1,4 +1,4 @@
1
1
  module MdSimpleEditor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md_simple_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Espinosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-15 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler