Skip to content

Commit b89156c

Browse files
author
Dennis Suitters
authored
Add description for tabDisable option.
Add a description for `tabDisable` option, and Alphabetize Initialization Options.
1 parent bd6b2d1 commit b89156c

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

01-deep-dive.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,18 @@ popover: {
136136
}
137137
{% endhighlight %}
138138

139-
### Custom placeholder
140-
You can define a placeholder with the `placeholder` option.
139+
### Blockquote breaking level
140+
You can set blockquote breaking level with `blockquoteBreakingLevel` option.
141+
142+
Each configurable breaking level means:
143+
144+
* 0 - No break, the new paragraph remains inside the quote.
145+
* 1 - Break the first blockquote in the ancestors list.
146+
* 2 - Break all blockquotes, so that the new paragraph is not quoted. (default)
141147

142148
{% highlight javascript %}
143149
$('#summernote').summernote({
144-
placeholder: 'write here...'
150+
blockquoteBreakingLevel: 2
145151
});
146152
{% endhighlight %}
147153

@@ -172,6 +178,15 @@ $('#summernote').summernote({
172178
});
173179
{% endhighlight %}
174180

181+
### Custom placeholder
182+
You can define a placeholder with the `placeholder` option.
183+
184+
{% highlight javascript %}
185+
$('#summernote').summernote({
186+
placeholder: 'write here...'
187+
});
188+
{% endhighlight %}
189+
175190
### Dialogs
176191
Dialogs can be placed in `body`, not within Summernote. If you're using Summernote within a modal dialog, please set this option as `true`.
177192
{% highlight javascript %}
@@ -204,20 +219,12 @@ $('#summernote').summernote({
204219
});
205220
{% endhighlight %}
206221

207-
{% include ad-doc.html %}
208-
209-
### Blockquote breaking level
210-
You can set blockquote breaking level with `blockquoteBreakingLevel` option.
211-
212-
Each configurable breaking level means:
213-
214-
* 0 - No break, the new paragraph remains inside the quote.
215-
* 1 - Break the first blockquote in the ancestors list.
216-
* 2 - Break all blockquotes, so that the new paragraph is not quoted. (default)
217-
222+
### Disable TAB
223+
You can disable TAB/Shift+Tab intereaction with the `tabDisable` option.
224+
This will allow tabbing through fields in Forms.
218225
{% highlight javascript %}
219226
$('#summernote').summernote({
220-
blockquoteBreakingLevel: 2
227+
tabDisable: false
221228
});
222229
{% endhighlight %}
223230

0 commit comments

Comments
 (0)