Skip to content

Commit 8c48894

Browse files
author
Diemen Design
committed
Fix Typo's, adjust explanations.
1 parent 7655c4e commit 8c48894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

03-plugins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,15 @@ See the section "Modal Markup" for element markup options inside Modals.
289289
### Modal Markup
290290
This section explains and shows example of the elements and classes that can be used inside Modals.
291291

292-
Note: You can mix the classes from BS3, BS4 and Lite versions so plugins can be version to Bootstrap or no Bootstrap specific, or they can be made compatible to work with all (the preferred method).
292+
Note: You can mix the classes from BS3, BS4 (which are similar) and Lite versions so plugins can be version controlled to Bootstrap or not be Bootstrap specific, or they can be made compatible to work with all (the preferred method).
293293

294-
The main problem with using markup elements in Summernote Modals becomes evident when trying to work with layouts of the elements so they are compatible with all versions of Bootstrap or no Bootstrap as in the Lite version. To try and combat this there is a settings variable that can be checked `interface`, checking this setting in the plugin can allow the plugin to determine wich markup or behaviour the plugin needs to do for compatibility, or you can just use a standard layout for the elements and add the appropriate classes to cover all versions.
294+
The main problem with using markup elements in Summernote Modals becomes evident when trying to work with elements so they are compatible with all versions of Bootstrap or the Lite version of Summernote. To try and aleviate this, there is a settings variable that can be checked `interface`, checking this setting within the plugin will return `BS3`, `BS4` or `Lite` which will allow adding logic control to determine which markup or behaviour the plugin needs use for compatibility, or you can just use a standard layout for the elements and add the appropriate classes to cover all versions (preferred).
295295

296296
Generally, the elements and classes for the version of Bootstrap you want to make a plugin for can use that version of Bootstraps elements, and we have tried, even with the Lite version to keep those as close as we can.
297297

298298
We've included some examples below to facilitate constructing Modals a bit quicker for you.
299299

300-
Any classes with `note-` at their start are primarily the Summernote classes to minimise interfering with other DOM classes that you may be using for other purposes, however, most of the modals use the Bootstrap classes as their primary styling.
300+
Any classes with `note-` at their start are primarily the Summernote classes to minimise interfering with other DOM classes that you may be using for other purposes, however, most of the modals use the Bootstrap classes as their primary styling, except for in the Lite version of Summernote, it relies on the `note-*` classes to style elements.
301301

302302
#### Form Layout
303303
{% highlight javascript %}

0 commit comments

Comments
 (0)