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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce9f25023d4112fd34c2bfa511aa0c6ca970657b
|
4
|
+
data.tar.gz: 05bede721083bf98a3a71b8f410035c657c7ffdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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')
|
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.
|
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-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|