-
Notifications
You must be signed in to change notification settings - Fork 152
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
Is this project still active? #659
Comments
I was wondering the same thing! I think the maintainers could really use some help to improve this project. There is a forgotten roadmap that needs some attention. Yesterday I've actually started writing a list of strongly opinionated thoughts and was hoping to post it until next week. Is mostly renaming, simplifying and standardizing stuff. A major tidying up. Maybe we can start a discussion to bring new ideas to the table and share some thoughts? I'd be glad to be a part of this. |
Ok, I've completed my list of suggestions. These are the milestones from the original roadmap I agree with:
And these are what I've come up with:
I also have suggestions about some concepts of the mobiledoc format, but I think it's better to present them in a PR since they are not actually related to the library refactoring. |
I really like all your proposals. Especially the image type and the editor / view mode distinction are things, that I came up with myself. Because of the mobiledoc format being pretty straightforward to render, there is no need for the editor to have separate render functionality. I am pretty sure, that most users will opt for using a separate / custom renderer instead of using the editor to only render the document. I have a few things to add myself, but most of them are related to the actual mobiledoc format, so I'll be happy to add them in the separate issue. |
I would like to expand the one point:
We are integration our RTE based on mobiledoc-kit into a larger CMS and would like to keep using the built-in link markup. However, the links in our CMS have way more properties then just a URL, so we need to a) hook into a link being currently selected (we can already do that for example via |
Yes, it is possible. Ghost's uses its own mouseover event listener that detects an
Are these valid HTML attributes? If so, we just need to extend this array. If not, I don't think it is a good idea. I really like how sections and markups are valid HTML elements, while atoms and cards can be anything the user wants then to be.
Again, you can refer to Ghost's card menu popup. They cleverly use a |
Actually, they are not – at least not really, as they don't make sense in an HTML context (like the page id the link internally points to). I previously had it implemented as atom, but this has the huge disadvantage that you can't directly edit the text + can't use it with other markup (except you want to do nested editors, which are a pain to manage).
I would like to keep that. I would separate the tag + attributes from an additional payload. The payload is ignored when just simply rendering to HTML, except you have a specialized renderer that knows what to do with the payload. We actually have the same thing (sort of) with sections: we would like to separate the styling of a headline from the actual HTML tag – as design and SEO have conflicting interests. So we would just add an attribute to headlines that defines which visual "level" this headline has. I understand that this deviates a bit from some of the core concepts, but if they are fairly easy to implement (and adopt in the format), this would be really great. Because for me, one of the main strengths of mobiledoc is that it is indeed not HTML, but way more structured. This solves a lot of issues like embedding rich content in the text. I would find it weird if everything works smoothly except we have to make these hacks in cases of markup / (core) sections.
I actually quite extensively used their editor before and really love the implementation. This really is a rich text editor for the modern age. My issue was more that I would like to position the popup not just below the start of the line (which iiuc what Ghost does), but I would like to position it beneath the cursor – no matter where it is in the line. |
I think editing an atom value directly like you edit a markup would be great. I also faced this constraint, but just accepted it since it only affects a tiny fraction of the overall experience.
Maybe I didn't understand what you meant, but you can use markups in atoms.
I had a similar use case and solved it using my own renderer. Anyway, I'm strongly against custom payload on markups and sections.
Ghost positions it's toolbar based on the current range. The link input uses a similar approach, but instead of using |
Besides from nesting an editor, I can‘t make part of the text content of an atom bold or italic. I can make the whole atom bold or italic, but I can’t only markup a part of it. |
@ZeeJab I am also curious if this project is still active. I'd like to make contributions to the Ember mobiledoc addons, but some Ember friends suggested I contact you to see if it's still being used actively (and therefore worth the effort of the Ember upgrades). |
We're still using mobiledoc-kit heavily at Ghost. The reason for no activity from our side is because we haven't had to make many changes to it, stable !== non-active/unmaintained 🙂
We don't use the ember addon because we wanted more control over the integration with our app but I'd personally love to see them upgraded, I think it would be useful for existing and new users discovering mobiledoc. |
Hi @donaldsonjulia! As @kevinansfield said, the project is very much maintained and active 😄 The entire https://www.bdg.com/ portfolio runs on mobiledoc-kit, so rest assured the project is stable and battle tested. Happy to have more contributors to the ember addons! Let me know if I can be helpful. |
Any with those two answers, we can close this issue. |
We recently ported our complete internal RTE to use mobiledoc-kit under the hood and I also saw that Ghost switched their editor as well.
I really love this project and would love to see it flourish. It solves a huge amount of issues we had with previous editors. Also I love the idea of doing the spec of the format sort-of separately from the actual implementation.
However, as I was browsing through the open issues + pull request, I sort of noticed that there is not a lot of activity from the side of the maintainers / members. The last release is around 4 months old. So my question: is this project still active? Is there some way we can help?
The text was updated successfully, but these errors were encountered: