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

Add hintText for editor #328

Open
komakur opened this issue Apr 24, 2024 · 8 comments
Open

Add hintText for editor #328

komakur opened this issue Apr 24, 2024 · 8 comments
Labels
question Further information is requested waiting for user feedback

Comments

@komakur
Copy link

komakur commented Apr 24, 2024

Currently it's impossible to set hint text for the editor

@Amir-P
Copy link
Member

Amir-P commented Apr 25, 2024

Have you considered using ’FleatherField’? @komakur

@komakur
Copy link
Author

komakur commented Apr 25, 2024

Have you considered using ’FleatherField’? @komakur

if it gives same functionalities as FleatherEditor I might consider using that.
But I didn't find clear docs about FleatherField

@Amir-P
Copy link
Member

Amir-P commented Apr 25, 2024

if it gives same functionalities as FleatherEditor I might consider using that.
But I didn't find clear docs about FleatherField

Yeah, sorry about that. Documentation needs a lot of improvements.
But, it's exposed by the fleather package and wraps the FleatherEditor with InputDecoration which can be customized.

@Amir-P Amir-P added the question Further information is requested label Apr 25, 2024
@komakur
Copy link
Author

komakur commented Apr 25, 2024

oh, I see now
Thanks a lot)

@komakur
Copy link
Author

komakur commented Apr 25, 2024

@Amir-P the problem now, that the toolbar in FleatherField is always at the bottom, thus is visible when its focused. I think that should be customisable

@Amir-P
Copy link
Member

Amir-P commented Apr 26, 2024

What do you mean by toolbar? Providing a screenshot or video may help. @komakur

@komakur
Copy link
Author

komakur commented Apr 30, 2024

By toolbar I mean toolbar param in FleatherField. You can simply go to FleatherField impl and check the implementation

@Amir-P
Copy link
Member

Amir-P commented Apr 30, 2024

The toolbar param is useful when you want to show toolbar below field but inside the input decorator. If you want your toolbar to be on top, don't use toolbar param of FleatherField and instead add toolbar widget by yourself. For example:

Column(
  children: [
    FleatherToolbar.basic(controller: controller),
    FleatherField(controller: controller),
  ],
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested waiting for user feedback
Projects
None yet
Development

No branches or pull requests

2 participants