documentation-editor 0.10.1 → 0.10.2

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: 923b3b6c0ec4554fab044b9dbe3d3eedbcf60e32
4
- data.tar.gz: bb3df4c064287322a4fdfa0839d990ac92f3e390
3
+ metadata.gz: ce9f25023d4112fd34c2bfa511aa0c6ca970657b
4
+ data.tar.gz: 05bede721083bf98a3a71b8f410035c657c7ffdd
5
5
  SHA512:
6
- metadata.gz: 19fb4dcb2105f3c65b0dc60cd206fb7165a05e997b59066c17d522fc9d16a5c74ced37e65e9f8e7302eb14eb962b4b6d5066107a3e71dc0717b6e6009e5211db
7
- data.tar.gz: 4532f9d6dd9c66444b16ee5b0da782fc6625636ebb8e0387a755159fa4b7e699f3965c7ed838d33a833ab4dc7ad8efd9128c5376c9a078efffb943768f5f1f15
6
+ metadata.gz: 6a07817d939ddba57f73fef271a82d91233e3e4321d227b916468c698ed6ee289c37b25389909d0c2e364c310a558cccad6182010e7ad74f47116019eebeb46b
7
+ data.tar.gz: 60010165360a85ab5d2a7da6026ec7ba7335762dff40de0571d63dcea0f774dd1e0b95335535a65a0e5910100303b3404053291b3dba70ca608759a5d62dec48
@@ -64,7 +64,7 @@
64
64
  %li
65
65
  Width:
66
66
  %input{"ng-model" => "sections[sectionIndex].content.width", type: 'number'}
67
- %table.table.parameters{"ng-if" => "section.type === 'table'"}
67
+ %table.table.parameters{"ng-if" => "section.type === 'table' || section.type === 'parameters'"}
68
68
  %thead
69
69
  %tr
70
70
  %th{contenteditable: true, "ng-repeat" => "col in getIntegerIterator(section.content.cols)", 'ng-model' => "sections[sectionIndex].content.data['h-' + col]"}
@@ -73,7 +73,7 @@ class Kramdown::Parser::BlockKramdown < Kramdown::Parser::Kramdown
73
73
  @tree.children << Element.new(:comment, "if NOT #{content['condition']}", { }, { start: true, condition: content['condition'], negation: true })
74
74
  when 'endif'
75
75
  @tree.children << Element.new(:comment, '/if', { }, { start: false, condition: content['condition'] })
76
- when 'parameters'
76
+ when 'parameters', 'table'
77
77
  table = Element.new(:html_element, 'table', { class: 'table' })
78
78
  thead = Element.new(:html_element, 'thead')
79
79
  thead.children << Element.new(:html_element, 'tr')
@@ -1,3 +1,3 @@
1
1
  module DocumentationEditor
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: documentation-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-23 00:00:00.000000000 Z
11
+ date: 2016-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails