Gareth Bowen a écrit :> The inplace editor encodes characters when going in to edit mode as
> shown in http://dev.rubyonrails.org/ticket/3534, opened over a year
> ago. Are there any plans to roll the patch into trunk and close this
> issue?
IPE has undergone a full rewrite recently and is currently being heaped
a motherlode of tests on. It should make it into Scripty SVN fairly soon.
However, the fact IS that the purpose of IPE is to edit the raw contents
of your element, which means its HTML if it contains any. There''s no
HTML conversion baked-in, and I don''t feel there should be. If
you''re
unhappy with the entities being rendered as is, use direct characters
for the unbreakable spaces (decimal codepoint 160, IIRC).
More generally, your -based issue is wrong: it alters the value to
induce visibility. The best way would be to style the element with a
custom class requiring width and height, and perhaps remove this class
when the element is not empty (using the onComplete callback).
--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---