From 3b10dbc27fc32d737ed4a92e6f2a4b571d797e34 Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Mon, 22 Aug 2022 00:00:15 -0600 Subject: [PATCH 1/3] typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aee8d60..4b3a468 100644 --- a/README.md +++ b/README.md @@ -1859,7 +1859,7 @@ corresponding to when the API was available for use. * **createModel** Creates a new model to be used in Anki. User must provide the `modelName`, `inOrderFields` and `cardTemplates` to be - used in the model. There are optinal fields `css` and `isCloze`. If not specified, `css` will use the default Anki css and `isCloze` will be equal to `False`. If `isCloze` is `True` then model will be created as Cloze. + used in the model. There are optional fields `css` and `isCloze`. If not specified, `css` will use the default Anki css and `isCloze` will be equal to `False`. If `isCloze` is `True` then model will be created as Cloze. Optionally the `Name` field can be provided for each entry of `cardTemplates`. By default the card names will be `Card 1`, `Card 2`, and so on. @@ -1873,7 +1873,7 @@ corresponding to when the API was available for use. "modelName": "newModelName", "inOrderFields": ["Field1", "Field2", "Field3"], "css": "Optional CSS with default to builtin css", - "isCloze": False, + "isCloze": false, "cardTemplates": [ { "Name": "My Card 1", From 127a34c2d0d084ece71e5d1a7661038fec6f5453 Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Mon, 22 Aug 2022 00:05:19 -0600 Subject: [PATCH 2/3] added warning --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4b3a468..3dd2f9a 100644 --- a/README.md +++ b/README.md @@ -2403,6 +2403,11 @@ corresponding to when the API was available for use. Modify the fields of an exist note. You can also include audio, video, or picture files which will be added to the note with an optional `audio`, `video`, or `picture` property. Please see the documentation for `addNote` for an explanation of objects in the `audio`, `video`, or `picture` array. + > ** Warning ** + > Your Anki browser must not be viewing the note that you are updating, otherwise + > the fields will not update. See [this issue](https://github.com/FooSoft/anki-connect/issues/82) + > for further details. + *Sample request*: ```json { From d9c01327a4c0c5b74ef20edc70fcaf5b7c5d740b Mon Sep 17 00:00:00 2001 From: Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> Date: Mon, 22 Aug 2022 00:06:50 -0600 Subject: [PATCH 3/3] fixed warning message --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3dd2f9a..bd25e8e 100644 --- a/README.md +++ b/README.md @@ -2403,8 +2403,8 @@ corresponding to when the API was available for use. Modify the fields of an exist note. You can also include audio, video, or picture files which will be added to the note with an optional `audio`, `video`, or `picture` property. Please see the documentation for `addNote` for an explanation of objects in the `audio`, `video`, or `picture` array. - > ** Warning ** - > Your Anki browser must not be viewing the note that you are updating, otherwise + > **Warning** + > You must not be viewing the note that you are updating on your Anki browser, otherwise > the fields will not update. See [this issue](https://github.com/FooSoft/anki-connect/issues/82) > for further details.