-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 bind:text and bind:html support for contenteditable elements #2379
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2379 +/- ##
=========================================
Coverage ? 91.83%
=========================================
Files ? 1
Lines ? 49
Branches ? 0
=========================================
Hits ? 45
Misses ? 4
Partials ? 0 Continue to review full report at Codecov.
|
This is really cool, thank you! A couple of things I noticed testing it out locally:
|
Do you mean something like this?
It seems natural, but the implementation can be unnecessarily complex:
So I feel like it's safer to disallow nested blocks for
I'm really sorry, I should have tested it. |
Are there any concerns left regarding this PR? If not, could I do anything to help get it merged? :-) Thanks for the new bindings! |
This is released in 3.6.0 — the bindings got renamed to |
Fixes #310
Adds a special :text and :html bindings for contenteditable elements.