menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Zefyr

Zefyr rich text editor for Flutter applications

Channels
Team
Show previous messages

September 10, 2020 at 3:57pm
I did have some success a while back, haven't tried it recently though.
Mate I've to implement it like today as im working on a flutter web project. Do you have any alternatives in mind coz I found nothing
But yeah, I wouldn't recommend trying to use it for web in it's current state.
I haven't seen any other rich text editors for Flutter yet. It depends on your needs, really.
I need to have the basic markdown implementations like bold, italics, underline along with H1, h2 and so on if possible
If you need basic inline styling like bold and italic text you may be able to get away with a solution on top of this https://stackoverflow.com/questions/57839668/how-to-change-color-of-particular-text-in-a-text-field-dynamically/57846261#57846261
like-fill
1
does it provide an editor like widget and custom options for style toggles?
nope, this example only shows how to add custom styling to the standard Flutter's input field. You'll need to implement actual logic for applying styles and come up with a format to store this information (could probably use Deltas as well, but may be better to use something simpler).
As I said I will have an update in a few weeks to Zefyr which should improve situation with web platform among other things.
Alright thank you! I wish I could wait for your update but I have a deadline sadly. Cheers

September 29, 2020 at 12:32pm
Hi! (pulyaevskiy). Does Zefyr supports flutter web now?

September 29, 2020 at 6:49pm
There is new version in the works which works better on the Web. See details in https://github.com/memspace/zefyr/issues/409 That said, Flutter for Web itself is missing a few key features, in particular proper rendering of rich text. This makes current experience quite a bit broken. We probably need to wait until the Flutter team lands their engine refactoring to CanvasKit

September 30, 2020 at 12:50pm
Glad to hear that! Thanks for the heads up!

October 2, 2020 at 4:45am
Hi there, is there a way to trim trailing empty new lines for a NotusDocument?

October 25, 2020 at 9:49pm
How to make the tool bar's to be at the bottom of the screen even after closing the app. It just disappears after until I tap on the editor then it'll appear with the keyboard. How can I make it to be at the bottom of even after closing the keyboard?

December 23, 2020 at 2:10am
Today I got some CI/CD set up for a personal hobby project. You can see the result, including a Zefyr editor in the main page, at https://note-maps.web.app
It really doesn't do anything useful yet. It's also never going to provide a standard formatting toolbar. It's probably not a good example of how to use Zefyr. But there it is anyway!

January 3, 2021 at 4:06am
How can I always show the zefyr toolbar