Skip to content

Commit 8844f49

Browse files
author
Dennis Suitters
authored
Merge pull request #44 from reinaldoacdc/master
Add sub-section 'Custom line heights'
2 parents b15d299 + 25f0629 commit 8844f49

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

01-deep-dive.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,15 @@ $('#summernote').summernote({
163163
});
164164
{% endhighlight %}
165165

166+
### Custom line heights
167+
You can override the default list and specify a custom one.
168+
169+
{% highlight javascript %}
170+
$('#summernote').summernote({
171+
lineHeights: ['0.2', '0.3', '0.4', '0.5', '0.6', '0.8', '1.0', '1.2', '1.4', '1.5', '2.0', '3.0']
172+
});
173+
{% endhighlight %}
174+
166175
### Dialogs
167176
Dialogs can be placed in `body`, not within Summernote. If you're using Summernote within a modal dialog, please set this option as `true`.
168177
{% highlight javascript %}

0 commit comments

Comments
 (0)