Skip to content

Commit f160ba4

Browse files
committed
DOC-3246: Docs tweaks
1 parent 7881557 commit f160ba4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

modules/ROOT/pages/comments-callback-mode.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ include::partial$configuration/tinycomments_resolve.adoc[leveloffset=+1]
6767

6868
include::partial$configuration/tinycomments_fetch.adoc[leveloffset=+1]
6969

70+
include::partial$configuration/user_id.adoc[leveloffset=+1]
71+
7072
include::partial$configuration/fetch_users.adoc[leveloffset=+1]
7173

7274
include::partial$configuration/tinycomments_fetch_author_info.adoc[leveloffset=+1]

modules/ROOT/pages/userlookup.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is useful when building features that rely on user context, such as comment
1111
Follow the steps below to configure and use the `userLookup` API.
1212

1313
[[step-1-set-the-current-user]]
14-
=== 1. Set the current user ID
14+
=== 1. Set the current user_id
1515

1616
The first step is to tell the editor which user is currently active. This is done using the `+user_id+` initialization option.
1717

@@ -31,7 +31,7 @@ editor.on('init', () => {
3131

3232
To simulate a backend lookup, define a local object that maps user IDs to their corresponding data.
3333

34-
include::partial$configuration/fetch_users.adoc[]
34+
include::partial$configuration/fetch_users.adoc[leveloffset=+2]
3535

3636
.Example
3737
[source,js]

0 commit comments

Comments
 (0)