Jacob Cohen-Rosenthal
Jacob Cohen-Rosenthal
same question!
> @jacobcoro Example: https://codesandbox.io/embed/react-markdown-editor-ybpce?fontsize=14&hidenavigation=1&theme=dark I see that's just adding a data-color-mode="dark". I tried that on a parent element as well as on the html element. It isn't working. I'm using...
@jaywcjlove I'll have to make a sandbox tomorrow to show you. But I'm pretty sure what's happening is that the .css files you made for next.js users are only building...
these files should have something like: ```css /* Light Mode */ html[data-color-mode='light'] { --text: #f5841f; } /* Dark Mode */ html[data-color-mode='dark'] { --text: #f39a4d; } .w-md-editor { color: var(--text); }...
I'm guessing that for the non-next builds you are doing some switching of the inline-styles client-side? That approach might not work in next
> I encountered the same issue, so I wrote custom types and decided to share them with the community. I hope it might help someone :) > > Repo: [yjs-types](https://github.com/strangecamelcaselogin/yjs-types),...
@YousefED Have you looked into how this the matrix-files-sdk handles crypto? Very easy to follow code. It might help to take a look at it. https://github.com/vector-im/files-sdk-demo/blob/7b47ef65c5e9bb60f976c9b96a60b0f666f1d4ba/src/MatrixCrypto.ts
> Furthermore, having support for e2ee is nice, but creating a client on top of matrix-js-sdk that supports all UI flows required (cross signing / backups / key management) is...
> "late-joiner"; how can we make it possible for new users to decrypt an existing document? They won't have the keys to decrypt older events (https://github.com/vector-im/element-web/issues/2996 might be relevant) Could...
I would also suggest upgrading the version you are using of the `matrix-js-sdk` as it is very out of date. The issue you had with needing to explicitly require and...