celine
KPCKevin Powell - Community
•Created by celine on 3/17/2024 in #front-end
Next JS MDX
Plugins in mdx do not work. I have configured everything in next-config.mjs and created mdx-components.tsx in the root folder, but plugins refuse to work (all of them).
Environment Information
The table shall look like this
But it simply appear in <p> tags as a raw paragraph and I dont know what's the issue. I came across the same problem in the Next JS repo, however their solutions did not help me.
Expected Behavior
Proper work of all plugins
Browser
Using Chrome Version 122.0.6261.129 (Official Build), (64 bit)
2 replies
KPCKevin Powell - Community
•Created by celine on 2/27/2024 in #front-end
Next JS routing got me confused
5 replies
KPCKevin Powell - Community
•Created by celine on 1/19/2024 in #front-end
How can I fix the issue with garbled characters that appear after selecting files using the input?
In my web application, I have implemented a file input element (<input type="file">) to allow users to select files. After selecting a file (I'm trying to open MS Word files, which are written in cyrillic), the content is displayed in an editable <div>. However, the text shows garbled characters. How can I handle different encodings (if needed) and ensure that the file content is correctly displayed without any garbled characters? Here's the code snippet:
3 replies