-
Notifications
You must be signed in to change notification settings - Fork 48
Blocks - Editable links #10
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
Comments
For styling:
|
There are some small fixes to be done, like the styling in the above comment, and adding the functionality for the copy to clipboard button 2023-03-01.15-17-42.mp4 |
Remaining issues:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't edit links. Typing in a link splits the link. Can't remove links
The current behaviour for links is rather crude. They don't behave as typical word processing links. Text inside of links should be editable while preserving the metadata. This behaviour works just fine when applying such an edit for other attributes such as bold.
To the best of my current understanding typing in link should preserver the style. There must be some rule that overrides this behaviour. We need to check the callstack to see what exactly happens when inserting a char in a link.
As for editing links, look at how reddit, or google docs deal with the situation. We should follow the reddit solution. We can make use of the knowhow we have with markers and rectangles to position boxes near a link.
Technical suggestion
Screen.Recording.2022-05-20.at.12.24.06.mov
Join on discord to get advice and help or follow us on YouTube Visual Coding to learn more about the architecture of Visual Editor and other Flutter apps.
The text was updated successfully, but these errors were encountered: