Closed ghost closed 9 years ago
select
and textarea
values aren't stringified.
I can't understand from this source why contenteditable
shouldn't be stringified. Could you provide any details?
Ignored. In some cases this attribute ends up like contentEditable=""
and shouldn't be set at all. There are other issues as well. See my issue ticket about this attribute and inherit
And also sometimes value has to be set before contentEditable to work and vice versa. Also in table rows this attr can cause issues
"SSR issues", "In some cases", "There are other issues as well" — it's not a good description. Please attach example of non-working code!
Contenteditable
should be ignored during SSR.Reference: https://github.com/ractivejs/ractive/blob/dev/src/virtualdom/items/Element/prototype/toString.js#L34-L37
And should you escape the value of a
textarea
? Because after what I understand, both select and textarea values shouldn't be stringified.