You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been digging through the code, and I'm looking for a way to extend the editor with a custom widget. Looking for something similar to the way you can extend Quill.js with custom inline embeds. Any documentation or ideas on how i might go about that?
ttlg, dasmikko, wangbo4020, delay, kimbakcho and 5 more
If you’re looking for supporting more styles then there is no API for that at this point, unfortunately.
For very common styles (e.g. indentation, color, alignment) you have an option of extending existing framework and submitting your changes as a pull request though. It is not a trivial task of course.
Ideally I would like to support this use case in some form, just need to figure out a good interface for it.
Hi, I'm interested in using Zefyr but would need the ability to customise the attributes used in the Notus documents and also how the new custom attributes are displayed using Zefyr. I am currently testing out ProseMirror for our web application and saving the resulting formatted text as markdown. So our use case would only work once a markdown decoder is implemented but would be happy to contribute towards this as well. We are using a very slimmed down version of formatting with only the need for basic inline styles (bold, italic) and lists but have also added a custom inline style of underline. We're able to do this because you can set up the ProseMirror editor instance with a customisable config schema which dictates the blocks and inline styles allowed. Was thinking this could be a good way to go for Zefyr. Would you be open to a PR which implements this if I could get one coded up?
@ambrose-gladwell-sonocent have you seen #191?
Looks like the author doesn't have a lot of time for zefyr lately 🤷♂️
you can fork and add the markdown pr, image support isn't there yet I think though
ambrose-gladwell-sonocent commented on Apr 16, 2020
@CanRau Yeh, I had a look and would be awesome if it got merged. I hoped that wasn't the case but yeh I think I'll be creating a fork to do this work. Thanks
Activity
pulyaevskiy commentedon Sep 1, 2018
If you’re looking for supporting more styles then there is no API for that at this point, unfortunately.
For very common styles (e.g. indentation, color, alignment) you have an option of extending existing framework and submitting your changes as a pull request though. It is not a trivial task of course.
Ideally I would like to support this use case in some form, just need to figure out a good interface for it.
ambrose-gladwell-sonocent commentedon Apr 15, 2020
Hi, I'm interested in using Zefyr but would need the ability to customise the attributes used in the Notus documents and also how the new custom attributes are displayed using Zefyr. I am currently testing out ProseMirror for our web application and saving the resulting formatted text as markdown. So our use case would only work once a markdown decoder is implemented but would be happy to contribute towards this as well. We are using a very slimmed down version of formatting with only the need for basic inline styles (bold, italic) and lists but have also added a custom inline style of underline. We're able to do this because you can set up the ProseMirror editor instance with a customisable config schema which dictates the blocks and inline styles allowed. Was thinking this could be a good way to go for Zefyr. Would you be open to a PR which implements this if I could get one coded up?
CanRau commentedon Apr 16, 2020
@ambrose-gladwell-sonocent have you seen #191?
Looks like the author doesn't have a lot of time for zefyr lately 🤷♂️
you can fork and add the markdown pr, image support isn't there yet I think though
ambrose-gladwell-sonocent commentedon Apr 16, 2020
@CanRau Yeh, I had a look and would be awesome if it got merged. I hoped that wasn't the case but yeh I think I'll be creating a fork to do this work. Thanks