News for hackers. Stuff that matters.
Re:Show HN: Edtr.io – Intuitive web editor, open source and ... by fourstar on Saturday February 29, 2020 @05:20PM (#22453580)
Nice. I honestly have been looking for something like this for awhile. All the examples I found with slate were either insufficient or outdated (i.e. canner editor) -- and in a focus on speed (being a solo founder), I couldn't compromise. I'm going to try to implement this for my editor on my site. Would be cool to be able to publish content with custom components (closest I could find for CKEditor [which I'm using] is: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/...) -- but the implementation for that is rather clunky (more so on the render side -- e.g. how do I save the data in my database such that I know which components to call? CSS classes? data attributes?) So the underlying structure of having JSON for the data structure with Slate (and now this) gives me more confidence as a dev.
Re:Show HN: Edtr.io – Intuitive web editor, open source and ... by bhl on Saturday February 29, 2020 @07:32PM (#22454257)
Try ProseMirror. There’s a high learning curve at the beginning, but it’s pretty simple to make custom nodes and plugins once you understand the framework and APIs.
Re:Show HN: Edtr.io – Intuitive web editor, open source and ... by inyono on Saturday February 29, 2020 @05:22PM (#22453594)
Would love to hear from you on how it goes :)