documentation-editor 0.7.1 → 0.7.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: 1ce507726ae37a2742ee1874af9a782c5707c33d
|
4
|
+
data.tar.gz: 3bed784a733835ea3e207d6ac3e68540a45a8281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53a3d5b07352988191767dde990ee0e74e3e4f548e91d37156e7b5a26adab92ff49c63865d800f70677cf87551b2a969c90936d73f6e720b5069201c2384808e
|
7
|
+
data.tar.gz: 7a1bf9d88311850364df0625a59bd80c20ff395e6c83eb0d61ba78a8cda0a9a5cb019a62ec1c0369f6b91f02604c6b87d46ba7ed569be5f9ca9f286dea26dd8e
|
@@ -44,12 +44,12 @@
|
|
44
44
|
%textarea.markdown{"ng-if" => "rawView", "ng-model" => "$parent.source"}
|
45
45
|
.section{"ng-repeat" => "section in sections track by $index", "ng-init" => "sectionIndex = $index", "ng-if" => "!rawView"}
|
46
46
|
%pre.markdown{contenteditable: true, "ng-if" => "section.type === 'text'", "ng-model" => 'sections[sectionIndex].content' }
|
47
|
-
.alert{contenteditable: true, "ng-if" => "section.type === 'callout'", class
|
47
|
+
.alert{contenteditable: true, "ng-if" => "section.type === 'callout'", 'ng-class' => "'alert-' + section.content.type".html_safe, 'ng-model' => 'sections[sectionIndex].content.body' }
|
48
48
|
.if{contenteditable: true, "ng-if" => "section.type === 'if'", 'ng-model' => 'sections[sectionIndex].content.condition' }
|
49
49
|
.if.ifnot{contenteditable: true, "ng-if" => "section.type === 'ifnot'", 'ng-model' => 'sections[sectionIndex].content.condition' }
|
50
50
|
.endif{"ng-if" => "section.type === 'endif'"} } //endif
|
51
51
|
.image{"ng-if" => "section.type === 'image'"}
|
52
|
-
%img{"ng-src" => "{{ section.content.images[0].image[0] }}"}
|
52
|
+
%img{"ng-src" => "{{ section.content.images[0].image[0] }}".html_safe}
|
53
53
|
.text-center
|
54
54
|
%p
|
55
55
|
Caption:
|
@@ -79,7 +79,7 @@
|
|
79
79
|
%td{"ng-repeat" => "col in getIntegerIterator(section.content.cols)"}
|
80
80
|
%pre.markdown{contenteditable: true, 'ng-model' => "sections[sectionIndex].content.data[row + '-' + col]"}
|
81
81
|
%tr
|
82
|
-
%td.text-right{"colspan" => "{{ section.content.cols }}"}
|
82
|
+
%td.text-right{"colspan" => "{{ section.content.cols }}".html_safe}
|
83
83
|
Rows:
|
84
84
|
%a{href: '#', 'ng-click' => 'addRow($event, section.id)'}>
|
85
85
|
%i.fa.fa-plus-circle
|
@@ -105,9 +105,9 @@
|
|
105
105
|
%li{"ng-repeat" => "code in section.content.codes track by $index", "ng-class" => "{ active: ($index === 0) }"}
|
106
106
|
%a{href: '#', 'ng-click' => 'deleteLanguage($event, section.id, $index)'}>
|
107
107
|
%i.fa.fa-remove>
|
108
|
-
%a{contenteditable: true, 'ng-href' => '#snippet_{{section.id}}_{{$index}}', 'data-toggle' => 'tab', 'ng-model' => 'sections[sectionIndex].content.codes[$index].language' }>
|
108
|
+
%a{contenteditable: true, 'ng-href' => '#snippet_{{section.id}}_{{$index}}'.html_safe, 'data-toggle' => 'tab', 'ng-model' => 'sections[sectionIndex].content.codes[$index].language' }>
|
109
109
|
.tab-content
|
110
|
-
%pre.tab-pane{contenteditable: true, "ng-repeat" => "code in section.content.codes track by $index", "ng-class" => "{ 'in active': ($index === 0) }", id: 'snippet_{{section.id}}_{{$index}}', 'ng-model' => 'sections[sectionIndex].content.codes[$index].code'}
|
110
|
+
%pre.tab-pane{contenteditable: true, "ng-repeat" => "code in section.content.codes track by $index", "ng-class" => "{ 'in active': ($index === 0) }", id: 'snippet_{{section.id}}_{{$index}}'.html_safe, 'ng-model' => 'sections[sectionIndex].content.codes[$index].code'}
|
111
111
|
.html{"ng-if" => "section.type === 'html'"}
|
112
112
|
%pre{contenteditable: true, 'ng-model' => 'sections[sectionIndex].content.body'}
|
113
113
|
|
@@ -195,7 +195,7 @@
|
|
195
195
|
%h4 Configure the page thumbnail
|
196
196
|
.modal-body
|
197
197
|
.text-center.images
|
198
|
-
%img{src: '{{ thumbnailUrl }}'}
|
198
|
+
%img{src: '{{ thumbnailUrl }}'.html_safe}
|
199
199
|
.form
|
200
200
|
.text-center.form-group
|
201
201
|
.btn.btn-success{"ngf-select" => true, "ng-model" => 'file', "ngf-multiple" => false} Select thumbnail
|
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.7.
|
4
|
+
version: 0.7.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-02-
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -204,9 +204,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.4.
|
207
|
+
rubygems_version: 2.4.1
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: Mountable Rails application providing an extended Markdown documentation
|
211
211
|
editor.
|
212
212
|
test_files: []
|
213
|
+
has_rdoc:
|