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

Allow to manually resize the TextEditor widget #3506

Open
maximlt opened this issue May 10, 2022 · 2 comments
Open

Allow to manually resize the TextEditor widget #3506

maximlt opened this issue May 10, 2022 · 2 comments
Labels
type: enhancement Minor feature or improvement to an existing feature

Comments

@maximlt
Copy link
Member

maximlt commented May 10, 2022

The TextEditor widget should allow an app visitor to resize it manually. The use case motivating this feature request is to be able to extend vertically the widget when the text being written/edited gets too long and no longer fits entirely in the widget.

A drag handle should be added to the widget, as is available in a standard textarea HTML element:
image

@maximlt maximlt added the type: enhancement Minor feature or improvement to an existing feature label May 10, 2022
@hoxbro
Copy link
Member

hoxbro commented Jul 15, 2022

I was looking into this and stumbled on this thread slab/quill#3359. About how quill.js (which TextEditor is based on) is no longer supported.

It seems that Summernote could be a good alternative. Which have the option to resize vertically build-in.

@maximlt
Copy link
Member Author

maximlt commented Jul 15, 2022

The fact that it is no really supported right now is unfortunate, but I think it doesn't necessarily mean that we shouldn't use it. It seems to be still very much used by people, it has really value. Yet, if there's no way to resize the table, or we have to do a super weird thing that is going to be prone to break easily, then I guess that's a valid reason to change!

I haven't had a look around to see what other libraries we could use, Summernote looks like a potential candidate if we need to change.

@philippjfr what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants