Did'nt get comments data in onChange callback function #2996
Unanswered
Muneeb-Ur-Rehman08
asked this question in
Q&A
Replies: 5 comments 2 replies
-
Any update on this ? I am also blocked , I was expecing comments would be saved automatically, but ths not the case |
Beta Was this translation helpful? Give feedback.
2 replies
-
Did you hear from Plate js team? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, I have the solution but I'll charge for it.
…On Thu, Apr 4, 2024, 9:44 AM Dinesh ***@***.***> wrote:
<Plate
plugins={plugins}
onChange={(e:any) => console.log("onChange => ", e)}
value={intialValue}
>
Did you hear from Plate js team?
—
Reply to this email directly, view it on GitHub
<#2996 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BADJ4FVWTBGQYTY4BEWLLXLY3TLBTAVCNFSM6AAAAABDYYEOGKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMBUHAYDQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You have to work with typescript
…On Thu, Apr 4, 2024, 4:23 PM Dinesh ***@***.***> wrote:
How to map it with particular node in the editor?
I have the json I can store It. I want to show the comments when the
specific selection is clicked!
—
Reply to this email directly, view it on GitHub
<#2996 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BADJ4FWPKEBT3HMHIPUYU5TY3UZ4PAVCNFSM6AAAAABDYYEOGKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMBYGQYDG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
interface commentType{
id:string,
value:Array<any>
}
interface comment {
[key: string|number]: commentType
}
const [comments,setComments]=useState<Array<comment>>(comments)
this is the code
On Thu, 4 Apr 2024 at 17:17, Muneeb Ur Rehman ***@***.***>
wrote:
… You have to work with typescript
On Thu, Apr 4, 2024, 4:23 PM Dinesh ***@***.***> wrote:
> How to map it with particular node in the editor?
> I have the json I can store It. I want to show the comments when the
> specific selection is clicked!
>
> —
> Reply to this email directly, view it on GitHub
> <#2996 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BADJ4FWPKEBT3HMHIPUYU5TY3UZ4PAVCNFSM6AAAAABDYYEOGKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TAMBYGQYDG>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions