Hacker News new | past | comments | ask | show | jobs | submit | trueadm's comments login

I work on Svelte 5 and I was also a React engineer on the core team previously FWIW.


You can set the direction of the ElementNode explicitly to define LTR/RTL semantics. By default it’s automatically detected.


Thank you. I see. I guess I'm talking about the playground whereas I guess you're talking about Lexical itself and its API. It would be really nice to have a demo of this working with the API in the playground.


Thank for the detailed input. Would it be possible for you to create a GitHub issue around these (or many issues?) so that the team can track them and fix them. Thanks again!


Sorry, I’m just passing by and don’t want to interact further (I have no vested interest in the space at this time); up to you what you do with it.


We have some important changes landing soon that will make insertions O(1) rather than the current O(n) - so this will greatly improve performance.


ProseMirror is a great choice. Lexical might offer you more mileage if you're working with React (especially React 18 and the new concurrency features) and are happy to invest into a project that is still pre 1.0.


The Lexical playground is one giant kitchen-sink example all written in React. You could check out the code for it locally and `npm run start` and play around with removing/adding plugins. You can also check out some examples on Codesandbox: https://codesandbox.io/s/lexical-rich-text-example-5tncvy


Thanks! Very helpful.


For Meta, or in general? For Meta, there are plenty of teams that require some infra knowledge around these common concepts. It's been fairly straightforward to find a team as a front-end engineer that allows you to excel in these areas at Meta (once you're successful in the interview loops).


It's replacing any previous web text editor UX components that we had in the past (likely DraftJS). We're also building Lexical for iOS which is slowly rolling out across iOS devices too.


Well, I want the previous editor back. In fact, just give me a text area. The current editor breaks the selection and, in turn, the clipboard manager, it doesn't work well with Compose and dead keys, and it sometimes ties itself into a knot, and the text can't be edited anymore.


When pasting links stopped working for me is about when I stopped using Facebook.

It's 2022 and we're reinventing every wheel, but in the browser.

GitHub has a Markdown editor with a paste handler (converting tables and such). It once had a bug. I had to disable handlers in the browser to be able to paste.


A textarea would not work


Very interested to know if there are any plans to support React Native? I’ve been struggling to find a good library that doesn’t require a web view.


It's under consideration, but as of now we need native support for iOS and Android first. React Native doesn't currently support contentEditable.


Check out this answer I used in a previous HN thread:

https://news.ycombinator.com/item?id=31020205


What features in particular are you missing? We haven't really discussed a deadline for 1.0, as we've been trying to take our time making sure each release is impactful and correct.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: