Browse Source

Merge pull request #7279 from wenzhixin/feature/editorconfig

Added editorconfig lint
ๆ–‡็ฟผ 1 year ago
parent
commit
c6d3bf4cfe
43 changed files with 542 additions and 538 deletions
  1. 9 0
      .editorconfig
  2. 1 1
      .github/ISSUE_TEMPLATE/2_Feature_request.yaml
  3. 1 1
      .github/ISSUE_TEMPLATE/3_Support_question.yaml
  4. 1 1
      .github/ISSUE_TEMPLATE/4_Documentation.yaml
  5. 1 1
      .github/ISSUE_TEMPLATE/config.yml
  6. 1 1
      .github/PULL_REQUEST_TEMPLATE.md
  7. 29 41
      CONTRIBUTING.md
  8. 1 1
      cypress/e2e/extensions/filter-control/options/bootstrap3.cy.js
  9. 1 1
      cypress/e2e/extensions/filter-control/options/bulma.cy.js
  10. 1 1
      cypress/e2e/extensions/filter-control/options/foundation.cy.js
  11. 1 1
      cypress/e2e/extensions/filter-control/options/materialize.cy.js
  12. 1 1
      cypress/e2e/extensions/filter-control/options/semantic.cy.js
  13. 1 2
      cypress/extensions/filter-control/options.js
  14. 1 1
      cypress/fixtures/example.json
  15. 2 0
      package.json
  16. 248 248
      site/LICENSE
  17. 1 1
      site/docs/api/column-options.md
  18. 21 21
      site/docs/api/table-options.md
  19. 5 5
      site/docs/extensions/auto-refresh.md
  20. 24 24
      site/docs/extensions/cookie.md
  21. 3 3
      site/docs/extensions/copy-rows.md
  22. 5 5
      site/docs/extensions/custom-view.md
  23. 1 1
      site/docs/extensions/defer-url.md
  24. 7 7
      site/docs/extensions/editable.md
  25. 16 16
      site/docs/extensions/export.md
  26. 31 31
      site/docs/extensions/filter-control.md
  27. 12 12
      site/docs/extensions/group-by-v2.md
  28. 13 12
      site/docs/extensions/i18n-enhance.md
  29. 5 5
      site/docs/extensions/mobile.md
  30. 16 16
      site/docs/extensions/multiple-sort.md
  31. 3 3
      site/docs/extensions/page-jump-to.md
  32. 17 17
      site/docs/extensions/pipeline.md
  33. 7 7
      site/docs/extensions/reorder-columns.md
  34. 14 14
      site/docs/extensions/reorder-rows.md
  35. 2 2
      site/docs/extensions/resizable.md
  36. 5 5
      site/docs/extensions/sticky-header.md
  37. 6 6
      site/docs/extensions/toolbar.md
  38. 2 2
      site/docs/extensions/treegrid.md
  39. 1 1
      src/extensions/auto-refresh/bootstrap-table-auto-refresh.js
  40. 18 18
      src/extensions/multiple-sort/bootstrap-table-multiple-sort.js
  41. 1 1
      src/locale/README.md
  42. 1 1
      src/themes/bootstrap-table/bootstrap-table.json
  43. 5 0
      yarn.lock

+ 9 - 0
.editorconfig

@@ -0,0 +1,9 @@
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+insert_final_newline = true

+ 1 - 1
.github/ISSUE_TEMPLATE/2_Feature_request.yaml

@@ -14,4 +14,4 @@ body:
     attributes:
       value: |
         Love bootstrap-table? Please consider supporting our collective:
-        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate
+        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate

+ 1 - 1
.github/ISSUE_TEMPLATE/3_Support_question.yaml

@@ -24,4 +24,4 @@ body:
     attributes:
       value: |
         Love bootstrap-table? Please consider supporting our collective:
-        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate
+        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate

+ 1 - 1
.github/ISSUE_TEMPLATE/4_Documentation.yaml

@@ -14,4 +14,4 @@ body:
     attributes:
       value: |
         Love bootstrap-table? Please consider supporting our collective:
-        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate
+        ๐Ÿ‘‰  https://opencollective.com/bootstrap-table/donate

+ 1 - 1
.github/ISSUE_TEMPLATE/config.yml

@@ -2,4 +2,4 @@ blank_issues_enabled: false
 contact_links:
   - name: ๐Ÿ“– Example Issue
     url: https://github.com/wenzhixin/bootstrap-table-examples
-    about: Please refer to our examples repository for example issues
+    about: Please refer to our examples repository for example issues

+ 1 - 1
.github/PULL_REQUEST_TEMPLATE.md

@@ -18,7 +18,7 @@
 
 **๐Ÿ’กExample(s)?**
 <!-- Please use our online Editor (https://live.bootstrap-table.com/) to create example(s) (Before and after your changes).
-     On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.-->
+On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.-->
 
 **โ˜‘๏ธSelf Check before Merge**
 

+ 29 - 41
CONTRIBUTING.md

@@ -49,18 +49,13 @@ Good bug reports are extremely helpful, so thanks!
 
 Guidelines for bug reports:
 
-0. **Validate and lint your code** &mdash; [validate your HTML](http://html5.validator.nu)
-   and [lint your HTML](https://github.com/twbs/bootlint) to ensure your
-   problem isn't caused by a simple error in your own code.
+0. **Validate and lint your code** &mdash; [validate your HTML](http://html5.validator.nu) and [lint your HTML](https://github.com/twbs/bootlint) to ensure your problem isn't caused by a simple error in your own code.
 
-1. **Use the GitHub issue search** &mdash; check if the issue has already been
-   reported.
+1. **Use the GitHub issue search** &mdash; check if the issue has already been reported.
 
-2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
-   latest `master` or development branch in the repository.
+2. **Check if the issue has been fixed** &mdash; try to reproduce it using the latest `master` or development branch in the repository.
 
-3. **Isolate the problem** &mdash; ideally create a live example.
-    Our [Online Editor](https://live.bootstrap-table.com) tool is a very helpful for this.
+3. **Isolate the problem** &mdash; ideally create a live example. Our [Online Editor](https://live.bootstrap-table.com) tool is a very helpful for this.
 
 
 A good bug report shouldn't leave others needing to chase you up for more
@@ -122,52 +117,45 @@ documentation source files in
 Adhering to the following process is the best way to get your work
 included in the project:
 
-1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork,
-   and configure the remotes:
+1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork, and configure the remotes:
 
-   ```bash
-   # Clone your fork of the repo into the current directory
-   git clone https://github.com/<your-username>/bootstrap-table.git
-   # Navigate to the newly cloned directory
-   cd bootstrap-table
-   # Assign the original repo to a remote called "upstream"
-   git remote add upstream https://github.com/wenzhixin/bootstrap-table.git
-   ```
+```bash
+# Clone your fork of the repo into the current directory
+git clone https://github.com/<your-username>/bootstrap-table.git
+# Navigate to the newly cloned directory
+cd bootstrap-table
+# Assign the original repo to a remote called "upstream"
+git remote add upstream https://github.com/wenzhixin/bootstrap-table.git
+```
 
 2. If you cloned a while ago, get the latest changes from upstream:
 
-   ```bash
-   git checkout develop
-   git pull upstream develop
-   ```
+```bash
+git checkout develop
+git pull upstream develop
+```
 
-3. Create a new topic branch (off the main project development branch) to
-   contain your feature, change, or fix:
+3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:
 
-   ```bash
-   git checkout -b <topic-branch-name>
-   ```
+```bash
+git checkout -b <topic-branch-name>
+```
 
-4. Commit your changes in logical chunks. Please adhere to these [git commit
-   message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
-   or your code is unlikely be merged into the main project. Use Git's
-   [interactive rebase](https://help.github.com/articles/about-git-rebase/)
-   feature to tidy up your commits before making them public.
+4. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/about-git-rebase/) feature to tidy up your commits before making them public.
 
 5. Locally merge (or rebase) the upstream development branch into your topic branch:
 
-   ```bash
-   git pull [--rebase] upstream develop
-   ```
+```bash
+git pull [--rebase] upstream develop
+```
 
 6. Push your topic branch up to your fork:
 
-   ```bash
-   git push origin <topic-branch-name>
-   ```
+```bash
+git push origin <topic-branch-name>
+```
 
-7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
-    with a clear title and description against the `develop` branch.
+7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description against the `develop` branch.
 
 **IMPORTANT**: By submitting a patch, you agree to allow the project owners to
 license your work under the terms of the [MIT License](LICENSE) (if it

+ 1 - 1
cypress/e2e/extensions/filter-control/options/bootstrap3.cy.js

@@ -1 +1 @@
-require('../../../../extensions/filter-control/options')('bootstrap3')
+require('../../../../extensions/filter-control/options')('bootstrap3')

+ 1 - 1
cypress/e2e/extensions/filter-control/options/bulma.cy.js

@@ -1 +1 @@
-require('../../../../extensions/filter-control/options')('bulma')
+require('../../../../extensions/filter-control/options')('bulma')

+ 1 - 1
cypress/e2e/extensions/filter-control/options/foundation.cy.js

@@ -1 +1 @@
-require('../../../../extensions/filter-control/options')('foundation')
+require('../../../../extensions/filter-control/options')('foundation')

+ 1 - 1
cypress/e2e/extensions/filter-control/options/materialize.cy.js

@@ -1 +1 @@
-require('../../../../extensions/filter-control/options')('materialize')
+require('../../../../extensions/filter-control/options')('materialize')

+ 1 - 1
cypress/e2e/extensions/filter-control/options/semantic.cy.js

@@ -1 +1 @@
-require('../../../../extensions/filter-control/options')('semantic')
+require('../../../../extensions/filter-control/options')('semantic')

+ 1 - 2
cypress/extensions/filter-control/options.js

@@ -1,6 +1,6 @@
 module.exports = (theme = '') => {
     const baseUrl = require('../../common/utils')(theme, 'for-tests/extensions/filter-control')
-  
+
     describe('Test basic filter control', () => {
       it('Test basic filter control', () => {
         cy.visit(`${baseUrl}filter-control.html`)
@@ -41,4 +41,3 @@ module.exports = (theme = '') => {
       })
     })
   }
-  

+ 1 - 1
cypress/fixtures/example.json

@@ -2,4 +2,4 @@
   "name": "Using fixtures to represent data",
   "email": "hello@cypress.io",
   "body": "Fixtures are a great way to mock data for responses to routes"
-}
+}

+ 2 - 0
package.json

@@ -24,6 +24,7 @@
     "cross-env": "^7.0.3",
     "cspell": "^8.4.1",
     "cypress": "^13.6.6",
+    "editorconfig-checker": "^5.1.5",
     "eslint": "^8.57.0",
     "esm": "^3.2.25",
     "foreach-cli": "^1.8.1",
@@ -44,6 +45,7 @@
     "lint:js": "eslint src",
     "lint:css": "stylelint src/**/*.scss",
     "lint:spell": "cspell lint --no-progress 'src/**/*.{js,json,vue,scss}' '**/*.md'",
+    "lint:editor": "editorconfig-checker -exclude dist",
     "lint": "run-s lint:*",
     "test": "cypress run --headless",
     "docs:check:api": "cd tools && node check-api.js",

+ 248 - 248
site/LICENSE

@@ -2,12 +2,12 @@ Creative Commons Legal Code
 
 Attribution 3.0 Unported
 
-    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
-    LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
-    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
-    INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
-    REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
-    DAMAGES RESULTING FROM ITS USE.
+  CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+  LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
+  ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+  INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+  REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
+  DAMAGES RESULTING FROM ITS USE.
 
 License
 
@@ -24,82 +24,82 @@ CONDITIONS.
 
 1. Definitions
 
- a. "Adaptation" means a work based upon the Work, or upon the Work and
-    other pre-existing works, such as a translation, adaptation,
-    derivative work, arrangement of music or other alterations of a
-    literary or artistic work, or phonogram or performance and includes
-    cinematographic adaptations or any other form in which the Work may be
-    recast, transformed, or adapted including in any form recognizably
-    derived from the original, except that a work that constitutes a
-    Collection will not be considered an Adaptation for the purpose of
-    this License. For the avoidance of doubt, where the Work is a musical
-    work, performance or phonogram, the synchronization of the Work in
-    timed-relation with a moving image ("synching") will be considered an
-    Adaptation for the purpose of this License.
- b. "Collection" means a collection of literary or artistic works, such as
-    encyclopedias and anthologies, or performances, phonograms or
-    broadcasts, or other works or subject matter other than works listed
-    in Section 1(f) below, which, by reason of the selection and
-    arrangement of their contents, constitute intellectual creations, in
-    which the Work is included in its entirety in unmodified form along
-    with one or more other contributions, each constituting separate and
-    independent works in themselves, which together are assembled into a
-    collective whole. A work that constitutes a Collection will not be
-    considered an Adaptation (as defined above) for the purposes of this
-    License.
- c. "Distribute" means to make available to the public the original and
-    copies of the Work or Adaptation, as appropriate, through sale or
-    other transfer of ownership.
- d. "Licensor" means the individual, individuals, entity or entities that
-    offer(s) the Work under the terms of this License.
- e. "Original Author" means, in the case of a literary or artistic work,
-    the individual, individuals, entity or entities who created the Work
-    or if no individual or entity can be identified, the publisher; and in
-    addition (i) in the case of a performance the actors, singers,
-    musicians, dancers, and other persons who act, sing, deliver, declaim,
-    play in, interpret or otherwise perform literary or artistic works or
-    expressions of folklore; (ii) in the case of a phonogram the producer
-    being the person or legal entity who first fixes the sounds of a
-    performance or other sounds; and, (iii) in the case of broadcasts, the
-    organization that transmits the broadcast.
- f. "Work" means the literary and/or artistic work offered under the terms
-    of this License including without limitation any production in the
-    literary, scientific and artistic domain, whatever may be the mode or
-    form of its expression including digital form, such as a book,
-    pamphlet and other writing; a lecture, address, sermon or other work
-    of the same nature; a dramatic or dramatico-musical work; a
-    choreographic work or entertainment in dumb show; a musical
-    composition with or without words; a cinematographic work to which are
-    assimilated works expressed by a process analogous to cinematography;
-    a work of drawing, painting, architecture, sculpture, engraving or
-    lithography; a photographic work to which are assimilated works
-    expressed by a process analogous to photography; a work of applied
-    art; an illustration, map, plan, sketch or three-dimensional work
-    relative to geography, topography, architecture or science; a
-    performance; a broadcast; a phonogram; a compilation of data to the
-    extent it is protected as a copyrightable work; or a work performed by
-    a variety or circus performer to the extent it is not otherwise
-    considered a literary or artistic work.
- g. "You" means an individual or entity exercising rights under this
-    License who has not previously violated the terms of this License with
-    respect to the Work, or who has received express permission from the
-    Licensor to exercise rights under this License despite a previous
-    violation.
- h. "Publicly Perform" means to perform public recitations of the Work and
-    to communicate to the public those public recitations, by any means or
-    process, including by wire or wireless means or public digital
-    performances; to make available to the public Works in such a way that
-    members of the public may access these Works from a place and at a
-    place individually chosen by them; to perform the Work to the public
-    by any means or process and the communication to the public of the
-    performances of the Work, including by public digital performance; to
-    broadcast and rebroadcast the Work by any means including signs,
-    sounds or images.
- i. "Reproduce" means to make copies of the Work by any means including
-    without limitation by sound or visual recordings and the right of
-    fixation and reproducing fixations of the Work, including storage of a
-    protected performance or phonogram in digital form or other electronic
-    medium.
+a. "Adaptation" means a work based upon the Work, or upon the Work and
+  other pre-existing works, such as a translation, adaptation,
+  derivative work, arrangement of music or other alterations of a
+  literary or artistic work, or phonogram or performance and includes
+  cinematographic adaptations or any other form in which the Work may be
+  recast, transformed, or adapted including in any form recognizably
+  derived from the original, except that a work that constitutes a
+  Collection will not be considered an Adaptation for the purpose of
+  this License. For the avoidance of doubt, where the Work is a musical
+  work, performance or phonogram, the synchronization of the Work in
+  timed-relation with a moving image ("synching") will be considered an
+  Adaptation for the purpose of this License.
+b. "Collection" means a collection of literary or artistic works, such as
+  encyclopedias and anthologies, or performances, phonograms or
+  broadcasts, or other works or subject matter other than works listed
+  in Section 1(f) below, which, by reason of the selection and
+  arrangement of their contents, constitute intellectual creations, in
+  which the Work is included in its entirety in unmodified form along
+  with one or more other contributions, each constituting separate and
+  independent works in themselves, which together are assembled into a
+  collective whole. A work that constitutes a Collection will not be
+  considered an Adaptation (as defined above) for the purposes of this
+  License.
+c. "Distribute" means to make available to the public the original and
+  copies of the Work or Adaptation, as appropriate, through sale or
+  other transfer of ownership.
+d. "Licensor" means the individual, individuals, entity or entities that
+  offer(s) the Work under the terms of this License.
+e. "Original Author" means, in the case of a literary or artistic work,
+  the individual, individuals, entity or entities who created the Work
+  or if no individual or entity can be identified, the publisher; and in
+  addition (i) in the case of a performance the actors, singers,
+  musicians, dancers, and other persons who act, sing, deliver, declaim,
+  play in, interpret or otherwise perform literary or artistic works or
+  expressions of folklore; (ii) in the case of a phonogram the producer
+  being the person or legal entity who first fixes the sounds of a
+  performance or other sounds; and, (iii) in the case of broadcasts, the
+  organization that transmits the broadcast.
+f. "Work" means the literary and/or artistic work offered under the terms
+  of this License including without limitation any production in the
+  literary, scientific and artistic domain, whatever may be the mode or
+  form of its expression including digital form, such as a book,
+  pamphlet and other writing; a lecture, address, sermon or other work
+  of the same nature; a dramatic or dramatico-musical work; a
+  choreographic work or entertainment in dumb show; a musical
+  composition with or without words; a cinematographic work to which are
+  assimilated works expressed by a process analogous to cinematography;
+  a work of drawing, painting, architecture, sculpture, engraving or
+  lithography; a photographic work to which are assimilated works
+  expressed by a process analogous to photography; a work of applied
+  art; an illustration, map, plan, sketch or three-dimensional work
+  relative to geography, topography, architecture or science; a
+  performance; a broadcast; a phonogram; a compilation of data to the
+  extent it is protected as a copyrightable work; or a work performed by
+  a variety or circus performer to the extent it is not otherwise
+  considered a literary or artistic work.
+g. "You" means an individual or entity exercising rights under this
+  License who has not previously violated the terms of this License with
+  respect to the Work, or who has received express permission from the
+  Licensor to exercise rights under this License despite a previous
+  violation.
+h. "Publicly Perform" means to perform public recitations of the Work and
+  to communicate to the public those public recitations, by any means or
+  process, including by wire or wireless means or public digital
+  performances; to make available to the public Works in such a way that
+  members of the public may access these Works from a place and at a
+  place individually chosen by them; to perform the Work to the public
+  by any means or process and the communication to the public of the
+  performances of the Work, including by public digital performance; to
+  broadcast and rebroadcast the Work by any means including signs,
+  sounds or images.
+i. "Reproduce" means to make copies of the Work by any means including
+  without limitation by sound or visual recordings and the right of
+  fixation and reproducing fixations of the Work, including storage of a
+  protected performance or phonogram in digital form or other electronic
+  medium.
 
 2. Fair Dealing Rights. Nothing in this License is intended to reduce,
 limit, or restrict any uses free from copyright or rights arising from
@@ -111,35 +111,35 @@ Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
 perpetual (for the duration of the applicable copyright) license to
 exercise the rights in the Work as stated below:
 
- a. to Reproduce the Work, to incorporate the Work into one or more
-    Collections, and to Reproduce the Work as incorporated in the
-    Collections;
- b. to create and Reproduce Adaptations provided that any such Adaptation,
-    including any translation in any medium, takes reasonable steps to
-    clearly label, demarcate or otherwise identify that changes were made
-    to the original Work. For example, a translation could be marked "The
-    original work was translated from English to Spanish," or a
-    modification could indicate "The original work has been modified.";
- c. to Distribute and Publicly Perform the Work including as incorporated
-    in Collections; and,
- d. to Distribute and Publicly Perform Adaptations.
- e. For the avoidance of doubt:
+a. to Reproduce the Work, to incorporate the Work into one or more
+  Collections, and to Reproduce the Work as incorporated in the
+  Collections;
+b. to create and Reproduce Adaptations provided that any such Adaptation,
+  including any translation in any medium, takes reasonable steps to
+  clearly label, demarcate or otherwise identify that changes were made
+  to the original Work. For example, a translation could be marked "The
+  original work was translated from English to Spanish," or a
+  modification could indicate "The original work has been modified.";
+c. to Distribute and Publicly Perform the Work including as incorporated
+  in Collections; and,
+d. to Distribute and Publicly Perform Adaptations.
+e. For the avoidance of doubt:
 
-     i. Non-waivable Compulsory License Schemes. In those jurisdictions in
-        which the right to collect royalties through any statutory or
-        compulsory licensing scheme cannot be waived, the Licensor
-        reserves the exclusive right to collect such royalties for any
-        exercise by You of the rights granted under this License;
-    ii. Waivable Compulsory License Schemes. In those jurisdictions in
-        which the right to collect royalties through any statutory or
-        compulsory licensing scheme can be waived, the Licensor waives the
-        exclusive right to collect such royalties for any exercise by You
-        of the rights granted under this License; and,
-   iii. Voluntary License Schemes. The Licensor waives the right to
-        collect royalties, whether individually or, in the event that the
-        Licensor is a member of a collecting society that administers
-        voluntary licensing schemes, via that society, from any exercise
-        by You of the rights granted under this License.
+i. Non-waivable Compulsory License Schemes. In those jurisdictions in
+  which the right to collect royalties through any statutory or
+  compulsory licensing scheme cannot be waived, the Licensor
+  reserves the exclusive right to collect such royalties for any
+  exercise by You of the rights granted under this License;
+ii. Waivable Compulsory License Schemes. In those jurisdictions in
+  which the right to collect royalties through any statutory or
+  compulsory licensing scheme can be waived, the Licensor waives the
+  exclusive right to collect such royalties for any exercise by You
+  of the rights granted under this License; and,
+iii. Voluntary License Schemes. The Licensor waives the right to
+  collect royalties, whether individually or, in the event that the
+  Licensor is a member of a collecting society that administers
+  voluntary licensing schemes, via that society, from any exercise
+  by You of the rights granted under this License.
 
 The above rights may be exercised in all media and formats whether now
 known or hereafter devised. The above rights include the right to make
@@ -150,74 +150,74 @@ granted by Licensor are hereby reserved.
 4. Restrictions. The license granted in Section 3 above is expressly made
 subject to and limited by the following restrictions:
 
- a. You may Distribute or Publicly Perform the Work only under the terms
-    of this License. You must include a copy of, or the Uniform Resource
-    Identifier (URI) for, this License with every copy of the Work You
-    Distribute or Publicly Perform. You may not offer or impose any terms
-    on the Work that restrict the terms of this License or the ability of
-    the recipient of the Work to exercise the rights granted to that
-    recipient under the terms of the License. You may not sublicense the
-    Work. You must keep intact all notices that refer to this License and
-    to the disclaimer of warranties with every copy of the Work You
-    Distribute or Publicly Perform. When You Distribute or Publicly
-    Perform the Work, You may not impose any effective technological
-    measures on the Work that restrict the ability of a recipient of the
-    Work from You to exercise the rights granted to that recipient under
-    the terms of the License. This Section 4(a) applies to the Work as
-    incorporated in a Collection, but this does not require the Collection
-    apart from the Work itself to be made subject to the terms of this
-    License. If You create a Collection, upon notice from any Licensor You
-    must, to the extent practicable, remove from the Collection any credit
-    as required by Section 4(b), as requested. If You create an
-    Adaptation, upon notice from any Licensor You must, to the extent
-    practicable, remove from the Adaptation any credit as required by
-    Section 4(b), as requested.
- b. If You Distribute, or Publicly Perform the Work or any Adaptations or
-    Collections, You must, unless a request has been made pursuant to
-    Section 4(a), keep intact all copyright notices for the Work and
-    provide, reasonable to the medium or means You are utilizing: (i) the
-    name of the Original Author (or pseudonym, if applicable) if supplied,
-    and/or if the Original Author and/or Licensor designate another party
-    or parties (e.g., a sponsor institute, publishing entity, journal) for
-    attribution ("Attribution Parties") in Licensor's copyright notice,
-    terms of service or by other reasonable means, the name of such party
-    or parties; (ii) the title of the Work if supplied; (iii) to the
-    extent reasonably practicable, the URI, if any, that Licensor
-    specifies to be associated with the Work, unless such URI does not
-    refer to the copyright notice or licensing information for the Work;
-    and (iv) , consistent with Section 3(b), in the case of an Adaptation,
-    a credit identifying the use of the Work in the Adaptation (e.g.,
-    "French translation of the Work by Original Author," or "Screenplay
-    based on original Work by Original Author"). The credit required by
-    this Section 4 (b) may be implemented in any reasonable manner;
-    provided, however, that in the case of a Adaptation or Collection, at
-    a minimum such credit will appear, if a credit for all contributing
-    authors of the Adaptation or Collection appears, then as part of these
-    credits and in a manner at least as prominent as the credits for the
-    other contributing authors. For the avoidance of doubt, You may only
-    use the credit required by this Section for the purpose of attribution
-    in the manner set out above and, by exercising Your rights under this
-    License, You may not implicitly or explicitly assert or imply any
-    connection with, sponsorship or endorsement by the Original Author,
-    Licensor and/or Attribution Parties, as appropriate, of You or Your
-    use of the Work, without the separate, express prior written
-    permission of the Original Author, Licensor and/or Attribution
-    Parties.
- c. Except as otherwise agreed in writing by the Licensor or as may be
-    otherwise permitted by applicable law, if You Reproduce, Distribute or
-    Publicly Perform the Work either by itself or as part of any
-    Adaptations or Collections, You must not distort, mutilate, modify or
-    take other derogatory action in relation to the Work which would be
-    prejudicial to the Original Author's honor or reputation. Licensor
-    agrees that in those jurisdictions (e.g. Japan), in which any exercise
-    of the right granted in Section 3(b) of this License (the right to
-    make Adaptations) would be deemed to be a distortion, mutilation,
-    modification or other derogatory action prejudicial to the Original
-    Author's honor and reputation, the Licensor will waive or not assert,
-    as appropriate, this Section, to the fullest extent permitted by the
-    applicable national law, to enable You to reasonably exercise Your
-    right under Section 3(b) of this License (right to make Adaptations)
-    but not otherwise.
+a. You may Distribute or Publicly Perform the Work only under the terms
+  of this License. You must include a copy of, or the Uniform Resource
+  Identifier (URI) for, this License with every copy of the Work You
+  Distribute or Publicly Perform. You may not offer or impose any terms
+  on the Work that restrict the terms of this License or the ability of
+  the recipient of the Work to exercise the rights granted to that
+  recipient under the terms of the License. You may not sublicense the
+  Work. You must keep intact all notices that refer to this License and
+  to the disclaimer of warranties with every copy of the Work You
+  Distribute or Publicly Perform. When You Distribute or Publicly
+  Perform the Work, You may not impose any effective technological
+  measures on the Work that restrict the ability of a recipient of the
+  Work from You to exercise the rights granted to that recipient under
+  the terms of the License. This Section 4(a) applies to the Work as
+  incorporated in a Collection, but this does not require the Collection
+  apart from the Work itself to be made subject to the terms of this
+  License. If You create a Collection, upon notice from any Licensor You
+  must, to the extent practicable, remove from the Collection any credit
+  as required by Section 4(b), as requested. If You create an
+  Adaptation, upon notice from any Licensor You must, to the extent
+  practicable, remove from the Adaptation any credit as required by
+  Section 4(b), as requested.
+b. If You Distribute, or Publicly Perform the Work or any Adaptations or
+  Collections, You must, unless a request has been made pursuant to
+  Section 4(a), keep intact all copyright notices for the Work and
+  provide, reasonable to the medium or means You are utilizing: (i) the
+  name of the Original Author (or pseudonym, if applicable) if supplied,
+  and/or if the Original Author and/or Licensor designate another party
+  or parties (e.g., a sponsor institute, publishing entity, journal) for
+  attribution ("Attribution Parties") in Licensor's copyright notice,
+  terms of service or by other reasonable means, the name of such party
+  or parties; (ii) the title of the Work if supplied; (iii) to the
+  extent reasonably practicable, the URI, if any, that Licensor
+  specifies to be associated with the Work, unless such URI does not
+  refer to the copyright notice or licensing information for the Work;
+  and (iv) , consistent with Section 3(b), in the case of an Adaptation,
+  a credit identifying the use of the Work in the Adaptation (e.g.,
+  "French translation of the Work by Original Author," or "Screenplay
+  based on original Work by Original Author"). The credit required by
+  this Section 4 (b) may be implemented in any reasonable manner;
+  provided, however, that in the case of a Adaptation or Collection, at
+  a minimum such credit will appear, if a credit for all contributing
+  authors of the Adaptation or Collection appears, then as part of these
+  credits and in a manner at least as prominent as the credits for the
+  other contributing authors. For the avoidance of doubt, You may only
+  use the credit required by this Section for the purpose of attribution
+  in the manner set out above and, by exercising Your rights under this
+  License, You may not implicitly or explicitly assert or imply any
+  connection with, sponsorship or endorsement by the Original Author,
+  Licensor and/or Attribution Parties, as appropriate, of You or Your
+  use of the Work, without the separate, express prior written
+  permission of the Original Author, Licensor and/or Attribution
+  Parties.
+c. Except as otherwise agreed in writing by the Licensor or as may be
+  otherwise permitted by applicable law, if You Reproduce, Distribute or
+  Publicly Perform the Work either by itself or as part of any
+  Adaptations or Collections, You must not distort, mutilate, modify or
+  take other derogatory action in relation to the Work which would be
+  prejudicial to the Original Author's honor or reputation. Licensor
+  agrees that in those jurisdictions (e.g. Japan), in which any exercise
+  of the right granted in Section 3(b) of this License (the right to
+  make Adaptations) would be deemed to be a distortion, mutilation,
+  modification or other derogatory action prejudicial to the Original
+  Author's honor and reputation, the Licensor will waive or not assert,
+  as appropriate, this Section, to the fullest extent permitted by the
+  applicable national law, to enable You to reasonably exercise Your
+  right under Section 3(b) of this License (right to make Adaptations)
+  but not otherwise.
 
 5. Representations, Warranties and Disclaimer
 
@@ -238,82 +238,82 @@ BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
 7. Termination
 
- a. This License and the rights granted hereunder will terminate
-    automatically upon any breach by You of the terms of this License.
-    Individuals or entities who have received Adaptations or Collections
-    from You under this License, however, will not have their licenses
-    terminated provided such individuals or entities remain in full
-    compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
-    survive any termination of this License.
- b. Subject to the above terms and conditions, the license granted here is
-    perpetual (for the duration of the applicable copyright in the Work).
-    Notwithstanding the above, Licensor reserves the right to release the
-    Work under different license terms or to stop distributing the Work at
-    any time; provided, however that any such election will not serve to
-    withdraw this License (or any other license that has been, or is
-    required to be, granted under the terms of this License), and this
-    License will continue in full force and effect unless terminated as
-    stated above.
+a. This License and the rights granted hereunder will terminate
+  automatically upon any breach by You of the terms of this License.
+  Individuals or entities who have received Adaptations or Collections
+  from You under this License, however, will not have their licenses
+  terminated provided such individuals or entities remain in full
+  compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
+  survive any termination of this License.
+b. Subject to the above terms and conditions, the license granted here is
+  perpetual (for the duration of the applicable copyright in the Work).
+  Notwithstanding the above, Licensor reserves the right to release the
+  Work under different license terms or to stop distributing the Work at
+  any time; provided, however that any such election will not serve to
+  withdraw this License (or any other license that has been, or is
+  required to be, granted under the terms of this License), and this
+  License will continue in full force and effect unless terminated as
+  stated above.
 
 8. Miscellaneous
 
- a. Each time You Distribute or Publicly Perform the Work or a Collection,
-    the Licensor offers to the recipient a license to the Work on the same
-    terms and conditions as the license granted to You under this License.
- b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
-    offers to the recipient a license to the original Work on the same
-    terms and conditions as the license granted to You under this License.
- c. If any provision of this License is invalid or unenforceable under
-    applicable law, it shall not affect the validity or enforceability of
-    the remainder of the terms of this License, and without further action
-    by the parties to this agreement, such provision shall be reformed to
-    the minimum extent necessary to make such provision valid and
-    enforceable.
- d. No term or provision of this License shall be deemed waived and no
-    breach consented to unless such waiver or consent shall be in writing
-    and signed by the party to be charged with such waiver or consent.
- e. This License constitutes the entire agreement between the parties with
-    respect to the Work licensed here. There are no understandings,
-    agreements or representations with respect to the Work not specified
-    here. Licensor shall not be bound by any additional provisions that
-    may appear in any communication from You. This License may not be
-    modified without the mutual written agreement of the Licensor and You.
- f. The rights granted under, and the subject matter referenced, in this
-    License were drafted utilizing the terminology of the Berne Convention
-    for the Protection of Literary and Artistic Works (as amended on
-    September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
-    Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
-    and the Universal Copyright Convention (as revised on July 24, 1971).
-    These rights and subject matter take effect in the relevant
-    jurisdiction in which the License terms are sought to be enforced
-    according to the corresponding provisions of the implementation of
-    those treaty provisions in the applicable national law. If the
-    standard suite of rights granted under applicable copyright law
-    includes additional rights not granted under this License, such
-    additional rights are deemed to be included in the License; this
-    License is not intended to restrict the license of any rights under
-    applicable law.
+a. Each time You Distribute or Publicly Perform the Work or a Collection,
+  the Licensor offers to the recipient a license to the Work on the same
+  terms and conditions as the license granted to You under this License.
+b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
+  offers to the recipient a license to the original Work on the same
+  terms and conditions as the license granted to You under this License.
+c. If any provision of this License is invalid or unenforceable under
+  applicable law, it shall not affect the validity or enforceability of
+  the remainder of the terms of this License, and without further action
+  by the parties to this agreement, such provision shall be reformed to
+  the minimum extent necessary to make such provision valid and
+  enforceable.
+d. No term or provision of this License shall be deemed waived and no
+  breach consented to unless such waiver or consent shall be in writing
+  and signed by the party to be charged with such waiver or consent.
+e. This License constitutes the entire agreement between the parties with
+  respect to the Work licensed here. There are no understandings,
+  agreements or representations with respect to the Work not specified
+  here. Licensor shall not be bound by any additional provisions that
+  may appear in any communication from You. This License may not be
+  modified without the mutual written agreement of the Licensor and You.
+f. The rights granted under, and the subject matter referenced, in this
+  License were drafted utilizing the terminology of the Berne Convention
+  for the Protection of Literary and Artistic Works (as amended on
+  September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
+  Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
+  and the Universal Copyright Convention (as revised on July 24, 1971).
+  These rights and subject matter take effect in the relevant
+  jurisdiction in which the License terms are sought to be enforced
+  according to the corresponding provisions of the implementation of
+  those treaty provisions in the applicable national law. If the
+  standard suite of rights granted under applicable copyright law
+  includes additional rights not granted under this License, such
+  additional rights are deemed to be included in the License; this
+  License is not intended to restrict the license of any rights under
+  applicable law.
 
 
 Creative Commons Notice
 
-    Creative Commons is not a party to this License, and makes no warranty
-    whatsoever in connection with the Work. Creative Commons will not be
-    liable to You or any party on any legal theory for any damages
-    whatsoever, including without limitation any general, special,
-    incidental or consequential damages arising in connection to this
-    license. Notwithstanding the foregoing two (2) sentences, if Creative
-    Commons has expressly identified itself as the Licensor hereunder, it
-    shall have all rights and obligations of Licensor.
+  Creative Commons is not a party to this License, and makes no warranty
+  whatsoever in connection with the Work. Creative Commons will not be
+  liable to You or any party on any legal theory for any damages
+  whatsoever, including without limitation any general, special,
+  incidental or consequential damages arising in connection to this
+  license. Notwithstanding the foregoing two (2) sentences, if Creative
+  Commons has expressly identified itself as the Licensor hereunder, it
+  shall have all rights and obligations of Licensor.
 
-    Except for the limited purpose of indicating to the public that the
-    Work is licensed under the CCPL, Creative Commons does not authorize
-    the use by either party of the trademark "Creative Commons" or any
-    related trademark or logo of Creative Commons without the prior
-    written consent of Creative Commons. Any permitted use will be in
-    compliance with Creative Commons' then-current trademark usage
-    guidelines, as may be published on its website or otherwise made
-    available upon request from time to time. For the avoidance of doubt,
-    this trademark restriction does not form part of this License.
+  Except for the limited purpose of indicating to the public that the
+  Work is licensed under the CCPL, Creative Commons does not authorize
+  the use by either party of the trademark "Creative Commons" or any
+  related trademark or logo of Creative Commons without the prior
+  written consent of Creative Commons. Any permitted use will be in
+  compliance with Creative Commons' then-current trademark usage
+  guidelines, as may be published on its website or otherwise made
+  available upon request from time to time. For the avoidance of doubt,
+  this trademark restriction does not form part of this License.
 
-    Creative Commons may be contacted at http://creativecommons.org/.
+  Creative Commons may be contacted at http://creativecommons.org/.

+ 1 - 1
site/docs/api/column-options.md

@@ -177,7 +177,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
 
   Example code:
 
-   {% highlight html %}
+  {% highlight html %}
   <th .. data-events="operateEvent">
   var operateEvents = {
     'click .like': function (e, value, row, index) {}

+ 21 - 21
site/docs/api/table-options.md

@@ -91,33 +91,33 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
     - Description: Should be used if you want to add an event to the button
     - Type: `Function|Object|String`
 
-   The `event` option can be configured in three ways.
-   One event with `click` event:
-   ```javascript
-   {
-     'event': () => { }
-   }
-   ```
+  The `event` option can be configured in three ways.
+  One event with `click` event:
+  ```javascript
+  {
+    'event': () => { }
+  }
+  ```
 
   One event with a self-defined event type:
   ```javascript
-     {
-       'event': {
-         'mouseenter': () => { }
-       }
-     }
+    {
+      'event': {
+        'mouseenter': () => { }
+      }
+    }
   ```
 
   Multiple events with self-defined event types:
-    ```javascript
-       {
-         'event': {
-           'click': () => { },
-           'mouseenter': () => { },
-           'mouseleave': () => { }
-         }
-       }
-    ```
+  ```javascript
+    {
+      'event': {
+        'click': () => { },
+        'mouseenter': () => { },
+        'mouseleave': () => { }
+      }
+    }
+  ```
 
   **Hint:** Instead of inline functions, you also can use function names.
 

+ 5 - 5
site/docs/extensions/auto-refresh.md

@@ -26,7 +26,7 @@ toc: true
 
 - **Detail:**
 
-   Set `true` to enable auto refresh plugin.
+  Set `true` to enable the auto refresh plugin.
 
 - **Default:** `false`
 
@@ -38,7 +38,7 @@ toc: true
 
 - **Detail:**
 
-   Time in seconds for auto refresh to occur every.
+  Time in seconds for the auto refresh to occur every.
 
 - **Default:** `60`
 
@@ -50,7 +50,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to auto refresh silently.
+  Set true to auto refresh silently.
 
 - **Default:** `true`
 
@@ -62,7 +62,7 @@ toc: true
 
 - **Detail:**
 
-   Set `true` to enable auto refresh. This is the state auto refresh will be in when the table loads. Clicking the button toggles this property. This is simply the default state of auto refresh as the user can always change it by clicking the button.
+  Set `true` to enable auto refresh. This is the state auto refresh will be in when the table loads. Clicking the button toggles this property. This is simply the default state of auto refresh as the user can always change it by clicking the button.
 
 - **Default:** `true`
 
@@ -74,7 +74,7 @@ toc: true
 
 - **Detail:**
 
-  Set `false` to hide the auto refresh button, as example if you want to disallow deactivating the auto fresh by the user.
+  Set `false` to hide the auto refresh button, for example, if you want to disallow deactivating the auto fresh by the user.
 
 - **Default:** `true`
 

+ 24 - 24
site/docs/extensions/cookie.md

@@ -26,7 +26,7 @@ toc: true
 
 - **Detail:**
 
-   Set `true` to save the state of a table (its paging position, ordering state, records per page).
+  Set `true` to save the state of a table (its paging position, ordering state, and records per page).
 
 - **Default:** `false`
 
@@ -38,12 +38,12 @@ toc: true
 
 - **parameter**
 
-  - cookieName - The name of the value e.g. the search
+  - `cookieName` - The name of the value e.g. the search
 
 - **Detail:**
 
-   This option allows to delete values with your custom function.
-   This option is only required if you use `customStorage` on the `cookieStorage` option!
+  This option allows deleting values with your custom function.
+  This option is only required if you use `customStorage` on the `cookieStorage` option!
 
 - **Default:** `undefined`
 
@@ -55,12 +55,12 @@ toc: true
 
 - **parameter**
 
-  - cookieName - The name of the value e.g. the search
+  - `cookieName` - The name of the value e.g. the search
 
 - **Detail:**
 
-   This option allows to get the saved value from your custom function.
-   This option is only required if you use `customStorage` on the `cookieStorage` option!
+  This option allows getting the saved value from your custom function.
+  This option is only required if you use `customStorage` on the `cookieStorage` option!
 
 - **Default:** `undefined`
 
@@ -72,13 +72,13 @@ toc: true
 
 - **parameter**
 
-  - cookieName - The name of the value e.g. the search
-  - value - The value which will be saved
+  - `cookieName` - The name of the value e.g. the search
+  - `value` - The value that will be saved
 
 - **Detail:**
 
-   This option allows to save values with your custom function.
-   This option is only required if you use `customStorage` on the `cookieStorage` option!
+  This option allows saving values with your custom function.
+  This option is only required if you use `customStorage` on the `cookieStorage` option!
 
 - **Default:** `undefined`
 
@@ -90,7 +90,7 @@ toc: true
 
 - **Detail:**
 
-   This is the website domain, with the www. prefix removed.
+  This is the website domain, with the www. prefix removed.
 
 - **Default:** `null`
 
@@ -102,7 +102,7 @@ toc: true
 
 - **Detail:**
 
-   You must set this property if cookie option is enable to know when will expire the cookie created. Must use this format: `'number{letter}'` like `'2h'`, in the letter position you can use: `'s'`, `'mi'`, `'h'`, `'d'`, `'m'`, `'y'`, these means: `'seconds'`, `'minutes'`, `'hours'`, `'days'`, `'months'`, `'years'`.
+  You must set this property if the cookie option is enabled to know when will expire the cookie. Must use this format: `'number{letter}'` like `'2h'`, in the letter position you can use: `'s'`, `'mi'`, `'h'`, `'d'`, `'m'`, `'y'`, these means: `'seconds'`, `'minutes'`, `'hours'`, `'days'`, `'months'`, `'years'`.
 
 - **Default:** `2h`
 
@@ -114,7 +114,7 @@ toc: true
 
 - **Detail:**
 
-   You must set this property if the cookie property is enabled to set an unique cookie with an identifier for each table in your page or project. You must set this property because we need create cookies with an identifier.
+  You must set this property if the cookie property is enabled to set a unique cookie with an identifier for each table in your page or project. You must set this property because we need to create cookies with an identifier.
 
 - **Default:** `''`
 
@@ -126,7 +126,7 @@ toc: true
 
 - **Detail:**
 
-   you can tell the browser what path the cookie belongs to. By default, the cookie belongs to the current page.
+  you can tell the browser what path the cookie belongs to. By default, the cookie belongs to the current page.
 
 - **Default:** `null`
 
@@ -138,7 +138,7 @@ toc: true
 
 - **Detail:**
 
-   This property keeps cookie communication limited to encrypted transmission, directing browsers to use cookies only via secure/encrypted connections.
+  This property keeps cookie communication limited to encrypted transmission, directing browsers to use cookies only via secure/encrypted connections.
 
 - **Default:** `null`
 
@@ -150,7 +150,7 @@ toc: true
 
 - **Detail:**
 
-   This property defines the value of the `SameSite` cookie attribute, for more information please check the [SameSite Documentation](https://developer.mozilla.org/de/docs/Web/HTTP/Headers/Set-Cookie/SameSite).
+  This property defines the value of the `SameSite` cookie attribute, for more information please check the [SameSite Documentation](https://developer.mozilla.org/de/docs/Web/HTTP/Headers/Set-Cookie/SameSite).
 
 - **Default:** `Lax`
 
@@ -163,10 +163,10 @@ toc: true
 
 - **Detail:**
 
-   Set the storage that this extension will use. Use `cookieStorage` or `localStorage` or `sessionStorage` or `customStorage`.
+  Set the storage that this extension will use. Use `cookieStorage`, `localStorage`, `sessionStorage`, or `customStorage`.
 
-   Info for `customStorage`:
-   You have use `cookieCustomStorageGet`, `cookieCustomStorageSet` and `cookieCustomStorageDelete`.
+  Info for `customStorage`:
+  You have use `cookieCustomStorageGet`, `cookieCustomStorageSet` and `cookieCustomStorageDelete`.
 
 - **Default:** `cookieStorage`
 
@@ -178,7 +178,7 @@ toc: true
 
 - **Detail:**
 
-   Set this array with the table properties (sortOrder, sortName, sortPriority, pageNumber, pageList, hiddenColumns, searchText, filterControl) that you want to save
+  Set this array with the table properties (`sortOrder`, `sortName`, `sortPriority`, `pageNumber`, `pageList`, `hiddenColumns`, `searchText`, `filterControl`) that you want to save
 
 - **Default:** `['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.hiddenColumns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.cardView', 'bs.table.customView']`
 
@@ -190,7 +190,7 @@ toc: true
 
 - **Detail:**
 
-   Delete the saved cookie by cookie name.
+  Delete the saved cookie by cookie name.
 
 ### getCookies
 
@@ -198,7 +198,7 @@ toc: true
 
 - **Detail:**
 
-   Return the saved cookies.
+  Return the saved cookies.
 
 ## This plugin saves
 
@@ -210,4 +210,4 @@ toc: true
 * Sort name
 * Multiple Sort order
 * Hidden columns
-* Card view state
+* Card view state

+ 3 - 3
site/docs/extensions/copy-rows.md

@@ -6,7 +6,7 @@ group: extensions
 toc: true
 ---
 
-This extension adds functionality for copying selected rows to the clipboard. Currently works on all desktop browsers except safari.
+This extension adds functionality for copying selected rows to the clipboard. Currently works on all desktop browsers except Safari.
 
 ## Usage
 
@@ -28,7 +28,7 @@ This extension adds functionality for copying selected rows to the clipboard. Cu
 
 - **Detail:**
 
-  Set `true` to show the copy button. This button copy the contents of the selected rows to the clipboard.
+  Set `true` to show the copy button. This button copies the contents of the selected rows to the clipboard.
 
 - **Default:** `false`
 
@@ -40,7 +40,7 @@ This extension adds functionality for copying selected rows to the clipboard. Cu
 
 - **Detail:**
 
-   This delimiter will be inserted in-between the column values when copying.
+  This delimiter will be inserted in between the column values when copying.
 
 - **Default:** `', '`
 

+ 5 - 5
site/docs/extensions/custom-view.md

@@ -29,7 +29,7 @@ This extension adds the ability to create a custom view to display the data.
 
 - **Detail:**
 
-  Set to `false` to disable this extension.  
+  Set to `false` to disable this extension.
   Set to `function` to format your custom view.
 
 - **Default:** `false`
@@ -42,7 +42,7 @@ This extension adds the ability to create a custom view to display the data.
 
 - **Detail:**
 
-  Set to `true` to show the custom view as default view.
+  Set to `true` to show the custom view as the default view.
 
 - **Default:** `false`
 
@@ -60,7 +60,7 @@ This extension adds the ability to create a custom view to display the data.
 
 ### Icons
 
-- customViewOn: 
+- customViewOn:
     * Bootstrap3: `glyphicon glyphicon-list`
     * Bootstrap4: `fa fa-eye`
     * bootstrap5: 'bi-eye',
@@ -93,7 +93,7 @@ This extension adds the ability to create a custom view to display the data.
 
 - **Detail:**
 
-  It fires before the custom view was rendered.
+  It fires before the custom view is rendered.
 
 ### onCustomViewPostBody
 
@@ -103,7 +103,7 @@ This extension adds the ability to create a custom view to display the data.
 
 - **Detail:**
 
-  It fires after the custom view was rendered.
+  It fires after the custom view is rendered.
 
 ### onToggleCustomView
 

File diff suppressed because it is too large
+ 1 - 1
site/docs/extensions/defer-url.md


+ 7 - 7
site/docs/extensions/editable.md

@@ -24,7 +24,7 @@ Use Plugin: [x-editable](https://github.com/vitalets/x-editable)
 
 - **Detail:**
 
-   Set false to disabled editable of all columns.
+  Set false to disabled editable of all columns.
 
 - **Default:** `true`
 
@@ -52,10 +52,10 @@ Use Plugin: [x-editable](https://github.com/vitalets/x-editable)
 
   Configuration of x-editable. Full list of options: [http://vitalets.github.io/x-editable/docs.html#editable](http://vitalets.github.io/x-editable/docs.html#editable).
 
-  If it is type of Function, it is called with params: index, row, element for
-  each row of the table. It should return Object of the x-editable configuration.
+  If it is the type of Function, it is called with params: index, row, element for
+  each row of the table. It should return the Object of the x-editable configuration.
 
-  All options can be defined via `data-editable-*` HTML attributes. Table wide options are used for every column but can be overridden:
+  All options can be defined via `data-editable-*` HTML attributes. Table-wide options are used for every column but can be overridden:
 
   {% highlight html %}
   <table id="my_table_id"
@@ -94,7 +94,7 @@ Use Plugin: [x-editable](https://github.com/vitalets/x-editable)
 
 ### onEditableInit(editable-init.bs.table)
 
-Fired when all columns was initialized by `$().editable()` method.
+Fired when all columns were initialized by the `$().editable()` method.
 
 ### onEditableSave(editable-save.bs.table)
 
@@ -110,10 +110,10 @@ parameters: field, row, $el
 
 ### onEditableHidden(editable-hidden.bs.table)
 
-Fired when an editable cell is hidden / closed.
+Fired when an editable cell is hidden/closed.
 
 parameters: field, row, $el, reason
 
 ## The existing problems
 
-* Editable extension does not support searchable in the select type.
+* The editable extension does not support searchable in the select type.

+ 16 - 16
site/docs/extensions/export.md

@@ -30,7 +30,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Set `true` to show export button.
+  Set `true` to show the export button.
 
 - **Default:** `false`
 
@@ -42,7 +42,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Export data type, support: `'basic'`, `'all'`, `'selected'`.
+  Export data type, support: `'basic'`, `'all'`, `'selected'`.
 
 - **Default:** `basic`
 
@@ -54,7 +54,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Set `true` to export the table footer.
+  Set `true` to export the table footer.
 
 - **Default:** `false`
 
@@ -66,17 +66,17 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Export [options](https://github.com/hhurz/tableExport.jquery.plugin#options) of `tableExport.jquery.plugin`
+  Export [options](https://github.com/hhurz/tableExport.jquery.plugin#options) of `tableExport.jquery.plugin`
 
-   `exportOptions.fileName` can be a string or a function, for example:
+  `exportOptions.fileName` can be a string or a function, for example:
 
-   ```js
-   exportOptions: {
-      fileName: function () {
-         return 'exportName'
-      }
-   }
-   ```
+  ```js
+  exportOptions: {
+    fileName: function () {
+      return 'exportName'
+    }
+  }
+  ```
 
 ### exportTypes
 
@@ -86,7 +86,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Export types, support types: `['json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'xlsx', 'pdf']`.
+  Export types, support types: `['json', 'xml', 'png', 'csv', 'txt', 'sql', 'doc', 'excel', 'xlsx', 'pdf']`.
 
 - **Default:** `['json', 'xml', 'csv', 'txt', 'sql', 'excel']`
 
@@ -104,7 +104,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Set `true` to force export a column e.g. hidden columns.
+  Set `true` to force export a column e.g. hidden columns.
 
 - **Default:** `false`
 
@@ -116,7 +116,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Set `true` to force hide a column e.g. for icon columns.
+  Set `true` to force hide a column e.g. for icon columns.
 
 - **Default:** `false`
 
@@ -152,7 +152,7 @@ This is an important link to check out as some file types may require extra step
 
 - **Detail:**
 
-   Export table with custom options.
+  Export table with custom options.
 
 ## Localizations
 

+ 31 - 31
site/docs/extensions/filter-control.md

@@ -27,7 +27,7 @@ toc: true
 
 - **Detail:**
 
-   Set to `true` to add an `input` or `select` into the column.
+  Set to `true` to add an `input` or `select` into the column.
 
 - **Default:** `false`
 
@@ -39,7 +39,7 @@ toc: true
 
 - **Detail:**
 
-   Set to `false` to hide the filter controls.
+  Set to `false` to hide the filter controls.
 
 - **Default:** `true`
 
@@ -51,7 +51,7 @@ toc: true
 
 - **Detail:**
 
-   Set the alignment of the select control options. Use Use `left`, `right` or `auto`.
+  Set the alignment of the select control options. Use `left`, `right` or `auto`.
 
 - **Default:** `undefined`
 
@@ -63,8 +63,8 @@ toc: true
 
 - **Detail:**
 
-   Set to e.g. `#filter` to allow custom input filter in a element with the id `filter`.
-   Each filter element (input or select) must have the following class `bootstrap-table-filter-control-<FieldName>` (<FieldName> must be replaced with the defined [Field](https://bootstrap-table.com/docs/api/column-options/#field) name).
+  Set to e.g. `#filter` to allow custom input filter in an element with the id `filter`.
+  Each filter element (input or select) must have the following class `bootstrap-table-filter-control-<FieldName>` (<FieldName> must be replaced with the defined [Field](https://bootstrap-table.com/docs/api/column-options/#field) name).
 
 - **Default:** `false`
 
@@ -76,7 +76,7 @@ toc: true
 
 - **Detail:**
 
-   Collect data which will added to the select filter, to filter through e.g. labels which are comma separated and displayed with a formatter.
+  Collect data which will added to the select filter, to filter through e.g. labels that are comma separated and displayed with a formatter.
 
 - **Default:** `undefined`
 
@@ -113,7 +113,7 @@ toc: true
 
 - **Detail:**
 
-   Set to true to fire the search action when the user press the enter key.
+  Set to true to fire the search action when the user presses the enter key.
 
 - **Default:** `false`
 
@@ -125,7 +125,7 @@ toc: true
 
 - **Detail:**
 
-   Set to `true` to show the filter control switch button.
+  Set to `true` to show the filter control switch button.
 
 - **Default:** `false`
 
@@ -137,7 +137,7 @@ toc: true
 
 - **Detail:**
 
-   Set to `true` to sort the option elements of the select control.
+  Set to `true` to sort the option elements of the select control.
 
 - **Default:** `false`
 
@@ -151,7 +151,7 @@ toc: true
 
 - **Detail:**
 
-   Set `input`: show an input control, `select`: show a select control, `datepicker`: show a html5 datepicker control.
+  Set `input`: show an input control, `select`: show a select control, `datepicker`: show a html5 datepicker control.
 
 - **Default:** `undefined`
 
@@ -163,7 +163,7 @@ toc: true
 
 - **Detail:**
 
-   Set this in order to show a placeholder only in the input filter control.
+  Set this to show a placeholder only in the input filter control.
 
 - **Default:** `''`
 
@@ -175,16 +175,16 @@ toc: true
 
 - **Detail:**
 
-   The custom search function is executed instead of built-in search function, takes four parameters:
+  The custom search function is executed instead of the built-in search function and takes four parameters:
 
-     * `text`: the search text.
-     * `value`: the the value of the column to compare.
-     * `field`: the column field name.
-     * `data`: the table data.
+    * `text`: the search text.
+    * `value`: the value of the column to compare.
+    * `field`: the column field name.
+    * `data`: the table data.
 
-   Return `false` to filter out the current column/row.
-   Return `true` to not filter out the current column/row.
-   Return `null` to skip the custom search for the current value.
+  Return `false` to filter out the current column/row.
+  Return `true` to not filter out the current column/row.
+  Return `null` to skip the custom search for the current value.
 
 - **Default:** `undefined`
 
@@ -196,12 +196,12 @@ toc: true
 
 - **Detail:**
 
-   Set custom select filter values, use
-   `var:variable` to load from a variable
-   `obj:variable.key` to load from a object
-   `url:http://www.example.com/data.json` to load from a remote json file
-   `json:{key:data}` to load from a json string.
-   `func:functionName` to load from a function.
+  Set custom select filter values, use
+  `var:variable` to load from a variable
+  `obj:variable.key` to load from an object
+  `url:http://www.example.com/data.json` to load from a remote JSON file
+  `json:{key:data}` to load from a JSON string.
+  `func:functionName` to load from a function.
 
 - **Default:** `undefined`
 
@@ -213,7 +213,7 @@ toc: true
 
 - **Detail:**
 
-   If the datepicker option is set use this option to configure the datepicker with the native options. Use this way: `data-filter-datepicker-options='{"max":value1, "min": value2, "step": value3}'`. For more information visit this [documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date)
+  If the datepicker option is set use this option to configure the datepicker with the native options. Use this way: `data-filter-datepicker-options='{"max":value1, "min": value2, "step": value3}'`. For more information visit this [documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date)
 
 - **Default:** `undefined`
 
@@ -225,7 +225,7 @@ toc: true
 
 - **Detail:**
 
-   Set the default value of the filter.
+  Set the default value of the filter.
 
 - **Default:** `undefined`
 
@@ -237,7 +237,7 @@ toc: true
 
 - **Detail:**
 
-   Set this to order the options in a select control whether ascending (`'asc'`), descending (`'desc'`) or in the order provided by the server (`'server'`).
+  Set this to order the options in a select control whether ascending (`'asc'`), descending (`'desc'`) or in the order provided by the server (`'server'`).
 
 - **Default:** `'asc'`
 
@@ -249,7 +249,7 @@ toc: true
 
 - **Detail:**
 
-   Set to true if you want to use the starts with search mode.
+  Set to true if you want to use the starts with search mode.
 
 - **Default:** `false`
 
@@ -261,7 +261,7 @@ toc: true
 
 - **Detail:**
 
-   Set to true if you want to use the strict search mode.
+  Set to true if you want to use the strict search mode.
 
 - **Default:** `false`
 
@@ -289,7 +289,7 @@ toc: true
 
 ### clearFilterControl
 
-* Clear all the controls added by this plugin (similar to showSearchClearButton option).
+* Clear all the controls added by this plugin (similar to `showSearchClearButton` option).
 
 ### toggleFilterControl
 

+ 12 - 12
site/docs/extensions/group-by-v2.md

@@ -27,7 +27,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to group the data by the field passed.
+  Set true to group the data by the field passed.
 
 - **Default:** `false`
 
@@ -39,9 +39,9 @@ toc: true
 
 - **Detail:**
 
-   Set the field name(s) that you want to group the data.
-   For a single field use a `String` e.g. `shape`.
-   For a multiple fields use a `Array` e.g. `["shape", "color"]`.
+  Set the field name(s) that you want to group the data.
+  For a single field use a `String` e.g. `shape`.
+  For a multiple fields use a `Array` e.g. `["shape", "color"]`.
 
 - **Default:** `''`
 
@@ -53,11 +53,11 @@ toc: true
 
 - **Detail:**
 
-   The group row formatter function, takes three parameters:
+  The group row formatter function, takes three parameters:
 
-   * `value`: the group by value.
-   * `idx`: the index of the group.
-   * `data`: an array of rows in the group.
+  * `value`: the group by value.
+  * `idx`: the index of the group.
+  * `data`: an array of rows in the group.
 
 - **Default:** `undefined`
 
@@ -69,7 +69,7 @@ toc: true
 
 - **Detail:**
 
-   Set `true` to allow collapse/expand groups.
+  Set `true` to allow collapse/expand groups.
 
 - **Default:** `false`
 
@@ -81,7 +81,7 @@ toc: true
 
 - **Detail:**
 
-   Set `true` to show icons if the group is collapsed or expanded (see groupByToggle).
+  Set `true` to show icons if the group is collapsed or expanded (see groupByToggle).
 
 - **Default:** `false`
 
@@ -98,7 +98,7 @@ toc: true
   - A variable (array)
   - An Array string e.g. `["circle"]`
   - A function (returns an array) which gets as parameters:
-     - The group key
-     - The entries of the group
+    - The group key
+    - The entries of the group
 
 - **Default:** `[]`

+ 13 - 12
site/docs/extensions/i18n-enhance.md

@@ -20,19 +20,20 @@ toc: true
 
 ### changeLocale
 
-* Change table locale.
+Change table locale.
 
-  * Parameters
-	* String : localeId
-  * Example: <code> $table.bootstrapTable('changeLocale', 'zh_TW')</code>
+* Parameters: `localeId`
+* Example: <code> $table.bootstrapTable('changeLocale', 'zh_TW')</code>
 
 ### changeTitle
 
-* Change column's title.
-  * Parameters
-	* Object : object's key is column field , value is new title.
-  * Example: <code>
-  	$table.bootstrapTable('changeTitle', {
-      columnA.field: 'New column A title.',
-      columnB.field: 'New column B title.'
-    })</code>
+Change the column's title.
+
+* Parameters: `object`, the object's key is a column field, value is the new title.
+* Example:
+{% highlight html %}
+$table.bootstrapTable('changeTitle', {
+  columnA.field: 'New column A title.',
+  columnB.field: 'New column B title.'
+})
+{% endhighlight %}

+ 5 - 5
site/docs/extensions/mobile.md

@@ -26,7 +26,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to check the window size on init.
+  Set true to check the window size on init.
 
 - **Default:** `true`
 
@@ -38,7 +38,7 @@ toc: true
 
 - **Detail:**
 
-   Set the columns fields in this array in order to hide those columns in the cardView mode. Use this way in `data-*` configuration: ` data-columns-hidden="['name', 'description']"` or this way in javascript configuration: `columnsHidden = ['name', 'description']`.
+  Set the columns fields in this array to hide those columns in the card view mode. Use this way in `data-*` configuration: ` data-columns-hidden="['name', 'description']"` or this way in the JavaScript configuration: `columnsHidden = ['name', 'description']`.
 
 - **Default:** `undefined`
 
@@ -50,7 +50,7 @@ toc: true
 
 - **Detail:**
 
-   Set the minimum height when the table will change the view.
+  Set the minimum height when the table will change the view.
 
 - **Default:** `undefined`
 
@@ -62,7 +62,7 @@ toc: true
 
 - **Detail:**
 
-   Set the minimum width when the table will change the view.
+  Set the minimum width when the table will change the view.
 
 - **Default:** `562`
 
@@ -74,6 +74,6 @@ toc: true
 
 - **Detail:**
 
-   Set true to change the view between card and table view depending on width and height given.
+  Set true to change the view between the card and table view depending on the width and height given.
 
 - **Default:** `false`

+ 16 - 16
site/docs/extensions/multiple-sort.md

@@ -26,7 +26,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to allow the multiple sort.
+  Set true to allow the multiple sort.
 
 - **Default:** `false`
 
@@ -38,7 +38,7 @@ toc: true
 
 - **Detail:**
 
-   Set false to hide multiple sort UI button.
+  Set false to hide multiple sort UI button.
 
 - **Default:** `true`
 
@@ -50,7 +50,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to enable strict sorting. This means that strings will be compared and ordered using toLowerCase.
+  Set true to enable strict sorting. This means that strings will be compared and ordered using toLowerCase.
 
 - **Default:** `false`
 
@@ -62,7 +62,7 @@ toc: true
 
 - **Detail:**
 
-   Set one or multiple sort priority. Example: '[{"sortName": "forks_count","sortOrder":"desc"},{"sortName":"stargazers_count","sortOrder":"desc"}]'
+  Set one or multiple sort priority. Example: '[{"sortName": "forks_count","sortOrder":"desc"},{"sortName":"stargazers_count","sortOrder":"desc"}]'
 
 - **Default:**null
 
@@ -79,7 +79,7 @@ toc: true
 
 - **Detail:**
 
-   Force multiple sort table (usable after manual data changes).
+  Force multiple sort table (usable after manual data changes).
 
 
 ### multiSort
@@ -88,19 +88,19 @@ toc: true
 
 - **Detail:**
 
-   Set one or multiple sort priority
+  Set one or multiple sort priority
 
-   Example:
-   ```
+  Example:
+  ```
   [
-    {
-      "sortName": "forks_count",
-      "sortOrder": "desc"
-    },
-    {
-      "sortName": "stargazers_count",
-      "sortOrder": "asc"
-    }
+  {
+  "sortName": "forks_count",
+  "sortOrder": "desc"
+  },
+  {
+  "sortName": "stargazers_count",
+  "sortOrder": "asc"
+  }
   ]
   ```
 

+ 3 - 3
site/docs/extensions/page-jump-to.md

@@ -1,7 +1,7 @@
 ---
 layout: docs
 title: Table Page Jump To
-description: Table Page Jump To extension of Bootstrap Table.
+description: Table Page Jump To the extension of Bootstrap Table.
 group: extensions
 toc: true
 ---
@@ -27,7 +27,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to enable show 'jump to page'. Can be defined via `data-show-jump-to` HTML attributes.
+  Set true to enable show 'jump to page'. Can be defined via `data-show-jump-to` HTML attributes.
 
 - **Default:** `false`
 
@@ -39,7 +39,7 @@ toc: true
 
 - **Detail:**
 
-   Show 'jump to page' only if the total page is greater than or equal to the set value.
+  Show 'jump to page' only if the total page is greater than or equal to the set value.
 
 - **Default:** `0`
 

+ 17 - 17
site/docs/extensions/pipeline.md

@@ -6,45 +6,45 @@ group: extensions
 toc: true
 ---
 
-This plugin enables client side data caching for server side requests which will
+This plugin enables client-side data caching for server-side requests which will
 eliminate the need to issue a new request every page change. This will allow
 for a performance balance for a large data set between returning all data at once
-(client side paging) and a new server side request (server side paging).
+(client-side paging) and a new server-side request (server-side paging).
 
 There are two new options:
-- usePipeline: enables this feature
-- pipelineSize: the size of each cache window
+- `usePipeline`: enables this feature
+- `pipelineSize`: the size of each cache window
 
 The size of the pipeline must be evenly divisible by the current page size. This is
 assured by rounding up to the nearest evenly divisible value. For example, if
-the pipeline size is 4990 and the current page size is 25, then pipeline size will
+the pipeline size is 4990 and the current page size is 25, then the pipeline size will
 be dynamically set to 5000.
 
 The cache windows are computed based on the pipeline size and the total number of rows
-returned by the server side query. For example, with pipeline size 500 and total rows
+returned by the server-side query. For example, with pipeline size 500 and total rows
 1300, the cache windows will be:
 
 [{'lower': 0, 'upper': 499}, {'lower': 500, 'upper': 999}, {'lower': 1000, 'upper': 1499}]
 
-Using the limit (i.e. the pipelineSize) and offset parameters, the server side request
+Using the limit (i.e. the `pipelineSize`) and offset parameters, the server-side request
 **MUST** return only the data in the requested cache window **AND** the total number of rows.
-To wit, the server side code must use the offset and limit parameters to prepare the response
+To wit, the server-side code must use the offset and limit parameters to prepare the response
 data.
 
 On a page change, the new offset is checked if it is within the current cache window. If so,
-the requested page data is returned from the cached data set. Otherwise, a new server side
+the requested page data is returned from the cached data set. Otherwise, a new server-side
 request will be issued for the new cache window.
 
 The current cached data is only invalidated on these events:
 
- - sorting
- - searching
- - page size change
- - page change moves into a new cache window
+- sorting
+- searching
+- page size change
+- page change moves into a new cache window
 
 There are two new events:
-- cached-data-hit.bs.table: issued when cached data is used on a page change
-- cached-data-reset.bs.table: issued when the cached data is invalidated and new server side request is issued
+- `cached-data-hit.bs.table`: issued when cached data is used on a page change
+- `cached-data-reset.bs.table`: issued when the cached data is invalidated and the new server-side request is issued
 
 ## Usage
 
@@ -76,8 +76,8 @@ There are two new events:
 
 ### onCachedDataHit(cached-data-hit.bs.table)
 
-* Fires when paging was able to use the locally cached data.
+* Fires when paging can use the locally cached data.
 
 ### onCachedDataReset(cached-data-reset.bs.table)
 
-* Fires when the locally cached data needed to be reset (i.e. on sorting, searching, page size change or paged out of current cache window)
+* Fires when the locally cached data needs to be reset (i.e. on sorting, searching, page size change or page out of the current cache window).

+ 7 - 7
site/docs/extensions/reorder-columns.md

@@ -7,7 +7,7 @@ toc: true
 ---
 
 Dependence:
-* [dragTable](https://github.com/akottr/dragtable/) v2.0.14 (must include the css file)
+* [dragTable](https://github.com/akottr/dragtable/) v2.0.14 (must include the CSS file)
 * [jquery-ui](https://code.jquery.com/ui/) v1.11
 
 
@@ -34,7 +34,7 @@ Dependence:
 
 - **Detail:**
 
-   Set true to allow the reorder feature.
+  Set true to allow the reorder feature.
 
 - **Default:** `false`
 
@@ -46,7 +46,7 @@ Dependence:
 
 - **Detail:**
 
-   Allow to drag only the rows that have the css class as attribute.
+  Allow to drag only the rows that have the CSS class as an attribute.
 
 - **Default:** `null`
 
@@ -58,7 +58,7 @@ Dependence:
 
 - **Detail:**
 
-   Moving only the header. Recommended for very large tables (cells > 1000)
+  Moving only the header. Recommended for very large tables (cells > 1000)
 
 - **Default:** `10`
 
@@ -66,7 +66,7 @@ Dependence:
 
 ### onReorderColumn(reorder-column.bs.table)
 
-Fired when the column was dropped, receive as parameter the new header fields order.
+Fired when the column was dropped, receive as a parameter the new header fields order.
 
 ## Methods
 
@@ -76,5 +76,5 @@ Fired when the column was dropped, receive as parameter the new header fields or
 
 - **Detail:**
 
-   Reorders the the columns by the given object.
-   The Object key has to be the [field](https://bootstrap-table.com/docs/api/column-options/#field) and the value is the column index (starts by 0).
+  Reorders the columns by the given object.
+  The Object key has to be the [field](https://bootstrap-table.com/docs/api/column-options/#field) and the value is the column index (starts with 0).

+ 14 - 14
site/docs/extensions/reorder-rows.md

@@ -32,7 +32,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   Set true to allow the reorder feature.
+  Set true to allow the reorder feature.
 
 - **Default:** `false`
 
@@ -44,11 +44,11 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-  Pass a function that will be called as a row is over another row. If the function returns true, allow dropping on that row, otherwise not. The function takes 4 parameters:
-   - the dragged row data
-   - the data of the row under the cursor
-   - the dragged row
-   - the row under the cursor
+  Pass a function that will be called as a row over another row. If the function returns true, allow dropping on that row, otherwise not. The function takes 4 parameters:
+  - the dragged-row data
+  - the data of the row under the cursor
+  - the dragged row
+  - the row under the cursor
 
   It returns a boolean: true allows the drop, false doesnโ€™t allow it.
 - **Default:** `null`
@@ -73,7 +73,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   This is the style that is assigned to the row during drag. There are limitations to the styles that can be associated with a row (such as you can't assign a border well you can, but it won't be displayed).
+  This is the style that is assigned to the row during drag. There are limitations to the styles that can be associated with a row (such as you can't assign a border well you can, but it won't be displayed).
 
 - **Default:** `null`
 
@@ -85,7 +85,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   This class is added for the duration of the drag and then removed when the row is dropped. It is more flexible than using onDragStyle since it can be inherited by the row cells and other content.
+  This class is added for the duration of the drag and then removed when the row is dropped. It is more flexible than using onDragStyle since it can be inherited by the row cells and other content.
 
 - **Default:** `reorder-rows-on-drag-class`
 
@@ -97,7 +97,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   This is the style that is assigned to the row when it is dropped. As for onDragStyle, there are limitations to what you can do. Also this replaces the original style, so again consider using onDragClass which is simply added and then removed on drop.
+  This is the style that is assigned to the row when it is dropped. As for onDragStyle, there are limitations to what you can do. Also, this replaces the original style, so again consider using onDragClass which is simply added and then removed on drop.
 
 - **Default:** `null`
 
@@ -109,7 +109,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   Pass a function that will be called when the user starts dragging. The function takes 1 parameter: the row which the user has started to drag.
+  Pass a function that will be called when the user starts dragging. The function takes 1 parameter: the row which the user has started to drag.
 
 - **Default:** `empty function`
 
@@ -121,7 +121,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   Pass a function that will be called when the row is dropped. The function takes 1 parameter:  the row that was dropped.
+  Pass a function that will be called when the row is dropped. The function takes 1 parameter:  the row that was dropped.
 
 - **Default:** `empty function`
 
@@ -133,9 +133,9 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   This is the cursor element.
+  This is the cursor element.
 
-   **Note: This option is mainly used to adapt to the `TableDnD` plugin. Under no special circumstances, please do not modify the default value.**
+  **Note: This option is mainly used to adapt to the `TableDnD` plugin. Under no special circumstances, please do not modify the default value.**
 
 - **Default:** `>tbody>tr>td:not(.bs-checkbox)`
 
@@ -147,7 +147,7 @@ if you want you can include the bootstrap-table-reorder-rows.css file to use the
 
 - **Detail:**
 
-   This function must be use if your `tr` elements won't have the `id` attribute. If your `tr` elements don't have the `id` attribute this plugin don't fire the onDrop event.
+  This function must be used if your `tr` elements won't have the `id` attribute. If your `tr` elements don't have the `id` attribute this plugin doesn't fire the onDrop event.
 
 - **Default:** `false`
 

+ 2 - 2
site/docs/extensions/resizable.md

@@ -28,10 +28,10 @@ Dependence: [jquery-resizable-columns](https://github.com/dobtco/jquery-resizabl
 
 - **Detail:**
 
-   Set true to allow the resize in each column.
+  Set true to allow the resize in each column.
 
 - **Default:** `false`
 
 ## Known issues
 
-- **This plugin does not work when data-height is set.**
+- **This plugin does not work when the `height` is set.**

+ 5 - 5
site/docs/extensions/sticky-header.md

@@ -6,7 +6,7 @@ group: extensions
 toc: true
 ---
 
-This is an extension which provides a sticky header for the table when scrolling.
+This is an extension that provides a sticky header for the table when scrolling.
 
 ## Usage
 
@@ -29,7 +29,7 @@ This is an extension which provides a sticky header for the table when scrolling
 
 - **Detail:**
 
-   Set true to use sticky header.
+  Set true to use a sticky header.
 
 - **Default:** `false`
 
@@ -41,7 +41,7 @@ This is an extension which provides a sticky header for the table when scrolling
 
 - **Detail:**
 
-   Set the left offset of the sticky header container. If the body padding left is `60px`, this value would be `60`.
+  Set the left offset of the sticky header container. If the body padding left is `60px`, this value would be `60`.
 
 - **Default:** `0`
 
@@ -53,7 +53,7 @@ This is an extension which provides a sticky header for the table when scrolling
 
 - **Detail:**
 
-   Set the right offset of the sticky header container. If the body padding right is `60px`, this value would be `60`.
+  Set the right offset of the sticky header container. If the body padding right is `60px`, this value would be `60`.
 
 - **Default:** `0`
 
@@ -65,6 +65,6 @@ This is an extension which provides a sticky header for the table when scrolling
 
 - **Detail:**
 
-   Set the Y offset from the top of the window to pin the sticky header. If there is a fixed navigation bar with a height of `60px`, this value would be `60`.
+  Set the Y offset from the top of the window to pin the sticky header. If there is a fixed navigation bar with a height of `60px`, this value would be `60`.
 
 - **Default:** `0`

+ 6 - 6
site/docs/extensions/toolbar.md

@@ -26,7 +26,7 @@ toc: true
 
 - **Detail:**
 
-   Set true to allow the advanced search.
+  Set true to allow the advanced search.
 
 - **Default:** `false`
 
@@ -38,7 +38,7 @@ toc: true
 
 - **Detail:**
 
-   Set the action of the form (pop-up).
+  Set the action of the form (pop-up).
 
 - **Default:** `''`
 
@@ -50,7 +50,7 @@ toc: true
 
 - **Detail:**
 
-   Must be set to know the id form.
+  Must be set to know the id form.
 
 - **Default:** `advancedSearch`
 
@@ -62,7 +62,7 @@ toc: true
 
 - **Detail:**
 
-   Set the id of the table to create the pop-up form. Required.
+  Set the id of the table to create the pop-up form. Required.
 
 - **Default:** `''`
 
@@ -78,7 +78,7 @@ toc: true
 
 - **Detail:**
 
-   Text of the close button
+  Text of the close button
 
 - **Default:** `function () { return "Close" }`
 
@@ -86,6 +86,6 @@ toc: true
 
 - **Detail:**
 
-   Title of the advanced search modal
+  Title of the advanced search modal
 
 - **Default:** `function () { return "Advanced search" }`

+ 2 - 2
site/docs/extensions/treegrid.md

@@ -28,7 +28,7 @@ Dependence: [jquery-treegrid](https://github.com/maxazan/jquery-treegrid) v0.3.0
 
 - **Detail:**
 
-   Set `true` to enable the tree grid.
+  Set `true` to enable the tree grid.
 
 - **Default:** `false`
 
@@ -40,7 +40,7 @@ Dependence: [jquery-treegrid](https://github.com/maxazan/jquery-treegrid) v0.3.0
 
 - **Detail:**
 
-   Overwrite the default idField to `'id'`.
+  Overwrite the default idField to `'id'`.
 
 - **Default:** `'id'`
 

+ 1 - 1
src/extensions/auto-refresh/bootstrap-table-auto-refresh.js

@@ -52,7 +52,7 @@ $.BootstrapTable = class extends $.BootstrapTable {
               ${this.options.showButtonIcons ? Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.autoRefresh) : ''}
               ${this.options.showButtonText ? this.options.formatAutoRefresh() : ''}
             </button>
-           `,
+          `,
           event: this.toggleAutoRefresh
         }
       })

+ 18 - 18
src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

@@ -49,15 +49,15 @@ const theme = {
             <div class="modal-content">
                 <div class="modal-header">
                     <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
-                     <h4 class="modal-title" id="%sLabel">%s</h4>
+                    <h4 class="modal-title" id="%sLabel">%s</h4>
                 </div>
                 <div class="modal-body">
                     <div class="bootstrap-table">
                         <div class="fixed-table-toolbar">
                             <div class="bars">
                                 <div id="toolbar">
-                                     <button id="add" type="button" class="btn btn-default">%s %s</button>
-                                     <button id="delete" type="button" class="btn btn-default" disabled>%s %s</button>
+                                  <button id="add" type="button" class="btn btn-default">%s %s</button>
+                                  <button id="delete" type="button" class="btn btn-default" disabled>%s %s</button>
                                 </div>
                             </div>
                         </div>
@@ -65,9 +65,9 @@ const theme = {
                             <table id="multi-sort" class="table">
                                 <thead>
                                     <tr>
-                                        <th></th>
-                                         <th><div class="th-inner">%s</div></th>
-                                         <th><div class="th-inner">%s</div></th>
+                                      <th></th>
+                                      <th><div class="th-inner">%s</div></th>
+                                      <th><div class="th-inner">%s</div></th>
                                     </tr>
                                 </thead>
                                 <tbody></tbody>
@@ -76,8 +76,8 @@ const theme = {
                     </div>
                 </div>
                 <div class="modal-footer">
-                     <button type="button" class="btn btn-default" data-dismiss="modal">%s</button>
-                     <button type="button" class="btn btn-primary multi-sort-order-button">%s</button>
+                  <button type="button" class="btn btn-default" data-dismiss="modal">%s</button>
+                  <button type="button" class="btn btn-primary multi-sort-order-button">%s</button>
                 </div>
             </div>
         </div>
@@ -104,8 +104,8 @@ const theme = {
                         <div class="fixed-table-toolbar">
                             <div class="bars">
                                 <div id="toolbar" class="pb-3">
-                                     <button id="add" type="button" class="btn btn-secondary">%s %s</button>
-                                     <button id="delete" type="button" class="btn btn-secondary" disabled>%s %s</button>
+                                  <button id="add" type="button" class="btn btn-secondary">%s %s</button>
+                                  <button id="delete" type="button" class="btn btn-secondary" disabled>%s %s</button>
                                 </div>
                             </div>
                         </div>
@@ -113,9 +113,9 @@ const theme = {
                             <table id="multi-sort" class="table">
                                 <thead>
                                     <tr>
-                                        <th></th>
-                                         <th><div class="th-inner">%s</div></th>
-                                         <th><div class="th-inner">%s</div></th>
+                                      <th></th>
+                                      <th><div class="th-inner">%s</div></th>
+                                      <th><div class="th-inner">%s</div></th>
                                     </tr>
                                 </thead>
                                 <tbody></tbody>
@@ -150,8 +150,8 @@ const theme = {
                         <div class="fixed-table-toolbar">
                             <div class="bars">
                                 <div id="toolbar" class="pb-3">
-                                     <button id="add" type="button" class="btn btn-secondary">%s %s</button>
-                                     <button id="delete" type="button" class="btn btn-secondary" disabled>%s %s</button>
+                                  <button id="add" type="button" class="btn btn-secondary">%s %s</button>
+                                  <button id="delete" type="button" class="btn btn-secondary" disabled>%s %s</button>
                                 </div>
                             </div>
                         </div>
@@ -159,9 +159,9 @@ const theme = {
                             <table id="multi-sort" class="table">
                                 <thead>
                                     <tr>
-                                        <th></th>
-                                         <th><div class="th-inner">%s</div></th>
-                                         <th><div class="th-inner">%s</div></th>
+                                      <th></th>
+                                      <th><div class="th-inner">%s</div></th>
+                                      <th><div class="th-inner">%s</div></th>
                                     </tr>
                                 </thead>
                                 <tbody></tbody>

+ 1 - 1
src/locale/README.md

@@ -274,4 +274,4 @@ Table bellow is sorted ascending by language code. If case of add new translatio
 | Chinese (Traditional, Macao S.A.R.)                            | zh-MO          |            | missing        |
 | Chinese (Simplified, Singapore)                                | zh-SG          |            | missing        |
 | Chinese (Traditional, Taiwan)                                  | zh-TW          |            |                |
-| Zulu (South Africa)                                            | zu-ZA          |            | missing        |
+| Zulu (South Africa)                                            | zu-ZA          |            | missing        |

+ 1 - 1
src/themes/bootstrap-table/bootstrap-table.json

@@ -495,4 +495,4 @@
     "showCodes": true,
     "gridSize": 16
   }
-}
+}

+ 5 - 0
yarn.lock

@@ -3183,6 +3183,11 @@ ecc-jsbn@~0.1.1:
     jsbn "~0.1.0"
     safer-buffer "^2.1.0"
 
+editorconfig-checker@^5.1.5:
+  version "5.1.5"
+  resolved "https://registry.yarnpkg.com/editorconfig-checker/-/editorconfig-checker-5.1.5.tgz#1d2ae86c0899e05a3296b89db91f14adb7b41d65"
+  integrity sha512-l2QifQhu33enwAauVdwT0oBPz8xdCHOZ7jImuUNV/3AR3Dg26jPAVPdHeKzuf1qpMZTfnuOONqLlpSIEFP33Ig==
+
 electron-to-chromium@^1.4.601:
   version "1.4.612"
   resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.612.tgz#350c6fd4201d677307519b931949fa64dae6a5cc"