Highlighted Comments Not Visible in PlateStatic Mode #4145
Unanswered
ganeshrvel
asked this question in
Q&A
Replies: 1 comment
-
I can see the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a table where each cell renders a Plate editor. Since rendering multiple Plate editors within table cells leads to
Error: Maximum update depth exceeded
, I started usingPlateStatic
for non-editable (preview) mode, as suggested here: [Issue #3773](#3773).For rendering the Plate editor in preview mode, I use
CommentLeafStatic
. Everything works fine, except that I'm unable to see the highlighted text inPlateStatic
.When I try this implementation, it throws the following error:
Error Message:
It seems like
useCommentLeafState
depends on Plate's context, which might not be available inPlateStatic
mode.Are there any examples of rendering highlighted comments in
PlateStatic
? Is there an alternative approach to achieve this in read-only mode?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions