Couchers-org / couchers

The next-generation couch surfing platform. Free forever. Community‑led. Non‑profit. Modern. Chuck us a star :)
https://couchers.org
MIT License
374 stars 77 forks source link

Problem when inserting a hyperlink on mobile using WYSIWYG editor #4164

Open jesseallhands opened 2 years ago

jesseallhands commented 2 years ago

When editing my profile if ai try to add a hyperlink using the WYSIWYG editor, the dialog box that appears and asks for the text and the hyperlink flows off the screen:

Screenshot_20211011-005419_Firefox

In addition to fixing the overflow off-screen issue, would it be possible to automatically populate the "text" box with the selected text?

Would also be nice if hyperlinks were automatically recognized so you didn't need to use the "insert link" function of the editor to get the hyperlink to work (but this is probably unrelated to the functionality of the editor).

lucaslcode commented 2 years ago

I'm getting sick of TUI editor tbh. Might be worth replacing with something more well supported that doesn't have the tab switching to markdown - we can easily implement that ourselves.

dieterpankratz commented 2 years ago

@lucaslcode do you have a particular editor in mind? If you don't mind I could do the replacement.

lucaslcode commented 2 years ago

@dieterpankratz thanks, but this should probably wait until Couchers-org/couchers#2146 is completed as there will be a bunch of merge conflicts.

If you're looking for a good issue, would you like to take a look at https://github.com/Couchers-org/couchers/issues/1481 ? I will leave a comment there summarizing