Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I support solidjs? Can you implement a slate-solid? #5588

Open
solid-component opened this issue Jan 10, 2024 · 9 comments
Open

How do I support solidjs? Can you implement a slate-solid? #5588

solid-component opened this issue Jan 10, 2024 · 9 comments
Labels

Comments

@solid-component
Copy link

I want to write an editor in solidjs and slate, but slate only has a Slate-React component, can I write a Slate-solid component based on Slate-React?

@adjourn
Copy link
Contributor

adjourn commented Jan 13, 2024

Not really, JSX is where the similarities end..

  • Rendering paradigms couldn't be more different
  • Solid doesn't have synthetic event system on top of native events

You could probably build it on top of slate-react to reuse some of the code but be prepared to rewrite all the components and everything to do with events but.. I'm afraid this is the layer where bulk of the WYSIWYG editor difficulties and bugs are, I would not recommend it as a solo project.

@dylans
Copy link
Collaborator

dylans commented Feb 9, 2024

There's slate-angular as an example of a non-React version of Slate. There's also slate-vue though it is not maintained as far as I can tell.

I wouldn't be opposed to introducing a slate-solid (or other variants) to slate itself, but we really need to add a good test suite for slate-react and anything new.

@Noobulater
Copy link

Noobulater commented Jul 14, 2024

I'd contribute to a bounty to get this library working for solidjs. Built out a tech stack for preact using it, but have recently migrated to solidjs

@bmingles
Copy link
Contributor

bmingles commented Sep 3, 2024

Have you seen at this repo? https://github.com/poudels14/slate-solid

Haven’t tested but looks like someone has at least started this idea.

@Noobulater
Copy link

Have you seen at this repo? https://github.com/poudels14/slate-solid

Haven’t tested but looks like someone has at least started this idea.

Yeah, unfortunately the repo broke somewhere along the development of solid, been a while so I don't remember which version exactly. Tried to pay a freelancer to clean it up, but their attempt was wildly unsuccessful, and I'm just wanting to throw money at the conversion rather than learn or attempt it myself.

@bmingles
Copy link
Contributor

@Noobulater if you ever decide to issue a bounty I’d be interested in a link to the details.

@Noobulater
Copy link

Noobulater commented Sep 20, 2024

@Noobulater if you ever decide to issue a bounty I’d be interested in a link to the details.

@bmingles If this had a functional equivalent in solid for the following, I'd easily be willing to drop $ usd on it. If that sounds reasonable we can discuss the requirements in a more formal way.

@bmingles
Copy link
Contributor

@Noobulater I'd be interested in talking about this more formally. My linkedin profile should be visible on my github profile if you want to connect with me there, or let me know how I can contact you elsewhere.

@bmingles
Copy link
Contributor

bmingles commented Dec 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants