Might be easier to let them click on an element and you pop out an 
'attributes' pane of it or something, that way they can edit the caption in 
there or potentially other editable attributes that you may add over time 
too?


On Monday, January 23, 2017 at 2:55:01 PM UTC-7, Eelco Hoekema wrote:
>
> Hi,
>
> I am trying to create an interactive diagram in Svg, in which it should be 
> possible to edit captions of diagram elements. It's the first time i use 
> Svg, so everything is new to me. 
>
> I need this dialog in which two diagram text attributes can be edited. As 
> far as i can tell i will need to send the keyboard events to the right 
> input field, or rather, filter the events out if an input field is not 
> active. It is somewhat basic. 
>
> Does anyone know of examples, patterns and best practices for handling 
> text input when using Elm with Svg?
>
> thanks,
>
> eelco 
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to