We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, widgets are completely removed when they get backspaced. This isn't desired behavior for several types of widgets.
Consider for example a widget that turns a var a = 3; statement into a §a = 3; statement (see Experiments in Code Typography)
var a = 3;
§a = 3;
Pressing backspace while beside the § shouldn't remove it, it should remove the last character that was part of the widget ...§a = 3;->vara = 3;
vara = 3;
There are some cases where this is desirable behavior. So this should probably be implemented as an option for widgets.
The text was updated successfully, but these errors were encountered:
Yeah, this is one of the big open questions in the design right now. How should editing work at the edges of (and within) widgets?
One behaviour I'd like to try is for the source code to appear when the cursor is on or near the widget. Here's a prototype I made for Markdown:
It would be cool to see if we could implement this in a generic way in Moonchild.
Sorry, something went wrong.
Yeah, that looks promising. Is that prototype implemented in Moonchild or as a separate demo? Can I try it out somewhere?
https://github.com/pdubroy/contentworkable/blob/master/examples/contentworkable.html
No branches or pull requests
Right now, widgets are completely removed when they get backspaced. This isn't desired behavior for several types of widgets.
Consider for example a widget that turns a
var a = 3;
statement into a§a = 3;
statement (see Experiments in Code Typography)Pressing backspace while beside the § shouldn't remove it, it should remove the last character that was part of the widget
...
§a = 3;
->vara = 3;
There are some cases where this is desirable behavior. So this should probably be implemented as an option for widgets.
The text was updated successfully, but these errors were encountered: