]> BookStack Code Mirror - bookstack/commitdiff
Merge pull request #4484 from omahs/patch-1
authorDan Brown <redacted>
Sat, 2 Sep 2023 14:44:01 +0000 (15:44 +0100)
committerGitHub <redacted>
Sat, 2 Sep 2023 14:44:01 +0000 (15:44 +0100)
Fix typos

dev/docs/javascript-code.md
dev/docs/javascript-public-events.md
readme.md

index 9820839a45d1c094e72908dd7e9e2a6ef6c03a0e..ba7d799724896700b53b70e4172697971a995c1c 100644 (file)
@@ -85,18 +85,18 @@ Will result with `this.$opts` being:
 A component has the below shown properties & methods available for use. As mentioned above, most of these should be used within the `setup()` function to make the requirements/dependencies of the component clear.
 
 ```javascript
-// The root element that the compontent has been applied to.
+// The root element that the component has been applied to.
 this.$el
 
-// A map of defined element references within the compontent.
+// A map of defined element references within the component.
 // See "Element References" above.
 this.$refs
 
-// A map of defined multi-element references within the compontent.
+// A map of defined multi-element references within the component.
 // See "Element References" above.
 this.$manyRefs
 
-// Options defined for the compontent.
+// Options defined for the component.
 this.$opts
 
 // The registered name of the component, usually kebab-case.
@@ -160,4 +160,4 @@ window.$components.firstOnElement(element, name);
 
 There are a range of available events that are emitted as part of a public & supported API for accessing or extending JavaScript libraries & components used in the system.
 
-Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).
\ No newline at end of file
+Details on these events can be found in the [JavaScript Public Events file](javascript-public-events.md).
index 1e95dc8c5043a0de3e7b503ed6d9129dfe419585..95300ddd360bc678dd7a434fdf3fc267b9991ab3 100644 (file)
@@ -42,7 +42,7 @@ This event is called before the markdown input editor CodeMirror instance is cre
 
 #### Event Data
 
-- `editorViewConfig` - An [EditorViewConfig](https://codemirror.net/docs/ref/#view.EditorViewConfig) object that will eventially be passed when creating the CodeMirror EditorView instance.
+- `editorViewConfig` - An [EditorViewConfig](https://codemirror.net/docs/ref/#view.EditorViewConfig) object that will eventually be passed when creating the CodeMirror EditorView instance.
 
 ##### Example
 
@@ -252,4 +252,4 @@ window.addEventListener('library-cm6::configure-theme', event => {
     detail.registerHighlightStyle(highlightStyleBuilder);
 });
 ```
-</details>
\ No newline at end of file
+</details>
index 66bf93471a4d68e337b9b6c1cca72b29fe238a65..b4c6f2b3b61cc619c9920d24ffa0089b074f5ed9 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -102,7 +102,7 @@ Security information for administering a BookStack instance can be found on the
 
 If you'd like to be notified of new potential security concerns you can [sign-up to the BookStack security mailing list](https://updates.bookstackapp.com/signup/bookstack-security-updates).
 
-If you would like to report a security concern, details of doing so can [can be found here](https://github.com/BookStackApp/BookStack/blob/development/.github/SECURITY.md).
+If you would like to report a security concern, details of doing so [can be found here](https://github.com/BookStackApp/BookStack/blob/development/.github/SECURITY.md).
 
 ## ♿ Accessibility